List Gateway Logs.
External Documentation
To learn more, visit the Cloudflare documentation.
Parameter | Description |
---|---|
Account ID | Your Cloudflare Account ID. |
Gateway ID | The ID of the Gateway. |
Order By | The Sorting criterion for the returned results. |
Order By Direction | Direction to order the results. |
Search Text | Text to search in logs. |
Parameter | Description |
---|---|
Page | The page number to show results from. |
Per Page | Maximum number of results per page. (in range 1-50). |
{
"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
}
List Gateway Logs with Cloudflare and Send Results Via Email
Preview this Workflow on desktop
Was this page helpful?