Retrieve model
GET /v1/models/{model}
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
model | path | string | Yes | The model ID (alias or dated version) to retrieve. |
Responses
200
OK
Content type: application/json
| Field | Type | Required | Description |
|---|---|---|---|
id | string | Yes | The model identifier (alias or dated version). |
object | string | Yes | The object type, always “model”. |
created | integer | Yes | Unix timestamp (seconds) of when the model version was created. |
owned_by | string | Yes | Organization that owns the model. |
default
Error
Content type: application/problem+json
| Field | Type | Required | Description |
|---|---|---|---|
detail | string | No | A human-readable explanation specific to this occurrence of the problem. |
errors | array of object | No | Optional list of individual error details |
instance | string | No | A URI reference that identifies the specific occurrence of the problem. |
status | integer | No | HTTP status code |
title | string | No | A short, human-readable summary of the problem type. This value should not change between occurrences of the error. |
type | string | No | A URI reference to human-readable documentation for the error. |
errors[]
| Field | Type | Required | Description |
|---|---|---|---|
location | string | No | Where the error occurred, e.g. ‘body.items[3].tags’ or ‘path.thing-id’ |
message | string | No | Error message text |
value | any | No | The value at the given location |
Examples
Retrieve a model
curl https://api.example.com/v1/models/flint-alpha \
-H "Authorization: Bearer $SPRINGBOARDS_API_KEY"