API Reference
Devbox
- The Devbox Object
- Devbox Lifecycle
- Devbox File Tools
- Devbox Shell Tools
- Devbox Network Tools
- Devbox Persistence Tools
- Devbox Observability Tools
- Devbox Add-ons
Blueprint
- The Blueprint Object
- Blueprint Lifecycle
- Blueprint Observability
Repository
Code Scenario
- Code Scenario Lifecycle
- Scenarios Runs
- Custom Scenario Scorer
- Public Scenarios
Benchmark
- Benchmark Lifecycle
- Benchmark Runs
- Public Benchmarks
Repository Lifecycle
List repository inspections.
List all inspections of a repository connection including automatically generated insights for each inspection.
GET
/
v1
/
repositories
/
{id}
/
inspections
import Runloop from '@runloop/api-client';
const client = new Runloop({
bearerToken: process.env['RUNLOOP_API_KEY'], // This is the default and can be omitted
});
const repositoryInspectionListView = await client.repositories.listInspections('id');
console.log(repositoryInspectionListView.inspections);
{
"inspections": [
{
"commit_sha": "<string>",
"inspected_at": 123,
"repository_manifest": {
"container_config": {
"base_image_name": "<string>",
"setup_commands": [
"<string>"
]
},
"workspaces": [
{
"name": "<string>",
"path": "<string>",
"package_manager": "<string>",
"workspace_setup_commands": [
"<string>"
],
"workspace_refresh_commands": [
"<string>"
],
"dev_commands": {
"install": "<string>",
"build": "<string>",
"test": "<string>",
"lint": "<string>"
},
"required_env_vars": [
"<string>"
]
}
]
},
"status": "invalid",
"blueprint_id": "<string>",
"blueprint_name": "<string>"
}
]
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Repo Connection ID
Response
200 - application/json
OK
The response is of type object
.
Was this page helpful?
import Runloop from '@runloop/api-client';
const client = new Runloop({
bearerToken: process.env['RUNLOOP_API_KEY'], // This is the default and can be omitted
});
const repositoryInspectionListView = await client.repositories.listInspections('id');
console.log(repositoryInspectionListView.inspections);
{
"inspections": [
{
"commit_sha": "<string>",
"inspected_at": 123,
"repository_manifest": {
"container_config": {
"base_image_name": "<string>",
"setup_commands": [
"<string>"
]
},
"workspaces": [
{
"name": "<string>",
"path": "<string>",
"package_manager": "<string>",
"workspace_setup_commands": [
"<string>"
],
"workspace_refresh_commands": [
"<string>"
],
"dev_commands": {
"install": "<string>",
"build": "<string>",
"test": "<string>",
"lint": "<string>"
},
"required_env_vars": [
"<string>"
]
}
]
},
"status": "invalid",
"blueprint_id": "<string>",
"blueprint_name": "<string>"
}
]
}
Assistant
Responses are generated using AI and may contain mistakes.