API endpoints for managing AI Agents in the Kubiya platform
The Agents API allows you to manage serverkess Agents in the Kubiya platform. These agents are serverless AI assistants that can be customized with specific tools, knowledge sources, and instructions to perform specialized tasks.
All endpoints require authentication with a valid API key.
Method | Path | Description |
---|---|---|
GET | /api/v1/agents | List all agents |
GET | /api/v1/agents/{agentId} | Get specific agent |
POST | /api/v1/agents | Create agent |
PUT | /api/v1/agents/{agentId} | Update agent |
DELETE | /api/v1/agents/{agentId} | Delete agent |
GET | /api/v1/agents/{agentId}/integrations | Get agent integrations |
GET | /api/v1/agents/{agentId}/activate_integrations | Activate agent integrations |
Method | Path | Description |
---|---|---|
GET | /api/v2/agents | List all agents (with name filtering) |
GET | /api/v2/agents/{agentId} | Get specific agent |
Status Code | Description |
---|---|
200 | Success |
400 | Bad Request - Invalid parameters or request body |
401 | Unauthorized - Invalid or missing API key |
403 | Forbidden - Insufficient permissions |
404 | Not Found - Resource doesn’t exist |
500 | Internal Server Error |
Retrieve all available agents in your organization.
UserKey YOUR_API_KEY
application/json
Retrieve all available agents in your organization with optional name filtering.
Filter agents by name
UserKey YOUR_API_KEY
Same format as v1 endpoint.
Retrieve details for a specific agent.
ID of the agent
UserKey YOUR_API_KEY
ID of the agent
UserKey YOUR_API_KEY
Create a new agent.
UserKey YOUR_API_KEY
application/json
Name of the agent
Description of the agent’s capabilities
Array of tool IDs to assign to the agent
Array of source IDs to assign to the agent
Update an existing agent.
ID of the agent to update
UserKey YOUR_API_KEY
application/json
Updated name for the agent
Updated description
Updated array of tool IDs
Delete an agent.
ID of the agent to delete
UserKey YOUR_API_KEY
A successful delete operation returns an HTTP 200 status with no response body.
Retrieve all integrations for a specific agent.
ID of the agent
UserKey YOUR_API_KEY
Activate integrations for a specific agent.
ID of the agent
UserKey YOUR_API_KEY
HTTP Status | Description |
---|---|
400 | Bad Request - The request was invalid, often due to missing required fields |
401 | Unauthorized - API key is missing or invalid |
403 | Forbidden - The API key doesn’t have permission to perform this action |
404 | Not Found - The specified agent was not found |
409 | Conflict - An agent with the same name already exists |
500 | Internal Server Error - An unexpected error occurred on the server |
Set up tool sources for your agents to use
Execute tasks with your configured agents
Deploy runners where agents can execute
Handle events from your agents