List models
GET /v1/models
apiKeyX-Spavik-Api-Key<token>Spavik integration API key (sk-spv-api-...), sent in X-Spavik-Api-Key.
limit?integervalue <= 20050offset?integer0status?"archived"Serving models by default. archived lists what was set aside, so it can be found again and restored. Deleted models are never listed.
"archived"User-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
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