Search
Search models
Retrieve a list of models that match the search query. If the user is authenticated, private models they have access to may also be included in the results.
AuthorizationBearer <token>
In: header
Query Parameters
cursor?Cursor
The starting point to fetch the next set of items.
page_size?Page Size
The number of results per page.
Default
25Range
5 <= value <= 50qQ
The search query.
Length
1 <= length <= 50Response Body
curl -X GET "https://api.wrift.ai/v1/search/models?cursor=string&page_size=25&q=string"{
"items": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"created_at": "2019-08-24T14:15:22Z",
"visibility": "private",
"description": "string",
"updated_at": "2019-08-24T14:15:22Z",
"source_url": "http://example.com",
"license_url": "http://example.com",
"paper_url": "http://example.com",
"owner": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"username": "string",
"avatar_url": "string"
},
"predictions_count": 0,
"categories": [
{
"name": "string",
"slug": "string"
}
]
}
],
"next_cursor": "string",
"previous_cursor": "string",
"next_url": "http://example.com",
"previous_url": "http://example.com"
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}