Overview
The Kubiya Control Plane API is a RESTful API that provides comprehensive control over your AI agent infrastructure. It enables you to programmatically manage agents, teams, workflows, integrations, and execution environments.Base URL
Authentication
All API requests require authentication using an API key. Include your API key in theAuthorization header:
API Version
Current version: v0.3.0Core Capabilities
The Control Plane API is organized into several functional areas:Agent Management
- Agents - Create, update, and execute individual AI agents
- Teams - Coordinate multi-agent teams for complex tasks
- Runtimes - Configure agent runtime environments and capabilities
Workflow & Execution
- Workflows - Define and orchestrate multi-step task sequences
- Task Planning - AI-powered task analysis and planning
- Worker Queues - Manage worker orchestration and deployment
- Runners - Control execution infrastructure
Configuration & Resources
- Projects - Organize resources into logical projects
- Environments - Manage execution environments and variables
- Skills/Tool Sets - Define agent capabilities and tools
- Models - Configure LLM models for agents
Security & Integration
- Secrets - Secure credential storage and retrieval
- Integrations - Connect to third-party services
- Policies - OPA-based authorization and enforcement
- Context Management - Manage knowledge and configuration inheritance
Monitoring & Health
- Health Checks - Verify service readiness and health
- Workers - Monitor Temporal worker registration and heartbeats
Getting Started
Example: List Available Models
Example: Create an Agent
Example: Execute an Agent Task
worker_queue_id is required and must be a valid UUID of an existing worker queue.
Rate Limits
The API implements rate limiting to ensure fair usage:- Standard tier: 100 requests per minute
- Enterprise tier: Custom limits available
X-RateLimit-Limit- Maximum requests per windowX-RateLimit-Remaining- Remaining requests in current windowX-RateLimit-Reset- Time when the rate limit resets
Error Handling
The API uses standard HTTP status codes and returns detailed error messages:200- Success201- Created400- Bad Request401- Unauthorized403- Forbidden404- Not Found422- Validation Error429- Rate Limit Exceeded500- Internal Server Error
Pagination
List endpoints support pagination using query parameters:Webhooks
Configure webhooks to receive real-time notifications for:- Agent execution completion
- Workflow state changes
- Error events
- Worker status updates
Support
- Documentation: docs.kubiya.ai
- Dashboard: compose.kubiya.ai
- Issues: Contact support through the dashboard