Favorites
Current runtime: accounts, favorites and community are unavailable. Provider discovery reports disabled; other identity APIs return the existing private, no-store 503 response. The Rust HTTP implementation is archived. This page preserves its contract for a future JavaScript implementation; configuration alone does not enable it. See the runtime/recovery guide.
Favorites are private links from a signed-in user to canonical model identities. An unambiguous alias is resolved before saving so one model does not create multiple favorites.
List pages return at most 48 model cards and a next_cursor; pass that value as after. Save and remove operations accept a model ID. The batch status operation checks up to 100 canonical IDs, which is useful for favorite buttons on a library page. Every mutation requires the session-bound CSRF header and an exact Origin.
On this page
- List up to 48 saved model cards ·
GET /account/favorites - Save or remove a canonical model favorite ·
PUT /account/favorites - Save or remove a canonical model favorite ·
DELETE /account/favorites - Read favorite state for up to 100 canonical IDs ·
POST /account/favorites/status
List up to 48 saved model cards
GET /api/v1/account/favorites
Availability: account/community configuration must be enabled (except /auth/providers).
Access: browser session. See Authentication.
Parameters
| Name | Location | Required | Type / limits | Meaning |
|---|---|---|---|---|
after | query | No | string | Exclusive canonical model ID cursor from the preceding favorites page’s next_cursor. Omit for the first page. |
Request example
curl 'https://tensortrace.net/api/v1/account/favorites' \
--cookie 'cookies.txt'
Responses
| Status | Meaning | Body type |
|---|---|---|
200 | Private, no-store response. | object |
400 | Invalid input, expired or consumed token | No declared JSON body |
401 | Sign-in required or incorrect credentials | No declared JSON body |
403 | Origin/CSRF failure or username confirmation required | No declared JSON body |
404 | Resource not found | No declared JSON body |
409 | Username or identity conflict | No declared JSON body |
429 | Rate limited; retry later | No declared JSON body |
503 | Account feature or provider/mail configuration unavailable | No declared JSON body |
Response example · 200
Illustrative values; schema-valid and not a live catalog measurement.
{
"next_cursor": "example",
"data": [
{}
]
}
| Field | Type | Required | Meaning / constraints |
|---|---|---|---|
data | array of object | No | |
next_cursor | string,null | No |
Save or remove a canonical model favorite
PUT /api/v1/account/favorites
Availability: account/community configuration must be enabled (except /auth/providers).
Access: browser session, session-bound CSRF token and exact Origin. See Authentication.
Parameters
This operation has no path or query parameters.
Request body
Content type: application/json. Required.
| Field | Type | Required | Meaning / constraints |
|---|---|---|---|
model_id | string | Yes | Canonical model ID, or an unambiguous model alias resolved by the server. Max. length: 512 |
Request example
curl -X PUT 'https://tensortrace.net/api/v1/account/favorites' \
--cookie 'cookies.txt' \
-H 'Origin: https://tensortrace.net' \
-H 'X-CSRF-Token: SESSION_CSRF_TOKEN' \
-H 'Content-Type: application/json' \
--data '{"model_id":"google/gemini-2.5-flash"}'
Responses
| Status | Meaning | Body type |
|---|---|---|
200 | Private, no-store response. | object |
400 | Invalid input, expired or consumed token | No declared JSON body |
401 | Sign-in required or incorrect credentials | No declared JSON body |
403 | Origin/CSRF failure or username confirmation required | No declared JSON body |
404 | Resource not found | No declared JSON body |
409 | Username or identity conflict | No declared JSON body |
429 | Rate limited; retry later | No declared JSON body |
503 | Account feature or provider/mail configuration unavailable | No declared JSON body |
Response example · 200
Illustrative values; schema-valid and not a live catalog measurement.
{
"model_id": "google/gemini-2.5-flash",
"favorite": false
}
| Field | Type | Required | Meaning / constraints |
|---|---|---|---|
model_id | string | No | |
favorite | boolean | No |
Save or remove a canonical model favorite
DELETE /api/v1/account/favorites
Availability: account/community configuration must be enabled (except /auth/providers).
Access: browser session, session-bound CSRF token and exact Origin. See Authentication.
Parameters
This operation has no path or query parameters.
Request body
Content type: application/json. Required.
| Field | Type | Required | Meaning / constraints |
|---|---|---|---|
model_id | string | Yes | Canonical model ID, or an unambiguous model alias resolved by the server. Max. length: 512 |
Request example
curl -X DELETE 'https://tensortrace.net/api/v1/account/favorites' \
--cookie 'cookies.txt' \
-H 'Origin: https://tensortrace.net' \
-H 'X-CSRF-Token: SESSION_CSRF_TOKEN' \
-H 'Content-Type: application/json' \
--data '{"model_id":"google/gemini-2.5-flash"}'
Responses
| Status | Meaning | Body type |
|---|---|---|
200 | Private, no-store response. | object |
400 | Invalid input, expired or consumed token | No declared JSON body |
401 | Sign-in required or incorrect credentials | No declared JSON body |
403 | Origin/CSRF failure or username confirmation required | No declared JSON body |
404 | Resource not found | No declared JSON body |
409 | Username or identity conflict | No declared JSON body |
429 | Rate limited; retry later | No declared JSON body |
503 | Account feature or provider/mail configuration unavailable | No declared JSON body |
Response example · 200
Illustrative values; schema-valid and not a live catalog measurement.
{
"model_id": "google/gemini-2.5-flash",
"favorite": false
}
| Field | Type | Required | Meaning / constraints |
|---|---|---|---|
model_id | string | No | |
favorite | boolean | No |
Read favorite state for up to 100 canonical IDs
POST /api/v1/account/favorites/status
Availability: account/community configuration must be enabled (except /auth/providers).
Access: browser session, session-bound CSRF token and exact Origin. See Authentication.
Parameters
This operation has no path or query parameters.
Request body
Content type: application/json. Required.
| Field | Type | Required | Meaning / constraints |
|---|---|---|---|
model_ids | array of string | Yes | Canonical model IDs whose favorite state is requested; at most 100 IDs. Max. items: 100 |
Request example
curl -X POST 'https://tensortrace.net/api/v1/account/favorites/status' \
--cookie 'cookies.txt' \
-H 'Origin: https://tensortrace.net' \
-H 'X-CSRF-Token: SESSION_CSRF_TOKEN' \
-H 'Content-Type: application/json' \
--data '{"model_ids":["example"]}'
Responses
| Status | Meaning | Body type |
|---|---|---|
200 | Private, no-store response. | object |
400 | Invalid input, expired or consumed token | No declared JSON body |
401 | Sign-in required or incorrect credentials | No declared JSON body |
403 | Origin/CSRF failure or username confirmation required | No declared JSON body |
404 | Resource not found | No declared JSON body |
409 | Username or identity conflict | No declared JSON body |
429 | Rate limited; retry later | No declared JSON body |
503 | Account feature or provider/mail configuration unavailable | No declared JSON body |
Response example · 200
Illustrative values; schema-valid and not a live catalog measurement.
{
"model_ids": [
"example"
]
}
| Field | Type | Required | Meaning / constraints |
|---|---|---|---|
model_ids | array of string | No |