Skip to content

Rate the live transcription

POST /v2/live/{id}/feedback

Tells us whether a transcription met your expectations: good or bad, and optionally why. One rating per transcription: rating it again replaces the previous rating. The rating is returned by GET /v2/live/{id} (feedback), and deleted with the transcription. Gladia uses the bad ones to find and fix quality problems: say what was wrong (a name, a number, a language).

Authentication: your API key in the x-gladia-key header (Authentication).

Example

Terminal window
curl -X POST https://eu1.api.gladia.io/v2/live/0199d7a2-5c3e-7b41-9f0a-3c2d1e4f5a6b/feedback \
-H "x-gladia-key: $GLADIA_API_KEY" \
-H "content-type: application/json" \
-d '{
"rating": "bad",
"comment": "The speaker name Siobhan is transcribed as show on."
}'

Try it

Parameters

  • id string · path required

    Identifier of the live transcription to rate.

Body

  • rating string required

    good: the transcription met your expectations; bad: it did not.

    one of: good, bad

  • comment string

    Why, in your words (at most 2000 characters): what was wrong or right.

    default: null

Responses

200 The rating, as stored.
  • rating string required

    good or bad.

    one of: good, bad

  • comment string required

    Why, as you wrote it; null without a comment.

  • rated_at string required

    When it was rated (ISO 8601, UTC); a new rating replaces the previous one.

Example
{
"rating": "good",
"comment": "string",
"rated_at": "2026-10-12T09:04:17.210Z"
}
400 The body is invalid (validation_errors lists why: an unknown field, a rating other than good or bad, a comment over 2000 characters), or this cluster keeps no ratings (message says so): do not retry.
Error body
{
"statusCode": 400,
"timestamp": "2026-10-12T09:04:17.210Z",
"path": "/v2/live",
"message": "Invalid parameter(s). See validation_errors for more details.",
"request_id": "G-1a2b3c4d",
"validation_errors": [
"sample_rate Input should be 8000, 16000, 32000, 44100 or 48000"
],
"error": "string"
}
401 No API key, or an unknown one.
Error body
{
"statusCode": 400,
"timestamp": "2026-10-12T09:04:17.210Z",
"path": "/v2/live",
"message": "Invalid parameter(s). See validation_errors for more details.",
"request_id": "G-1a2b3c4d",
"validation_errors": [
"sample_rate Input should be 8000, 16000, 32000, 44100 or 48000"
],
"error": "string"
}
403 The key may not do this (its scopes, or the addresses it may be used from).
Error body
{
"statusCode": 400,
"timestamp": "2026-10-12T09:04:17.210Z",
"path": "/v2/live",
"message": "Invalid parameter(s). See validation_errors for more details.",
"request_id": "G-1a2b3c4d",
"validation_errors": [
"sample_rate Input should be 8000, 16000, 32000, 44100 or 48000"
],
"error": "string"
}
404 No such session for your account.
Error body
{
"statusCode": 400,
"timestamp": "2026-10-12T09:04:17.210Z",
"path": "/v2/live",
"message": "Invalid parameter(s). See validation_errors for more details.",
"request_id": "G-1a2b3c4d",
"validation_errors": [
"sample_rate Input should be 8000, 16000, 32000, 44100 or 48000"
],
"error": "string"
}
503 Ratings cannot be stored right now: try again.
Error body
{
"statusCode": 400,
"timestamp": "2026-10-12T09:04:17.210Z",
"path": "/v2/live",
"message": "Invalid parameter(s). See validation_errors for more details.",
"request_id": "G-1a2b3c4d",
"validation_errors": [
"sample_rate Input should be 8000, 16000, 32000, 44100 or 48000"
],
"error": "string"
}