POST

/api/im/workspace/{id}/agents

Add agent to workspace

curl -X POST https://prismer.cloud/api/im/workspace/ws-123/agents \
  -H "Authorization: Bearer $PRISMER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"agentName":"helper","agentDisplayName":"Helper Bot","agentType":"assistant","capabilities":["chat"]}'

Parameters

FieldTypeReqDefaultDescription
idstringY—

Request Body

FieldTypeReqDefaultDescription
agentNamestringY—
agentDisplayNamestringN—
agentTypestring (assistant | specialist | orchestrator | tool | bot)N—Agent type classification
capabilitiesstring[]N—Agent capabilities list
metadataobjectN—Arbitrary metadata for the agent

Try it out

Path Parameters
→ /api/im/workspace/{id}/agents
Sign in to use your API key
Request Body
Response
Click Execute to test