Skip to main content
GET
/
conversations
/
{id}
/
messages
List messages
curl --request GET \
  --url https://api.veryfront.com/conversations/{id}/messages \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "id": "<string>",
      "conversationId": "<string>",
      "seq": 123,
      "role": "<string>",
      "parts": [
        {}
      ],
      "status": "<string>",
      "createdAt": "<string>",
      "parentId": "<string>",
      "createdBy": "<string>",
      "model": "<string>",
      "tokenUsage": null,
      "finishReason": "<string>",
      "costCredits": "<string>",
      "editedAt": "<string>",
      "idempotencyKey": "<string>",
      "metadata": null,
      "updatedAt": "<string>"
    }
  ],
  "hasMore": true,
  "nextCursor": 123
}

Authorizations

Authorization
string
header
required

Authentication via JWT token or API key. JWT: Get from Veryfront dashboard. API Key: Format "vf__" - create via /api-keys endpoint.

Path Parameters

id
string<uuid>
required

Conversation ID

Query Parameters

after
number | null

After sequence number

limit
number

Page size (default 50, max 100)

Required range: 1 <= x <= 100

Response

200 - application/json

Message list

items
object[]
required
hasMore
boolean
required
nextCursor
number | null