MCP Gateway
ApiObservability

Export logs

Export tool call logs as a JSON or CSV file download. Supports filtering by server and time range.

GET
/api/v1/observability/logs/export

Query Parameters

server_id?|
source_type?|

Filter by source: server, sandbox

from_time?|
to_time?|
format?string
Default"json"
Match^(json|csv)$

Response Body

application/json

application/json

curl -X GET "https://loading/api/v1/observability/logs/export"
null
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}