Skip to main content
GET
/
models
/
{model}
Retrieve model
curl --request GET \
  --url https://api.anyapi.ai/v1/models/{model} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "object": "model",
  "created": 123,
  "owned_by": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer token authentication. Get your API key from the dashboard.

Path Parameters

model
string
required

The ID of the model to use for this request

Response

200 - application/json

Successful response

id
string
required

The model identifier

object
enum<string>
required

The object type

Available options:
model
created
integer
required

The Unix timestamp (in seconds) when the model was created

owned_by
string
required

The organization that owns the model

I