Spavik
API referenceModels

List models

GET /v1/models

Download OpenAPI
GET
/v1/models

Authorization

apiKey
headerX-Spavik-Api-Key<token>

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

Query Parameters

limit?integer
Rangevalue <= 200
Default50
offset?integer
Default0
status?"archived"

Serving models by default. archived lists what was set aside, so it can be found again and restored. Deleted models are never listed.

Value in"archived"

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
data?array<>
pagination?
import requestsurl = "https://api.spavik.co/v1/models"response = requests.request("GET", url)print(response.text)
{  "data": [    {      "id": "string",      "name": "string",      "slug": "string",      "engine_family": "flair",      "target": "string",      "task": "classification",      "engine": "string",      "feature_columns": [        "string"      ],      "status": "string",      "auto_update": true,      "retain_outcomes": true,      "latest_version": 0,      "created_at": "2019-08-24T14:15:22Z"    }  ],  "pagination": {    "total": 0,    "limit": 0,    "offset": 0,    "has_more": true  }}

How is this guide?

Last updated on