Spavik
API referenceUsage and plans

List API requests

GET /v1/requests

Download OpenAPI
GET
/v1/requests

Authorization

apiKey
headerX-Spavik-Api-Key<token>

Spavik integration API key (sk-spv-api-...), sent in X-Spavik-Api-Key.

Query Parameters

from?string
Formatdate
to?string
Formatdate
status?string
Value in"all""error"
limit?integer
Range1 <= value <= 500
Default100

Header Parameters

User-Agent?string

Information 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.

Lengthlength <= 1024
X-Spavik-Client-Name?string

HTTP 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.

Lengthlength <= 128
X-Spavik-Client-Version?string

Version 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.

Lengthlength <= 64

Response Body

Success

application/json
  1. response
window?
n_requests?integer
requests?array<>
import requestsurl = "https://api.spavik.co/v1/requests"response = requests.request("GET", url)print(response.text)
{  "window": {},  "n_requests": 0,  "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