> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Gateway Log Details

Get Gateway Log Details.

<Note>
  External Documentation

  To learn more, visit the [Cloudflare documentation](https://developers.cloudflare.com/api/resources/ai_gateway/subresources/logs/methods/get/).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter  | Description                                                             |
  | ---------- | ----------------------------------------------------------------------- |
  | Account ID | Your Cloudflare Account ID.                                             |
  | Gateway ID | The ID of the Gateway.                                                  |
  | Log ID     | The log ID to get details on, can be obtained from `List Gateway Logs`. |
</div>

## Example Output

```json theme={"dark"}
{
	"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
}
```

## Workflow Library Example

[Get Gateway Log Details with Cloudflare and Send Results Via Email](https://library.blinkops.com/workflows/get-gateway-log-details-with-cloudflare-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/get-gateway-log-details-with-cloudflare-and-send-results-via-email/canvas" />
</div>
