Runtime pools
Runtime pools API endpoints
/api/agents/{id}/runtime-poolAuthorization
bearerAuth API key via Authorization: Bearer <API_KEY>
In: header
Path Parameters
1 <= lengthRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X PUT "http://localhost:3013/api/agents/string/runtime-pool" \ -H "Content-Type: application/json" \ -d '{ "poolId": "string" }'{
"agent": {
"id": "string",
"name": "string",
"isLead": false,
"status": "idle",
"runtimePoolId": "string",
"runtimeProvisionAttempts": 0,
"runtimeProvisionRetryAt": "string",
"description": "string",
"role": "string",
"capabilities": [],
"claudeMd": "string",
"soulMd": "string",
"identityMd": "string",
"setupScript": "string",
"toolsMd": "string",
"heartbeatMd": "string",
"maxTasks": 1,
"emptyPollCount": 0,
"lastActivityAt": "2019-08-24T14:15:22Z",
"provider": "claude",
"harnessProvider": "claude",
"credentialMissing": [
"string"
],
"credStatus": {
"ready": true,
"missing": [],
"satisfiedBy": "env",
"hint": null,
"liveTest": null,
"latestModel": null,
"reportedAt": 0,
"reportKind": "boot",
"bedrock": null,
"acp": null
},
"avatar": {
"type": "lucide",
"icon": "string",
"color": "string"
},
"createdAt": "2019-08-24T14:15:22Z",
"lastUpdatedAt": "2019-08-24T14:15:22Z"
}
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}/api/controllers/connectAuthorization
bearerAuth API key via Authorization: Bearer <API_KEY>
In: header
Response Body
application/json
application/json
curl -X GET "http://localhost:3013/api/controllers/connect"{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}/api/runtime-controllersAuthorization
bearerAuth API key via Authorization: Bearer <API_KEY>
In: header
Response Body
application/json
application/json
application/json
application/json
curl -X GET "http://localhost:3013/api/runtime-controllers"{
"controllers": [
{
"name": "string",
"kind": "static",
"placement": "builtin",
"config": {},
"id": "string",
"secretConfigKeys": [
"string"
],
"secretConfigError": true,
"status": "online",
"lastSeenAt": "string",
"lastError": "string",
"lastErrorAt": "string",
"createdBy": "string",
"updatedBy": "string",
"createdAt": "string",
"updatedAt": "string"
}
]
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}/api/runtime-controllersAuthorization
bearerAuth API key via Authorization: Bearer <API_KEY>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "http://localhost:3013/api/runtime-controllers" \ -H "Content-Type: application/json" \ -d '{ "name": "string", "kind": "static" }'{
"controller": {
"name": "string",
"kind": "static",
"placement": "builtin",
"config": {},
"id": "string",
"secretConfigKeys": [
"string"
],
"secretConfigError": true,
"status": "online",
"lastSeenAt": "string",
"lastError": "string",
"lastErrorAt": "string",
"createdBy": "string",
"updatedBy": "string",
"createdAt": "string",
"updatedAt": "string"
}
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}/api/runtime-controllers/{id}Authorization
bearerAuth API key via Authorization: Bearer <API_KEY>
In: header
Path Parameters
1 <= lengthResponse Body
application/json
application/json
application/json
application/json
application/json
curl -X DELETE "http://localhost:3013/api/runtime-controllers/string"{
"deleted": true
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}/api/runtime-controllers/{id}Authorization
bearerAuth API key via Authorization: Bearer <API_KEY>
In: header
Path Parameters
1 <= lengthResponse Body
application/json
application/json
application/json
application/json
curl -X GET "http://localhost:3013/api/runtime-controllers/string"{
"controller": {
"name": "string",
"kind": "static",
"placement": "builtin",
"config": {},
"id": "string",
"secretConfigKeys": [
"string"
],
"secretConfigError": true,
"status": "online",
"lastSeenAt": "string",
"lastError": "string",
"lastErrorAt": "string",
"createdBy": "string",
"updatedBy": "string",
"createdAt": "string",
"updatedAt": "string"
}
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}/api/runtime-controllers/{id}Authorization
bearerAuth API key via Authorization: Bearer <API_KEY>
In: header
Path Parameters
1 <= lengthRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "http://localhost:3013/api/runtime-controllers/string" \ -H "Content-Type: application/json" \ -d '{}'{
"controller": {
"name": "string",
"kind": "static",
"placement": "builtin",
"config": {},
"id": "string",
"secretConfigKeys": [
"string"
],
"secretConfigError": true,
"status": "online",
"lastSeenAt": "string",
"lastError": "string",
"lastErrorAt": "string",
"createdBy": "string",
"updatedBy": "string",
"createdAt": "string",
"updatedAt": "string"
}
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}/api/runtime-controllers/{id}/tokenAuthorization
bearerAuth API key via Authorization: Bearer <API_KEY>
In: header
Path Parameters
1 <= lengthResponse Body
application/json
application/json
application/json
application/json
curl -X POST "http://localhost:3013/api/runtime-controllers/string/token"{
"tokenId": "string",
"plaintext": "string",
"expiresAt": "string"
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}/api/runtime-poolsAuthorization
bearerAuth API key via Authorization: Bearer <API_KEY>
In: header
Response Body
application/json
application/json
application/json
application/json
curl -X GET "http://localhost:3013/api/runtime-pools"{
"pools": [
{
"name": "string",
"kind": "static",
"placements": [
"string"
],
"image": "string",
"lifecycle": "idle",
"idleMinutes": null,
"slotsPerRuntime": 1,
"maxRuntimes": null,
"minRuntimes": 0,
"delivery": "poll",
"env": {},
"resources": null,
"ttlSec": null,
"enabled": true,
"id": "string",
"resolvedImage": "string",
"consecutiveFailures": 0,
"circuitOpenUntil": "string",
"lastError": "string",
"lastErrorAt": "string",
"createdBy": "string",
"updatedBy": "string",
"createdAt": "string",
"updatedAt": "string"
}
]
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}/api/runtime-poolsAuthorization
bearerAuth API key via Authorization: Bearer <API_KEY>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "http://localhost:3013/api/runtime-pools" \ -H "Content-Type: application/json" \ -d '{ "name": "string", "kind": "static", "placements": [ "string" ] }'{
"pool": {
"name": "string",
"kind": "static",
"placements": [
"string"
],
"image": "string",
"lifecycle": "idle",
"idleMinutes": null,
"slotsPerRuntime": 1,
"maxRuntimes": null,
"minRuntimes": 0,
"delivery": "poll",
"env": {},
"resources": null,
"ttlSec": null,
"enabled": true,
"id": "string",
"resolvedImage": "string",
"consecutiveFailures": 0,
"circuitOpenUntil": "string",
"lastError": "string",
"lastErrorAt": "string",
"createdBy": "string",
"updatedBy": "string",
"createdAt": "string",
"updatedAt": "string"
},
"warning": "string"
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}/api/runtime-pools/{id}Authorization
bearerAuth API key via Authorization: Bearer <API_KEY>
In: header
Path Parameters
1 <= lengthQuery Parameters
"true" | "false"Response Body
application/json
application/json
application/json
application/json
application/json
curl -X DELETE "http://localhost:3013/api/runtime-pools/string"{
"deleted": true
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}/api/runtime-pools/{id}Authorization
bearerAuth API key via Authorization: Bearer <API_KEY>
In: header
Path Parameters
1 <= lengthResponse Body
application/json
application/json
application/json
application/json
curl -X GET "http://localhost:3013/api/runtime-pools/string"{
"pool": {
"name": "string",
"kind": "static",
"placements": [
"string"
],
"image": "string",
"lifecycle": "idle",
"idleMinutes": null,
"slotsPerRuntime": 1,
"maxRuntimes": null,
"minRuntimes": 0,
"delivery": "poll",
"env": {},
"resources": null,
"ttlSec": null,
"enabled": true,
"id": "string",
"resolvedImage": "string",
"consecutiveFailures": 0,
"circuitOpenUntil": "string",
"lastError": "string",
"lastErrorAt": "string",
"createdBy": "string",
"updatedBy": "string",
"createdAt": "string",
"updatedAt": "string"
}
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}/api/runtime-pools/{id}Authorization
bearerAuth API key via Authorization: Bearer <API_KEY>
In: header
Path Parameters
1 <= lengthRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "http://localhost:3013/api/runtime-pools/string" \ -H "Content-Type: application/json" \ -d '{}'{
"pool": {
"name": "string",
"kind": "static",
"placements": [
"string"
],
"image": "string",
"lifecycle": "idle",
"idleMinutes": null,
"slotsPerRuntime": 1,
"maxRuntimes": null,
"minRuntimes": 0,
"delivery": "poll",
"env": {},
"resources": null,
"ttlSec": null,
"enabled": true,
"id": "string",
"resolvedImage": "string",
"consecutiveFailures": 0,
"circuitOpenUntil": "string",
"lastError": "string",
"lastErrorAt": "string",
"createdBy": "string",
"updatedBy": "string",
"createdAt": "string",
"updatedAt": "string"
}
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}/api/runtime-pools/{id}/agentsAuthorization
bearerAuth API key via Authorization: Bearer <API_KEY>
In: header
Path Parameters
1 <= lengthRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "http://localhost:3013/api/runtime-pools/string/agents" \ -H "Content-Type: application/json" \ -d '{ "name": "string" }'{
"agent": {
"id": "string",
"name": "string",
"isLead": false,
"status": "idle",
"runtimePoolId": "string",
"runtimeProvisionAttempts": 0,
"runtimeProvisionRetryAt": "string",
"description": "string",
"role": "string",
"capabilities": [],
"claudeMd": "string",
"soulMd": "string",
"identityMd": "string",
"setupScript": "string",
"toolsMd": "string",
"heartbeatMd": "string",
"maxTasks": 1,
"emptyPollCount": 0,
"lastActivityAt": "2019-08-24T14:15:22Z",
"provider": "claude",
"harnessProvider": "claude",
"credentialMissing": [
"string"
],
"credStatus": {
"ready": true,
"missing": [],
"satisfiedBy": "env",
"hint": null,
"liveTest": null,
"latestModel": null,
"reportedAt": 0,
"reportKind": "boot",
"bedrock": null,
"acp": null
},
"avatar": {
"type": "lucide",
"icon": "string",
"color": "string"
},
"createdAt": "2019-08-24T14:15:22Z",
"lastUpdatedAt": "2019-08-24T14:15:22Z"
}
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}/api/runtime-pools/{id}/runtimesAuthorization
bearerAuth API key via Authorization: Bearer <API_KEY>
In: header
Path Parameters
1 <= lengthResponse Body
application/json
application/json
application/json
application/json
curl -X GET "http://localhost:3013/api/runtime-pools/string/runtimes"{
"runtimes": [
{
"id": "string",
"agentId": "string",
"status": "active",
"poolId": "string",
"controllerId": "string",
"externalHandle": {
"property1": null,
"property2": null
},
"provisionAttempts": 0,
"provisionError": "string",
"provisionRequestedAt": "string",
"draining": true,
"idleSince": "string",
"leaseExpiresAt": "string",
"taskId": "string",
"reportedSlots": 0,
"credentialReady": true,
"metadata": {
"property1": null,
"property2": null
},
"lastSeenAt": "2019-08-24T14:15:22Z",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
}
]
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}