Create a new agent
Agents
Create a new agent
Create a new agent in the caller’s organization. The agent starts
in draft status and private visibility. A service account is
provisioned automatically; failure to provision rolls back the
creation.
POST
Create a new agent
Authorizations
User-bound credential carrying an identity: either a session JWT
or a user access token (at:*) generated from the user settings UI.
Send as Authorization: Bearer <token>.
Org API keys (iak_*) are not accepted here - they carry
no user identity. Use the x-prismeai-api-key header instead
(see OrgApiKeyAuth).
Body
application/json
System prompt / agent instructions.
Maximum string length:
100000Maximum string length:
256Maximum string length:
4096Maximum string length:
128Available options:
simple, workflow, agent_light, agent_full, orchestrator Maximum string length:
64Sub-agent delegations (max 20).
Conversation starter prompts (max 10).