Create an agent [write]
Changed onAn agent is a reusable configuration — engine, prompt, capabilities, secrets. Every field is optional: an empty body creates the default pi agent with no built-in capabilities (capabilities are explicit opt-in; unknown ids → 400). The response's id (agent_…) is the agent's only address. One agent can run many sessions; creating the agent provisions nothing — session creation provisions the pod by default (POST /v1/sessions supports deferred provisioning). Optional Idempotency-Key safely replays the original 201 response within the same user and universe; changing the body with the same key returns 409 idempotency_conflict. Keys do not expire.
Request
- Base URLhttps://api.agentsky.dev/v1
- URLhttps://api.agentsky.dev/v1/agents
- AuthHTTP bearer
Headers
A unique key for this creation attempt. Preserve the key and body when retrying.
Request body
Response
Created
Changes
- breaking
removed the enum value
agentpoolof the request property - warning
added the new
code-reviewenum value to the//response property for the response status - warning
added the new
dictionary.defineenum value to the//response property for the response status - warning
added the new
elevenlabs.musicenum value to the//response property for the response status - warning
added the new
elevenlabs.ttsenum value to the//response property for the response status - warning
added the new
frankfurter.fxenum value to the//response property for the response status - warning
added the new
googledns.resolveenum value to the//response property for the response status - warning
added the new
logo.lookupenum value to the//response property for the response status - warning
added the new
openlibrary.searchenum value to the//response property for the response status - warning
added the new
openmeteo.weatherenum value to the//response property for the response status - warning
added the new
qrserver.createenum value to the//response property for the response status - warning
added the new
recall.meeting-recordenum value to the//response property for the response status - info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new
code-reviewenum value to the request property/ - info
added the new
code-reviewenum value to the request property/ - info
added the new
dictionary.defineenum value to the request property/ - info
added the new
dictionary.defineenum value to the request property/ - info
added the new
elevenlabs.musicenum value to the request property/ - info
added the new
elevenlabs.musicenum value to the request property/ - info
added the new
elevenlabs.ttsenum value to the request property/ - info
added the new
elevenlabs.ttsenum value to the request property/ - info
added the new
frankfurter.fxenum value to the request property/ - info
added the new
frankfurter.fxenum value to the request property/ - info
added the new
googledns.resolveenum value to the request property/ - info
added the new
googledns.resolveenum value to the request property/ - info
added the new
logo.lookupenum value to the request property/ - info
added the new
logo.lookupenum value to the request property/ - info
added the new
muse_codeenum value to the request property - info
added the new
openlibrary.searchenum value to the request property/ - info
added the new
openlibrary.searchenum value to the request property/ - info
added the new
openmeteo.weatherenum value to the request property/ - info
added the new
openmeteo.weatherenum value to the request property/ - info
added the new
qrserver.createenum value to the request property/ - info
added the new
qrserver.createenum value to the request property/ - info
added the new
recall.meeting-recordenum value to the request property/ - info
added the new
recall.meeting-recordenum value to the request property/ - info
added the new
workspace_acpenum value to the request property - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
the response property
became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status
- breaking