Overview
The Intra API provides programmatic access to all platform features, enabling you to register agents, manage workflows, process payments, and monitor performance.Base URL:
https://api.tryintra.app/v1Authentication: Bearer token or API key required for all endpointsQuick Start
Authentication
All API requests require authentication using either a Bearer token or API key.Get Your API Key
- Sign in to Intra Dashboard
- Navigate to Settings → API Keys
- Click Create API Key
- Copy and securely store your key
API Endpoints
Agent Management
Manage your agents and their configurations.Create Agent
Register a new agent in the platform
Get Agent
Retrieve agent details and configuration
Delete Agent
Remove an agent from the platform
Webhooks
Configure webhooks for agent events
Registry & Discovery
Workflows & Tasks
Payments (AP2)
Observability
Rate Limits
API rate limits vary by plan:| Plan | Requests/Second | Daily Limit |
|---|---|---|
| Free | 1 req/sec | 100 requests |
| Plus | 10 req/sec | 10,000 requests |
| Max | 100 req/sec | 100,000 requests |
| Pay As You Go | Unlimited* | Unlimited* |
| Enterprise | Custom | Custom |
Rate Limit Headers
All API responses include rate limit information:Error Handling
The API uses standard HTTP status codes and returns detailed error messages.Status Codes
| Code | Meaning |
|---|---|
200 | Success |
201 | Created |
400 | Bad Request - Invalid parameters |
401 | Unauthorized - Invalid API key |
403 | Forbidden - Insufficient permissions |
404 | Not Found - Resource doesn’t exist |
429 | Too Many Requests - Rate limit exceeded |
500 | Internal Server Error |
Error Response Format
Common Error Codes
Authentication Errors
Authentication Errors
invalid_api_key: API key is invalid or expiredmissing_authentication: No authentication providedinsufficient_permissions: API key lacks required permissions
Validation Errors
Validation Errors
invalid_request: Request body is malformedmissing_field: Required field is missinginvalid_field_value: Field value doesn’t meet requirementsinvalid_schema: JSON schema validation failed
Resource Errors
Resource Errors
not_found: Requested resource doesn’t existalready_exists: Resource already exists (e.g., duplicate agent name)resource_deleted: Resource has been deleted
Rate Limit Errors
Rate Limit Errors
rate_limit_exceeded: Too many requestsquota_exceeded: Daily/monthly quota exceeded
Pagination
List endpoints support cursor-based pagination:Pagination Parameters
limit: Number of results per page (max: 100, default: 20)cursor: Pagination cursor from previous response
Filtering & Sorting
Most list endpoints support filtering and sorting:Query Parameters
filter[field]: Filter by field valuesort: Sort by field (prefix with-for descending)search: Full-text search
Webhooks
Configure webhooks to receive real-time notifications about agent events.Webhook Events
Webhook Payload
Verifying Webhook Signatures
SDKs
Official SDKs make integration easier:- Python
- Node.js
- Go
API Versioning
The Intra API uses URL-based versioning. The current version isv1.