List API requests
GET /v1/requests
apiKeyX-Spavik-Api-Key<token>Spavik integration API key (sk-spv-api-...), sent in X-Spavik-Api-Key.
from?stringdateto?stringdatestatus?string"all""error"limit?integerCalls per page.
1 <= value <= 500100cursor?stringnext_cursor from the preceding page. Send the same from, to and status: the cursor only marks where the previous page stopped.
length <= 512User-Agent?stringInformation about the agent originating the request, when known. Browsers supply their own value. Optional diagnostic metadata, declared by the caller and never used for authorization. Omit unknown values. Values are trimmed and truncated to the documented length.
length <= 1024X-Spavik-Client-Name?stringHTTP caller: SDK, MCP server or direct application (for example spavik-sdk-python, spavik-sdk-javascript or spavik-mcp). Optional diagnostic metadata, declared by the caller and never used for authorization. Omit unknown values. Values are trimmed and truncated to the documented length.
length <= 128X-Spavik-Client-Version?stringVersion of that SDK, MCP server or direct application. Optional diagnostic metadata, declared by the caller and never used for authorization. Omit unknown values. Values are trimmed and truncated to the documented length.
length <= 64Success
application/json- response
window?n_requests?integerCalls in this page.
next_cursor?stringPass it as cursor to read the next, older page. Null on the last page.
requests?array<>import requestsurl = "https://api.spavik.co/v1/requests"response = requests.request("GET", url)print(response.text){ "window": {}, "n_requests": 0, "next_cursor": "string", "requests": [ { "request_id": "string", "at": "2019-08-24T14:15:22Z", "method": "string", "path": "string", "status": 0, "error": { "code": "string", "detail": "string" }, "duration_ms": 0, "workspace_id": "string", "api_key_id": "string", "billing_user_id": "string", "actor_user_id": "string", "auth_method": "jwt", "client_ip": "string", "user_agent": "string", "client_name": "string", "client_version": "string" } ]}How is this guide?
Last updated on