Start a thread with the default agent
Starts a new conversation thread: resolves the container, mints a threadId, and creates the thread’s first agent run there from the founding prompt (1–4000 chars) and optional fileIds (1–200). Omit spaceId for the caller’s private desk (the default); pass a spaceId to start the thread in a space, where every holder of space:contribute can read and continue it. Authorization: any real organization member (embed tokens and API keys have no desk → 404); a named space requires space:contribute (404 otherwise) and may never be a desk id (400 cannot_target_desk). Gated by AGENTS_ENABLED; disabled → 404. Returns 201 { threadId, runId, steered: false, status, spaceId }.
POST
https://api.cloudraker.com/me/threads