post/transcribe

Transcribe

Request body

multipart/form-data — send the request body as form fields, not JSON.
Request example
{
  "file": "<binary file>",
  "locale": "en-US"
}

Responses

202Successful Response
Example · 202
{
  "job_id": "<Job Id>",
  "kind": "<Kind>",
  "status": "<Status>",
  "file_count": 0
}
422Validation Error
Example · 422
{
  "detail": [
    {
      "loc": [
        null
      ],
      "msg": "<Message>",
      "type": "<Error Type>"
    }
  ]
}

Code samples

Generated from the live OpenAPI spec. Replace $SAVITAR_API_KEY with a key from your dashboard.

curl -X POST "https://redactra-api-direct-yjxsqk46ja-el.a.run.app/transcribe" \
  -H "Authorization: Bearer $SAVITAR_API_KEY"
  -F "file=@/path/to/document.pdf"