A valid request URL is required to generate request examples{
"id": "<string>",
"project_id": "<string>",
"project_name": "<string>",
"parent_request_id": "<string>",
"provider": "<string>",
"model": "<string>",
"status": "processing",
"object": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"number_of_retries": 123,
"fallback_index": 123,
"latency": 123,
"cost": 123,
"selected_key_id": "<string>",
"selected_key_name": "<string>",
"virtual_key_id": "<string>",
"virtual_key_name": "<string>",
"routing_engines_used": [
"<string>"
],
"tool_call_names": [
"<string>"
],
"routing_rule_id": "<string>",
"routing_rule_name": "<string>",
"complexity_tier": "SIMPLE",
"complexity_mechanism": "semantic",
"complexity_score": 123,
"session_id": "<string>",
"stream": true,
"raw_request": "<string>",
"raw_response": "<string>",
"redaction_mapping": {
"input": {},
"output": {}
},
"created_at": "2023-11-07T05:31:56Z",
"token_usage": {
"prompt_tokens": 123,
"prompt_tokens_details": {
"text_tokens": 123,
"audio_tokens": 123,
"image_tokens": 123,
"cached_read_tokens": 123,
"cached_write_tokens": 123
},
"completion_tokens": 123,
"completion_tokens_details": {
"text_tokens": 123,
"accepted_prediction_tokens": 123,
"audio_tokens": 123,
"citation_tokens": 123,
"num_search_queries": 123,
"reasoning_tokens": 123,
"image_tokens": 123,
"rejected_prediction_tokens": 123
},
"total_tokens": 123,
"cost": {
"input_tokens_cost": 123,
"output_tokens_cost": 123,
"reasoning_tokens_cost": 123,
"citation_tokens_cost": 123,
"search_queries_cost": 123,
"request_cost": 123,
"total_cost": 123
}
},
"error_details": {
"event_id": "<string>",
"type": "<string>",
"is_bifrost_error": true,
"status_code": 123,
"error": {
"type": "<string>",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"event_id": "<string>"
},
"extra_fields": {
"provider": "anthropic",
"model_requested": "<string>",
"request_type": "<string>"
}
},
"input_history": [
{
"role": "assistant",
"name": "<string>",
"content": "<string>",
"tool_call_id": "<string>",
"refusal": "<string>",
"audio": {
"id": "<string>",
"data": "<string>",
"expires_at": 123,
"transcript": "<string>"
},
"reasoning": "<string>",
"reasoning_details": [
{
"id": "<string>",
"index": 123,
"type": "reasoning.summary",
"summary": "<string>",
"text": "<string>",
"signature": "<string>",
"data": "<string>"
}
],
"annotations": [
{
"type": "<string>",
"url_citation": {
"start_index": 123,
"end_index": 123,
"title": "<string>",
"url": "<string>",
"sources": {},
"type": "<string>"
}
}
],
"tool_calls": [
{
"function": {
"name": "<string>",
"arguments": "<string>"
},
"index": 123,
"type": "<string>",
"id": "<string>"
}
]
}
],
"responses_input_history": [
{
"id": "<string>",
"type": "message",
"status": "in_progress",
"role": "assistant",
"content": "<string>",
"call_id": "<string>",
"name": "<string>",
"arguments": "<string>",
"output": "<string>",
"action": {},
"error": "<string>",
"queries": [
"<string>"
],
"results": [
{}
],
"summary": [
{
"type": "summary_text",
"text": "<string>"
}
],
"encrypted_content": "<string>"
}
],
"output_message": {
"role": "assistant",
"name": "<string>",
"content": "<string>",
"tool_call_id": "<string>",
"refusal": "<string>",
"audio": {
"id": "<string>",
"data": "<string>",
"expires_at": 123,
"transcript": "<string>"
},
"reasoning": "<string>",
"reasoning_details": [
{
"id": "<string>",
"index": 123,
"type": "reasoning.summary",
"summary": "<string>",
"text": "<string>",
"signature": "<string>",
"data": "<string>"
}
],
"annotations": [
{
"type": "<string>",
"url_citation": {
"start_index": 123,
"end_index": 123,
"title": "<string>",
"url": "<string>",
"sources": {},
"type": "<string>"
}
}
],
"tool_calls": [
{
"function": {
"name": "<string>",
"arguments": "<string>"
},
"index": 123,
"type": "<string>",
"id": "<string>"
}
]
},
"responses_output": [
{
"id": "<string>",
"type": "message",
"status": "in_progress",
"role": "assistant",
"content": "<string>",
"call_id": "<string>",
"name": "<string>",
"arguments": "<string>",
"output": "<string>",
"action": {},
"error": "<string>",
"queries": [
"<string>"
],
"results": [
{}
],
"summary": [
{
"type": "summary_text",
"text": "<string>"
}
],
"encrypted_content": "<string>"
}
],
"embedding_output": [
[
123
]
],
"params": {},
"tools": [
{
"type": "function",
"function": {
"name": "<string>",
"description": "<string>",
"parameters": {
"type": "<string>",
"description": "<string>",
"required": [
"<string>"
],
"properties": {},
"enum": [
"<string>"
],
"additionalProperties": true
},
"strict": true
},
"custom": {
"format": {
"type": "<string>",
"grammar": {
"definition": "<string>",
"syntax": "lark"
}
}
},
"cache_control": {
"type": "ephemeral",
"ttl": "<string>"
}
}
],
"tool_calls": [
{
"function": {
"name": "<string>",
"arguments": "<string>"
},
"index": 123,
"type": "<string>",
"id": "<string>"
}
],
"speech_input": {},
"transcription_input": {},
"image_generation_input": {},
"speech_output": {},
"transcription_output": {},
"image_generation_output": {},
"cache_debug": {},
"metadata": {},
"selected_key": {},
"virtual_key": {},
"passthrough_request_body": "<string>",
"passthrough_response_body": "<string>",
"routing_engine_logs": {},
"is_large_payload_request": true,
"is_large_payload_response": true,
"rerank_output": {},
"video_generation_input": {},
"video_generation_output": {},
"video_retrieve_output": {},
"video_list_output": {},
"video_delete_output": {},
"video_download_output": {},
"list_models_output": {}
}{
"event_id": "<string>",
"type": "<string>",
"is_bifrost_error": true,
"status_code": 123,
"error": {
"type": "<string>",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"event_id": "<string>"
},
"extra_fields": {
"provider": "anthropic",
"model_requested": "<string>",
"request_type": "<string>"
}
}{
"event_id": "<string>",
"type": "<string>",
"is_bifrost_error": true,
"status_code": 123,
"error": {
"type": "<string>",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"event_id": "<string>"
},
"extra_fields": {
"provider": "anthropic",
"model_requested": "<string>",
"request_type": "<string>"
}
}Get a single log entry
Retrieves a single log entry by its ID.
A valid request URL is required to generate request examples{
"id": "<string>",
"project_id": "<string>",
"project_name": "<string>",
"parent_request_id": "<string>",
"provider": "<string>",
"model": "<string>",
"status": "processing",
"object": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"number_of_retries": 123,
"fallback_index": 123,
"latency": 123,
"cost": 123,
"selected_key_id": "<string>",
"selected_key_name": "<string>",
"virtual_key_id": "<string>",
"virtual_key_name": "<string>",
"routing_engines_used": [
"<string>"
],
"tool_call_names": [
"<string>"
],
"routing_rule_id": "<string>",
"routing_rule_name": "<string>",
"complexity_tier": "SIMPLE",
"complexity_mechanism": "semantic",
"complexity_score": 123,
"session_id": "<string>",
"stream": true,
"raw_request": "<string>",
"raw_response": "<string>",
"redaction_mapping": {
"input": {},
"output": {}
},
"created_at": "2023-11-07T05:31:56Z",
"token_usage": {
"prompt_tokens": 123,
"prompt_tokens_details": {
"text_tokens": 123,
"audio_tokens": 123,
"image_tokens": 123,
"cached_read_tokens": 123,
"cached_write_tokens": 123
},
"completion_tokens": 123,
"completion_tokens_details": {
"text_tokens": 123,
"accepted_prediction_tokens": 123,
"audio_tokens": 123,
"citation_tokens": 123,
"num_search_queries": 123,
"reasoning_tokens": 123,
"image_tokens": 123,
"rejected_prediction_tokens": 123
},
"total_tokens": 123,
"cost": {
"input_tokens_cost": 123,
"output_tokens_cost": 123,
"reasoning_tokens_cost": 123,
"citation_tokens_cost": 123,
"search_queries_cost": 123,
"request_cost": 123,
"total_cost": 123
}
},
"error_details": {
"event_id": "<string>",
"type": "<string>",
"is_bifrost_error": true,
"status_code": 123,
"error": {
"type": "<string>",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"event_id": "<string>"
},
"extra_fields": {
"provider": "anthropic",
"model_requested": "<string>",
"request_type": "<string>"
}
},
"input_history": [
{
"role": "assistant",
"name": "<string>",
"content": "<string>",
"tool_call_id": "<string>",
"refusal": "<string>",
"audio": {
"id": "<string>",
"data": "<string>",
"expires_at": 123,
"transcript": "<string>"
},
"reasoning": "<string>",
"reasoning_details": [
{
"id": "<string>",
"index": 123,
"type": "reasoning.summary",
"summary": "<string>",
"text": "<string>",
"signature": "<string>",
"data": "<string>"
}
],
"annotations": [
{
"type": "<string>",
"url_citation": {
"start_index": 123,
"end_index": 123,
"title": "<string>",
"url": "<string>",
"sources": {},
"type": "<string>"
}
}
],
"tool_calls": [
{
"function": {
"name": "<string>",
"arguments": "<string>"
},
"index": 123,
"type": "<string>",
"id": "<string>"
}
]
}
],
"responses_input_history": [
{
"id": "<string>",
"type": "message",
"status": "in_progress",
"role": "assistant",
"content": "<string>",
"call_id": "<string>",
"name": "<string>",
"arguments": "<string>",
"output": "<string>",
"action": {},
"error": "<string>",
"queries": [
"<string>"
],
"results": [
{}
],
"summary": [
{
"type": "summary_text",
"text": "<string>"
}
],
"encrypted_content": "<string>"
}
],
"output_message": {
"role": "assistant",
"name": "<string>",
"content": "<string>",
"tool_call_id": "<string>",
"refusal": "<string>",
"audio": {
"id": "<string>",
"data": "<string>",
"expires_at": 123,
"transcript": "<string>"
},
"reasoning": "<string>",
"reasoning_details": [
{
"id": "<string>",
"index": 123,
"type": "reasoning.summary",
"summary": "<string>",
"text": "<string>",
"signature": "<string>",
"data": "<string>"
}
],
"annotations": [
{
"type": "<string>",
"url_citation": {
"start_index": 123,
"end_index": 123,
"title": "<string>",
"url": "<string>",
"sources": {},
"type": "<string>"
}
}
],
"tool_calls": [
{
"function": {
"name": "<string>",
"arguments": "<string>"
},
"index": 123,
"type": "<string>",
"id": "<string>"
}
]
},
"responses_output": [
{
"id": "<string>",
"type": "message",
"status": "in_progress",
"role": "assistant",
"content": "<string>",
"call_id": "<string>",
"name": "<string>",
"arguments": "<string>",
"output": "<string>",
"action": {},
"error": "<string>",
"queries": [
"<string>"
],
"results": [
{}
],
"summary": [
{
"type": "summary_text",
"text": "<string>"
}
],
"encrypted_content": "<string>"
}
],
"embedding_output": [
[
123
]
],
"params": {},
"tools": [
{
"type": "function",
"function": {
"name": "<string>",
"description": "<string>",
"parameters": {
"type": "<string>",
"description": "<string>",
"required": [
"<string>"
],
"properties": {},
"enum": [
"<string>"
],
"additionalProperties": true
},
"strict": true
},
"custom": {
"format": {
"type": "<string>",
"grammar": {
"definition": "<string>",
"syntax": "lark"
}
}
},
"cache_control": {
"type": "ephemeral",
"ttl": "<string>"
}
}
],
"tool_calls": [
{
"function": {
"name": "<string>",
"arguments": "<string>"
},
"index": 123,
"type": "<string>",
"id": "<string>"
}
],
"speech_input": {},
"transcription_input": {},
"image_generation_input": {},
"speech_output": {},
"transcription_output": {},
"image_generation_output": {},
"cache_debug": {},
"metadata": {},
"selected_key": {},
"virtual_key": {},
"passthrough_request_body": "<string>",
"passthrough_response_body": "<string>",
"routing_engine_logs": {},
"is_large_payload_request": true,
"is_large_payload_response": true,
"rerank_output": {},
"video_generation_input": {},
"video_generation_output": {},
"video_retrieve_output": {},
"video_list_output": {},
"video_delete_output": {},
"video_download_output": {},
"list_models_output": {}
}{
"event_id": "<string>",
"type": "<string>",
"is_bifrost_error": true,
"status_code": 123,
"error": {
"type": "<string>",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"event_id": "<string>"
},
"extra_fields": {
"provider": "anthropic",
"model_requested": "<string>",
"request_type": "<string>"
}
}{
"event_id": "<string>",
"type": "<string>",
"is_bifrost_error": true,
"status_code": 123,
"error": {
"type": "<string>",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"event_id": "<string>"
},
"extra_fields": {
"provider": "anthropic",
"model_requested": "<string>",
"request_type": "<string>"
}
}Authorizations
Management API authentication for /api/* endpoints. Use the Authorization header
with Bearer <token>, where <token> is one of:
- a Bifrost management API key,
- a dashboard session token issued by
POST /api/session/login, - base64 of
<admin-username>:<admin-password>(legacy equivalent ofBasicAuth).
Virtual keys (sk-bf-*) and the x-api-key header are not accepted on management APIs -
the sole exception is GET /api/governance/virtual-keys/quota, which is virtual-key-only.
Path Parameters
Log entry ID
Response
Successful response
Log entry
The governance project the request was scoped to, or null when it named none. This is the resolved project, not the header the caller sent.
The project's name as it stood when the request was served, kept on the row so it still reads correctly after a rename or a delete.
processing, success, error Array of routing engines used for this request (routing-rule, governance, or loadbalancing)
Distinct function names the response called. Always recorded, even when content logging is disabled, and kept on the log row in hybrid storage mode. Use the tool_call_names query filter to search on it. Full tool calls with arguments are in tool_calls and are available only when content is retained.
Complexity tier used for routing; null when no routing rule referenced complexity_tier. REASONING is historical-only — it was merged into COMPLEX and is never emitted for new requests, but survives in log rows recorded under the old scheme.
SIMPLE, MEDIUM, COMPLEX, REASONING How the effective complexity tier was determined. session means retained session state supplied the tier; skipped means classification was demanded but produced no tier.
semantic, llm, session, skipped, null Similarity score of the nearest reference phrase behind the tier. Absent for llm, session, and skipped decisions.
Raw opaque Bifrost session ID resolved at ingress for key stickiness and request correlation.
Phase-scoped placeholder-to-original-value mappings for reversible redactions. Present only on log detail responses when the caller has Logs:Reveal.
Show child attributes
Show child attributes
Token usage information
Show child attributes
Show child attributes
Error response from Bifrost
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Custom metadata captured from request headers (configured via logging_headers or x-bf-lh-* prefix)
Raw passthrough request body (for passthrough integration routes)
Raw passthrough response body (for passthrough integration routes)
Detailed logs from the routing engine decision process
Whether the request payload exceeded the large payload threshold
Whether the response payload exceeded the large payload threshold
Rerank operation output
Video generation request input
Video generation response output
Video retrieve response output
Video list response output
Video delete response output
Video download response output
List models response output
Was this page helpful?

