v1

latestOpenAPI 3.1.0Apache 2.02026-07-264001921002.3 KB
Logging

Get a single log entry

Retrieves a single log entry by its ID.

get/api/logs/{id}

Path parameters

idstring required

Log entry ID

Response

Successful response

idstring
parent_request_idstring
providerstring
modelstring
status'processing' | 'success' | 'error'
objectstring
timestampstring date-time
number_of_retriesinteger
fallback_indexinteger
latencynumber
costnumber
selected_key_idstring
selected_key_namestring
virtual_key_idstring
virtual_key_namestring nullable
routing_engines_usedstring[] nullable

Array of routing engines used for this request (routing-rule, governance, or loadbalancing)

routing_rule_idstring nullable
routing_rule_namestring nullable
streamboolean
raw_requeststring
raw_responsestring
created_atstring date-time
paramsobject
speech_inputobject
transcription_inputobject
image_generation_inputobject
speech_outputobject
transcription_outputobject
image_generation_outputobject
cache_debugobject
metadataobject

Custom metadata captured from request headers (configured via logging_headers or x-bf-lh-* prefix)

selected_keyobject
virtual_keyobject
passthrough_request_bodystring

Raw passthrough request body (for passthrough integration routes)

passthrough_response_bodystring

Raw passthrough response body (for passthrough integration routes)

routing_engine_logsobject

Detailed logs from the routing engine decision process

is_large_payload_requestboolean

Whether the request payload exceeded the large payload threshold

is_large_payload_responseboolean

Whether the response payload exceeded the large payload threshold

rerank_outputobject

Rerank operation output

video_generation_inputobject

Video generation request input

video_generation_outputobject

Video generation response output

video_retrieve_outputobject

Video retrieve response output

video_list_outputobject

Video list response output

video_delete_outputobject

Video delete response output

video_download_outputobject

Video download response output

list_models_outputobject

List models response output