Skip to main content
GET
/
v1
/
models
/
favorite
/
{id}
Read favorite
curl --request GET \
  --url https://api.abloatai.com/v1/models/favorite/{id} \
  --header 'Authorization: Bearer <token>'
{
  "object": "<string>",
  "model": "<string>",
  "id": "<string>",
  "data": {
    "userId": "<string>",
    "entityType": "<string>",
    "entityId": "<string>",
    "id": "<string>"
  },
  "stamp": 123,
  "claims": [
    {
      "id": "<string>",
      "actor": "<string>",
      "action": "<string>",
      "field": "<string>",
      "expiresAt": "2023-11-07T05:31:56Z",
      "target": {
        "resource": "<string>",
        "id": "<string>",
        "path": "<string>",
        "field": "<string>"
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

API key (sk_live_…) or a scoped capability token. The same header carries both — the server discriminates by token shape.

Path Parameters

id
string
required

Record id.

Response

The favorite record.

object
string
Allowed value: "model"
model
string
Allowed value: "favorite"
id
string
data
object

A favorite record as returned by reads.

stamp
integer
claims
object[]