Skip to main content
POST
Create a new agent

Authorizations

Authorization
string
header
required

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
instructions
string
required

System prompt / agent instructions.

Maximum string length: 100000
name
string
Maximum string length: 256
description
string
Maximum string length: 4096
model
string
Maximum string length: 128
fallback_models
string[]
temperature
number
profile
enum<string>
Available options:
simple,
workflow,
agent_light,
agent_full,
orchestrator
Maximum string length: 64
skills
object[]
sub_agents
object[]

Sub-agent delegations (max 20).

starters
object[]

Conversation starter prompts (max 10).

Response

Agent created.

Slim record returned on agent create / import.

id
string
name
string
status
enum<string>
Available options:
draft
serviceAccountId
string
createdAt
string<date-time>