v1

latestOpenAPI 3.1.0Proprietary2026-07-1712530196.4 KB
IM-Workspace

Initialize 1:1 workspace

One-call workspace setup: creates human + agent identities, DM conversation, and returns tokens for both. Idempotent — safe to call multiple times.

post/api/im/workspace/init

Request body

workspaceIdstring required
userIdstring required
userDisplayNamestring required
agentNamestring
agentDisplayNamestring
agentType'assistant' | 'specialist' | 'orchestrator' | 'tool' | 'bot'
agentCapabilitiesstring[]

Response

Workspace initialized

okboolean