Skip to main content
GET
Get models

Authorizations

Authorization
string
header
required

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

Query Parameters

page
integer
default:1

Page number. Starts from the first (1) page.

per_page
integer
default:100

Number of records to return per page.

repository_type
enum<string>

Filter models by repository type. Can be specified multiple times to filter by multiple types.

Available options:
hugging_face,
narrative
order_by
enum<string>

Sort order for results.

Available options:
created_at_asc,
created_at_desc

Response

OK

records
object[]
required
prev_page
integer<int64>

The number of previous page (if exists).

Example:

1

current_page
integer<int64>

The number of requested page.

Example:

1

next_page
integer<int64>

The number of next page (if exists).

Example:

2

total_records
integer<int64>

Total number of model records.

Example:

15

total_pages
integer<int64>

Total number of pages.

Example:

2