Overview
CREAO supports two API paths for running agents programmatically:
Both paths run CREAO agents you own and consume credits from your CREAO account balance. Developer Platform can also create personal agents, update agents by replacing provided fields, and request natural-language edits. They are current supported paths with different key scopes, route families, and request shapes.
Which path should I use?
Use the app-scoped API Trigger when you want a key that can run only one agent. This is the path shown from the agent page inagent.creao.ai, and it uses inputs in the request body.
Use Developer Platform when your backend owns an account-level integration. Developer Platform keys can create, edit, and run personal agents owned by the same account, use agent_id and input, and support async polling, realtime SSE, webhooks, and account-level analytics.
App-scoped API Trigger
Create an app-scoped API key from the agent detail page inagent.creao.ai. The key starts with capi_ and is scoped to that agent.
Create a run
Poll a run
status becomes completed, failed, or cancelled.
Developer Platform API
Create an Account API key in Developer Console. Developer Platform keys start withcr_sk_ and are sent as Bearer tokens to developer.creao.ai/v1/*.
1
Create an Account API key
Open Developer Console, go to API Keys, and create a key. Store the full key immediately because it is shown only once.
2
Find the agent ID
Start a personal-agent creation run through
POST /v1/agents and poll it for the new agent_id, or open Agents in Developer Console and copy the agent_id for an existing agent. Browser-based editing, files, schedules, and debugging still live in agent.creao.ai.3
Create an async run
202 Accepted with a run ID and conversation ID:4
Poll for the result
status becomes completed, failed, or cancelled.Developer Platform reference
Create an agent
JSON body
Returns
202 Accepted with a queued run_id, conversation_id, and agent_id: null. Poll GET /v1/runs/:run_id; when the creation run completes, the response includes the new agent ID in both agent_id and result.agent_id.
Update an agent
release_note. The target must be a personal agent owned by the Account key owner. Team, shared, deleted, or foreign agents return AGENT_NOT_FOUND.
Edit an agent from instructions
202 Accepted with run_id, agent_id, status, and timestamps. Poll GET /v1/agents/:agent_id/edits/:run_id until status is succeeded, failed, or cancelled.
Create an async run
JSON body
Returns
202 Accepted with a run object.
Get run status
List runs
Response:
Realtime runs
Use Developer Platform realtime runs when your backend wants streamed progress and output.
Example:
text/event-stream. Events include:
Conversations
Pass a previousconversation_id to continue the same thread of work with the same agent through Developer Platform: