Create a brief
Creates a brief from free-form intent and dispatches a shaping turn. Returns the brief id and a WebSocket ticket for the shaping-log stream. Requires playbook:start on the project.
Authentication
AuthorizationBearer
WorkOS session JWT or an organization API key, sent as Authorization: Bearer <token>.
Path parameters
projectId
Request
This endpoint expects an object.
text
attachedFileIds
Response
The created brief id and shaping WebSocket ticket.
briefId
wsTicket
Signed ticket for the shaping-log WebSocket.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error