List Gateway Logs.

External Documentation

To learn more, visit the Cloudflare documentation.

Basic Parameters

ParameterDescription
Account IDYour Cloudflare Account ID.
Gateway IDThe ID of the Gateway.
Order ByThe Sorting criterion for the returned results.
Order By DirectionDirection to order the results.
Search TextText to search in logs.

Advanced Parameters

ParameterDescription
PageThe page number to show results from.
Per PageMaximum number of results per page. (in range 1-50).

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_type": "request_type",
			"response_content_type": "response_content_type",
			"status_code": 0,
			"step": 0
		}
	],
	"result_info": {
		"count": 0,
		"max_cost": 0,
		"max_duration": 0,
		"max_tokens_in": 0,
		"max_tokens_out": 0,
		"max_total_tokens": 0,
		"min_cost": 0,
		"min_duration": 0,
		"min_tokens_in": 0,
		"min_tokens_out": 0,
		"min_total_tokens": 0,
		"page": 0,
		"per_page": 0,
		"total_count": 0
	},
	"success": true
}

Workflow Library Example

List Gateway Logs with Cloudflare and Send Results Via Email

Preview this Workflow on desktop