Skip to main content
GET
Get a model

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

model_id
integer<int64>
required

Unique identifier for a model.

Response

OK

id
integer<int64>
required

Unique identifier for the model.

company_id
integer<int64>
required

The ID of the company that owns this model.

name
string
required

A unique identifier for the model within the company's namespace.

Model names must consist of only alphanumeric characters, underscores, dashes, and dots, and be <= 256 characters long.

license_id
string
required

The license identifier (e.g., "META-LLAMA-COMMUNITY-3.1", "apache-2.0").

repository
object
required
Example:
collaborators
object
required

Defines which companies have access to train and run inference on this model.

Example:
tags
string[]
required

List of tags associated with the model.

created_at
string<date-time>
required

When the model was created.

version
integer
required

Model version number.

status
enum<string>
required

Current status of the model.

Available options:
active,
archived
display_name
string

A human readable name for the model.

Model names must be non-empty and can only contain up to 512 characters.

description
string

Optional description of the model.

base_model_id
integer<int64>

ID of the base model this model was derived from (if applicable).

updated_at
string<date-time>

When the model was last updated.

archived_at
string<date-time>

When the model was archived (if applicable).