documents
Create or Update Document
Create a new document on a session (omit document_id → 201), or update an existing one (include document_id → 200) — for example to save a doctor's edits to generated notes. Every response includes a presigned PUT URL: upload the document content (markdown) to that URL to store it.
post/voice/api/v1/documents
Request
- Base URLhttps://api.eka.care
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"session_id": "ses_abc123def456"
}Response
Document created (also 200 when updating an existing document)
Example response
{
"status": "success",
"data": {
"type": "markdown",
"status": "success"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.