Get Gateway Log Details.
External DocumentationTo learn more, visit the Cloudflare documentation.

Parameters

ParameterDescription
Account IDYour Cloudflare Account ID.
Gateway IDThe ID of the Gateway.
Log IDThe log ID to get details on, can be obtained from List Gateway Logs.

Example Output

{
	"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
Workflow LibraryPreview this Workflow on desktop