O
Operativeby Komodoe
TourCloudPricingEnterprise
ContactLog inGet started
Back to Documentation
v2.4

API Reference

The Operative API is organized around REST. Our API accepts JSON-encoded request bodies, returns JSON-encoded responses, and uses standard HTTP response codes.

Base URL

https://api.operative.ai/v1

Authentication

The Operative API uses API keys to authenticate requests. You can view and manage your API keys in your dashboard settings.

Include your API key in the Authorization header:

Authorization: Bearer op_live_xxxxxxxxxxxxx

Keep your API keys secure. Do not share them in publicly accessible areas such as GitHub, client-side code, or public documentation.

Quick Start

Create your first agent with a single API call:

curl -X POST https://api.operative.ai/v1/agents \
  -H "Authorization: Bearer op_live_xxx" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Support Agent",
    "type": "customer_support",
    "model": "gpt-4",
    "personality": {
      "tone": "friendly",
      "formality": "casual"
    }
  }'

Endpoints

Agents

Create, retrieve, update, and delete agents

GET/v1/agents
List all agents
POST/v1/agents
Create a new agent
GET/v1/agents/:id
Retrieve an agent
PATCH/v1/agents/:id
Update an agent
DELETE/v1/agents/:id
Delete an agent
POST/v1/agents/:id/deploy
Deploy an agent
POST/v1/agents/:id/pause
Pause an agent

Conversations

Manage agent conversations and messages

GET/v1/conversations
List conversations
GET/v1/conversations/:id
Retrieve a conversation
GET/v1/conversations/:id/messages
List messages
POST/v1/conversations/:id/messages
Send a message
POST/v1/conversations/:id/escalate
Escalate to human

Analytics

Retrieve performance metrics and analytics

GET/v1/analytics/overview
Get overview stats
GET/v1/analytics/agents/:id
Agent-specific analytics
GET/v1/analytics/conversations
Conversation analytics
GET/v1/analytics/satisfaction
Satisfaction scores

Webhooks

Configure webhook endpoints for real-time events

GET/v1/webhooks
List webhooks
POST/v1/webhooks
Create a webhook
DELETE/v1/webhooks/:id
Delete a webhook
POST/v1/webhooks/:id/test
Test a webhook

Rate Limits

The API enforces rate limits to ensure fair usage. Limits vary by plan:

PlanRequests/minuteRequests/dayBurst limit
Starter10010,00020
Growth500100,00050
Scale2,000Unlimited200

Rate limit headers are included in every response: X-RateLimit-Remaining, X-RateLimit-Reset

Errors

Operative uses conventional HTTP response codes to indicate success or failure:

200OKRequest succeeded
201CreatedResource created successfully
400Bad RequestInvalid request parameters
401UnauthorizedInvalid or missing API key
403ForbiddenInsufficient permissions
404Not FoundResource does not exist
429Too Many RequestsRate limit exceeded
500Server ErrorSomething went wrong on our end

Official SDKs

Use our official SDKs for the best developer experience. All SDKs include TypeScript definitions and comprehensive documentation.

Node.js SDKPython SDKGo SDK
O
Operativeby Komodoe

AI agent development, on subscription. 47 engineers, 4,200+ agents shipped, 340+ happy clients since 2021.

hello@operative.ai
TwitterLinkedInGitHub

Product

  • Product Tour
  • Operative Cloud
  • Pricing
  • Enterprise
  • Case Studies

Company

  • About
  • Blog
  • Careers
  • Partners
  • Contact

Resources

  • Help Center
  • Documentation
  • Events
  • Industries
  • Integrations

Legal

  • Privacy Policy
  • Terms of Service
  • Security
  • SOC 2
  • Status

2026 Operative by Komodoe. All rights reserved.

San Francisco, CALondon, UKSingapore

Operative is not affiliated with OpenAI, Anthropic, or any model provider. We're an independent company that uses various AI models to build solutions for our clients.