Stream employee preparation
POSThttps://platform.docana.com/api/v1/employees/:id/prepare/
AI SDK UI-message event stream. Supply the latest user message and optionally a caller-owned preparation thread. Uses the same engine and scoped tools as askEmployeePreparation, the JSON alternative for CLI and MCP clients. Writes drafts and can run authorized tests; does not publish. A interrupted write may have succeeded: inspect current state before retrying.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 500
AI SDK UI-message event stream with text, tool results and data-thread identity
The request body, query, or path failed validation. See validationErrors.
The API key or session is missing, expired, or malformed.
The caller is authenticated but not allowed to perform this operation.
A resource referenced by the path does not exist or is not visible to the caller.
Unexpected server error.