Speechbase

Get a single request log

Returns a single request log row by request ID. Returns 404 if no row exists for the given ID under the authenticated organization.

GET
/v1/logs/{requestId}

Returns a single request log row by request ID. Returns 404 if no row exists for the given ID under the authenticated organization.

Authorization

bearerAuth
AuthorizationBearer <token>

API key

In: header

Path Parameters

requestId*string

Speechbase request ID.

Formatuuid

Response Body

application/json

application/problem+json

application/problem+json

curl -X GET "https://example.com/v1/logs/497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "Authorization: Bearer $SPEECHBASE_API_KEY"
{
  "data": {
    "request_id": "string",
    "parent_request_id": "string",
    "ts": "string",
    "path": "string",
    "status": 0,
    "provider": "string",
    "model": "string",
    "voice_id": "string",
    "voice_ref": "string",
    "char_count": 0,
    "latency_ms": 0,
    "error_code": "string",
    "error_detail": "string",
    "provider_options": "string",
    "moderation_decision": "string",
    "moderation_reason_type": "string",
    "moderation_reason_detail": "string",
    "moderation_confidence": 0,
    "moderation_latency_ms": 0
  }
}
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string"
}
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string"
}