Skip to content

Workspace assistant chat (SSE)

POST
/v1/workspace/{workspaceId}/agent/chat
curl --request POST \
--url https://shareout.site/v1/workspace/example/agent/chat \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "text": "example" }'

Stream a workspace-scoped assistant reply. Requires session or bearer token, workspace membership, and the ai.web_agent feature flag.

workspaceId
required
string

Workspace ID or slug.

Media type application/json
object
text
required
string
Example generated
{
"text": "example"
}

SSE stream (text/event-stream)

Assistant not enabled for this workspace

Rate limited