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.
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 API key
In: header
Path Parameters
Speechbase request ID.
uuidResponse 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"
}List request logs GET
Returns request log rows for the authenticated organization, ordered by timestamp (newest first). Mirrors the dashboard logs view. Logs are retained for 30 days. Pagination is cursor-based: pass `next_cursor` from one response back as `cursor` on the next call until `has_more` is `false`.
Get current organization GET
Returns the organization the authenticated API key belongs to.