Skip to main content
GET
/
v1
/
models
/
messagepart
/
{id}
Read messagepart
curl --request GET \
  --url https://api.abloatai.com/v1/models/messagepart/{id} \
  --header 'Authorization: Bearer <token>'
{
  "object": "<string>",
  "model": "<string>",
  "id": "<string>",
  "data": {
    "messageId": "<string>",
    "order": 0,
    "id": "<string>",
    "textContent": "<string>",
    "reasoningContent": "<string>",
    "fileAttachmentId": "<string>",
    "fileName": "<string>",
    "fileType": "<string>",
    "toolName": "<string>",
    "toolCallId": "<string>",
    "toolInput": null,
    "toolOutput": null,
    "toolState": "<string>",
    "dataType": "<string>",
    "dataContent": null,
    "metadata": "<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 messagepart record.

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

A messagepart record as returned by reads.

stamp
integer
claims
object[]