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
Account Secrets
- Secret Lifecycle
Blueprint
- The Blueprint Object
- Blueprint Lifecycle
- Blueprint Observability
Repository
- The Repository Object
- Repository Lifecycle
Code Scenario
- Code Scenario Lifecycle
- Scenarios Runs
- Custom Scenario Scorer
- Public Scenarios
Benchmark
- Benchmark Lifecycle
- Benchmark Runs
- Public Benchmarks
Repository Lifecycle
Add user-defined manifest to repository inspection.
Create and save a user-defined repository manifest to the latest inspection.
POST
/
v1
/
repositories
/
inspections
/
{id}
/
add_user_manifest
Copy
curl --request POST \
--url https://api.runloop.ai/v1/repositories/inspections/{id}/add_user_manifest \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"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>"
]
}
]
}'
Copy
{
"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>"
]
}
]
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Repo Connection ID
Body
application/json
Response
200 - application/json
OK
The repository manifest contains container configuration and workspace definitions for a repository.
Was this page helpful?
Copy
curl --request POST \
--url https://api.runloop.ai/v1/repositories/inspections/{id}/add_user_manifest \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"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>"
]
}
]
}'
Copy
{
"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>"
]
}
]
}
Assistant
Responses are generated using AI and may contain mistakes.