dambel

دمبل

shevron
ورود | ثبت نام

API Docs / ai / threads / messages / index



GET /api/v1/ai/threads/{thread-id}/messages

Retrieves a list of messages in a specific AI thread, with support for pagination.


Permissions

PermissionDescription
ai_thread_messages.viewView your own thread messages

URL Parameters

NameTypeRequiredDescriptionExample
thread-idintYesID of the thread123

Query Parameters

NameTypeRequiredDescriptionExample
pageintNoPage number for pagination1

Request Example

GET /api/v1/ai/threads/123/messages?page=1
Authorization: Bearer {token}

Response

200 OK

Returns a paginated list of AI thread message resources.

Example

{
  "data": [ { /* ai thread message resource */ }, ... ],
  "links": { /* pagination data */ },
  "meta": { /* pagination data */ }
}

For a full schema, see AI Thread Message Resource and Pagination Data (per page: 100).


Error Responses

StatusDescriptionReference
401UnauthorizedAuthentication error
403Forbidden (no permission)Permission error
footer wave
logo

دمبل، دنیای هوشمند ورزش و تغذیه

LinkedinInstagramXYoutube