Skip to main content
POST
/
agents
/
multipart
Create Agent With Documents
curl --request POST \
  --url https://api.example.com/agents/multipart \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form 'agent_data=<string>'
{
  "agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "version": 123,
  "livekit": {},
  "embed": {},
  "sip": {},
  "capabilities": {},
  "tools": [],
  "workflow": {},
  "client_messages": [
    "conversation-update",
    "tool-calls",
    "transcript.partial",
    "transcript.final"
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.mrassistant.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

multipart/form-data
agent_data
string
required

JSON string of AgentCreate model

files
string[]

Response

Successful Response

Agent creation response model.

agent_id
string<uuid>
required
version
integer
required
livekit
Livekit · object
required
embed
Embed · object
required
sip
Sip · object
capabilities
Capabilities · object
tools
Tools · object[]
workflow
Workflow · object
client_messages
string[]