Soniox
API referenceSpeech-to-TextTranscriptions

Delete transcription

Permanently deletes a transcription and its associated files. Cannot delete transcriptions that are currently processing.

DELETE
https://api.soniox.com/v1/transcriptions/{transcription_id}

Permanently deletes a transcription and its associated files. Cannot delete transcriptions that are currently processing.

Headers

AuthorizationRequiredBearer <SONIOX_API_KEY>

Path parameters

transcription_idRequiredstring
Format: "uuid"

Response

204

Transcription deleted.

Errors

Transcription deleted.

Authentication error.

{
  "status_code": 401,
  "error_type": "unauthenticated",
  "message": "Incorrect API key provided. You can get an API key at https://console.soniox.com",
  "validation_errors": [],
  "request_id": "3d37a3bd-5078-47ee-a369-b204e3bbedda",
  "more_info": "https://soniox.com/docs/api-reference/errors#unauthenticated"
}

Transcription not found.

Error types:

  • transcription_not_found: No transcription with this ID exists in the project the API key is scoped to (it may have been deleted, the ID may be wrong, or it may belong to a different project).

{
  "status_code": 404,
  "error_type": "transcription_not_found",
  "message": "No transcription with this ID exists in your project. It may have been deleted, the ID may be incorrect, or the transcription may belong to a different project. Verify the ID by listing transcriptions with GET /transcriptions.",
  "validation_errors": [],
  "request_id": "3d37a3bd-5078-47ee-a369-b204e3bbedda",
  "more_info": "https://soniox.com/docs/api-reference/errors#transcription-not-found"
}

Invalid transcription state.

Error types:

  • transcription_invalid_state: The transcription cannot be deleted in its current state — it is still processing. Wait until status reaches completed or error and retry.

{
  "status_code": 409,
  "error_type": "transcription_invalid_state",
  "message": "This transcription is currently being processed and cannot be deleted yet. Wait until `status` reaches `completed` or `error` (check via GET /transcriptions/{id}), then retry the delete.",
  "validation_errors": [],
  "request_id": "3d37a3bd-5078-47ee-a369-b204e3bbedda",
  "more_info": "https://soniox.com/docs/api-reference/errors#transcription-invalid-state"
}

Rate / capacity limit exceeded.

Error types:

  • limit_exceeded: The caller hit a per-minute request rate or other capacity limit. The message describes which limit was hit.

{
  "status_code": 429,
  "error_type": "limit_exceeded",
  "message": "Requests per minute limit for async transcription has been exceeded for your organization.",
  "validation_errors": [],
  "request_id": "3d37a3bd-5078-47ee-a369-b204e3bbedda",
  "more_info": "https://soniox.com/docs/api-reference/errors#limit-exceeded"
}

Internal server error.

{
  "status_code": 500,
  "error_type": "internal_error",
  "message": "The server encountered an error. Please try again. If the issue persists contact support@soniox.com.",
  "validation_errors": [],
  "request_id": "3d37a3bd-5078-47ee-a369-b204e3bbedda",
  "more_info": "https://soniox.com/docs/api-reference/errors#internal-error"
}