API Reference

Create an Agent

Deploy a new agent to production.

Request example:

{ "model": "anthropic/claude", "fallback": "openai/gpt-4o", "tools": ["postgres", "slack"], "approvals": [{ "action": "spend", "condition": ">100" }], "budget": "500/mo" }


Response:

{ "id": "agt_4b81", "status": "deploying", "endpoint": "https://api.scalar.ai/v1/agents/agt_4b81", "created_at": "2026-01-14T09:22:00Z" }


Errors table:


  1. 400 Invalid config

  2. 401 Missing or invalid API key

  3. 429 Rate limit exceeded

Teal gradient background

TRUSTED BY 200+ AI TEAMS

Ship your agents to production.

Book a 30-minute demo, or start in the docs. No infrastructure required.

Teal gradient background

TRUSTED BY 200+ AI TEAMS

Ship your agents to production.

Book a 30-minute demo, or start in the docs. No infrastructure required.

Teal gradient background

TRUSTED BY 200+ AI TEAMS

Ship your agents to production.

Book a 30-minute demo, or start in the docs. No infrastructure required.

Create a free website with Framer, the website builder loved by startups, designers and agencies.