GET
/
model
{
  "total": 123,
  "items": [
    {
      "_id": "<string>",
      "type": "svc",
      "title": "<string>",
      "description": "<string>",
      "cover_image": "<string>",
      "train_mode": "full",
      "state": "created",
      "tags": [
        "<string>"
      ],
      "samples": [],
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z",
      "languages": [],
      "visibility": "public",
      "lock_visibility": false,
      "like_count": 123,
      "mark_count": 123,
      "shared_count": 123,
      "task_count": 123,
      "unliked": false,
      "liked": false,
      "marked": false,
      "author": {
        "_id": "<string>",
        "nickname": "<string>",
        "avatar": "<string>"
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Query Parameters

page_size
integer
default:
10

Page size

page_number
integer
default:
1

Page number

title
string | null

Title to filter models

tag

Tag to filter models

self
boolean
default:
false

If True, only models created by the user will be returned

author_id
string | null

Author ID to filter models, this will be ignored if self is True

language

Language to filter models

title_language

Title language to filter models

sort_by
enum<string>
default:
score
Available options:
score,
task_count,
created_at

Response

200
application/json
Request fulfilled, document follows
total
integer
required
items
object[]
required