dambel

دمبل

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

API Docs / ai / threads / index



GET /api/v1/ai/threads

Retrieves a list of your AI threads, with support for filtering and pagination.


Permissions

PermissionDescription
ai_threads.viewView your own threads

Query Parameters

NameTypeRequiredDescriptionExample
searchstringNoSearch by title"project"
context_typestringNoFilter by context type(s), comma-separated"plan,post"
context_idstringNoFilter by context ID(s), comma-separated"1,2,3"
sortstringNoSort order: desc or asc (default desc)"desc"
pageintNoPage number for pagination1

Request Example

GET /api/v1/ai/threads?search=project&sort=desc&page=1
Authorization: Bearer {token}

Response

200 OK

Returns a paginated list of AI thread resources.

Example

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

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


Error Responses

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

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

LinkedinInstagramXYoutube