Skip to navigation

Retrieve a model

Returns one model by id. An id that is not in the model list returns a 404 with the code model_not_found.

Authentication

AuthorizationBearer

Your ASI:One API key, sent as Authorization: Bearer <api_key>.

Path parameters

modelstringRequired

The model id, for example asi1-ultra.

Response headers

X-Request-IdstringOptional

Correlation id for this request, present on every response: the caller-supplied X-Request-Id when one was sent, otherwise minted by the API. Backends log it and traces key on it, so cite it when reporting an issue.

Response

The model.
idstring

The model id, used as model in requests.

object"model"
createdinteger

Unix timestamp of when the model was created. Always 0 on ASI:One.

owned_bystring

The owner of the model. Always asi1.

Errors

401
Unauthorized Error
404
Not Found Error
503
Service Unavailable Error