External DocumentationTo learn more, visit the Cloudflare documentation.
Actions
Get AI Gateway Log Details
Get AI gateway log details.

Preview this Workflow on desktop
Was this page helpful?
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
| Parameter | Description |
|---|---|
| AI Gateway ID | The ID of the AI gateway. |
| Account ID | Your Cloudflare Account ID. |
| Log ID | The log ID to get details on, can be obtained from List AI Gateway Logs. |
{
"result": {
"id": "id",
"cached": true,
"duration": 0,
"model": "model",
"path": "path",
"provider": "provider",
"success": true,
"tokens_in": 0,
"tokens_out": 0,
"cost": 0,
"custom_cost": true,
"metadata": "metadata",
"model_type": "model_type",
"request_content_type": "request_content_type",
"request_head": "request_head",
"request_head_complete": true,
"request_size": 0,
"request_type": "request_type",
"response_content_type": "response_content_type",
"response_head": "response_head",
"response_head_complete": true,
"response_size": 0,
"status_code": 0,
"step": 0
},
"success": true
}
Was this page helpful?