Agents
CRUD operations for agent profiles — create, configure, update, and manage swarm agents
Authorization
bearerAuth API key via Authorization: Bearer <API_KEY>
In: header
Query Parameters
"tasks""full" | "slim"Response Body
curl -X GET "http://localhost:3013/api/agents"Authorization
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
curl -X POST "http://localhost:3013/api/agents" \ -H "Content-Type: application/json" \ -d '{ "name": "string" }'Authorization
bearerAuth API key via Authorization: Bearer <API_KEY>
In: header
Path Parameters
Query Parameters
"tasks"Response Body
curl -X GET "http://localhost:3013/api/agents/string"Authorization
bearerAuth API key via Authorization: Bearer <API_KEY>
In: header
Path Parameters
Response Body
curl -X PUT "http://localhost:3013/api/agents/string/activity"Authorization
bearerAuth API key via Authorization: Bearer <API_KEY>
In: header
Path Parameters
Response Body
curl -X GET "http://localhost:3013/api/agents/string/credential-status"Authorization
bearerAuth API key via Authorization: Bearer <API_KEY>
In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
curl -X PUT "http://localhost:3013/api/agents/string/credential-status" \ -H "Content-Type: application/json" \ -d '{}'Authorization
bearerAuth API key via Authorization: Bearer <API_KEY>
In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
curl -X PATCH "http://localhost:3013/api/agents/string/harness-provider" \ -H "Content-Type: application/json" \ -d '{ "harness_provider": "claude" }'Authorization
bearerAuth API key via Authorization: Bearer <API_KEY>
In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
curl -X PUT "http://localhost:3013/api/agents/string/name" \ -H "Content-Type: application/json" \ -d '{ "name": "string" }'Authorization
bearerAuth API key via Authorization: Bearer <API_KEY>
In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
curl -X PUT "http://localhost:3013/api/agents/string/profile" \ -H "Content-Type: application/json" \ -d '{}'Authorization
bearerAuth API key via Authorization: Bearer <API_KEY>
In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
curl -X PATCH "http://localhost:3013/api/agents/string/runtime" \ -H "Content-Type: application/json" \ -d '{ "harness_provider": "claude", "model": "string" }'Authorization
bearerAuth API key via Authorization: Bearer <API_KEY>
In: header
Path Parameters
Response Body
curl -X GET "http://localhost:3013/api/agents/string/setup-script"Authorization
bearerAuth API key via Authorization: Bearer <API_KEY>
In: header
Query Parameters
"idle" | "busy" | "offline" | "waiting_for_credentials"Response Body
curl -X GET "http://localhost:3013/api/agents/credential-status"