Home Features Automation Pricing Contact Support Download
Sign In Launch Mission Control

API Reference

RESTful API for deploying agents, managing missions, and integrating AI operations. SDKs available for Python, Node.js, Go, and C#.

Core API Endpoints

Base URL: https://api.cobrabrain.com/v1

Authentication

POST/auth/local/login
POST/auth/google
GET/auth/me

Agents

GET/agents
POST/agents
GET/agents/{id}
PUT/agents/{id}
DELETE/agents/{id}
POST/agents/{id}/deploy

Missions

GET/missions
POST/missions
GET/missions/{id}
POST/missions/{id}/cancel

Connectors

GET/connectors
POST/connectors/{id}/configure
GET/connectors/{id}/status

Official SDKs

Get started faster with our type-safe SDKs.

🐍

Python

pip install cobrabrain

🟢

Node.js

npm install @cobrabrain/sdk

🔵

Go

go get github.com/cobrabrain/sdk

🟣

C#

dotnet add package CobraBrain.Sdk

Deploy Your First Agent

bash
# 1. Install the SDK
pip install cobrabrain
# 2. Set your API key
export COBRABRAIN_API_KEY="your_api_key_here"
# 3. Deploy an agent
from cobrabrain import Client
client = Client()
agent = client.agents.create(
  name="support-agent",
  template="customer_support_v3",
  connectors=["slack", "zendesk"]
)
agent.deploy()
# Agent is now live and handling messages!

Ready to Build?

Get your API key and start building in minutes.

Get API Key — Free