curl --request POST \
--url https://breadbox.example.com/api/v1/agents \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{}'{}Create agent definition
Creates a Claude Agent SDK definition. Body includes the usual
name, slug, prompt, model, max_turns, max_budget_usd,
tool_scope, allowed_tools, schedule_cron, and the iter-30
trigger_on_sync_complete flag (fire after every successful
sync, in addition to any cron schedule). Requires full_access scope.
curl --request POST \
--url https://breadbox.example.com/api/v1/agents \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{}'{}Documentation Index
Fetch the complete documentation index at: https://docs.breadbox.sh/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Breadbox API key with format bb_<base62>. Carries either read_only
or full_access scope. Write endpoints (and a handful of sensitive
reads — /api-keys, /users/{user_id}/login) require full_access;
endpoints that require it are flagged in their description.
Body
The body is of type object.
Response
Created definition.
The response is of type object.