Arkloop Developers

Threads

All endpoints require Bearer Token (or API Key) authentication.

Create Thread

POST /v1/threads

Request Body

FieldTypeRequiredDescription
titlestringNoThread title
is_privateboolNoWhether it's private, defaults to false

Response

{
  "id": "...",
  "org_id": "...",
  "created_by_user_id": "...",
  "title": "My first conversation",
  "project_id": null,
  "created_at": "2024-01-01T00:00:00Z",
  "active_run_id": null,
  "is_private": false
}

List Threads

GET /v1/threads

Query Parameters

ParameterTypeDescription
limitintNumber of items per page
beforestringCursor for pagination
project_idstringFilter by project

Search Threads

GET /v1/threads/search

Query Parameters

ParameterTypeDescription
qstringSearch keywords
limitintNumber of items per page

Starred Threads

GET /v1/threads/starred

Get Thread Details

GET /v1/threads/{thread_id}

Update Thread

PATCH /v1/threads/{thread_id}

Request Body

FieldTypeDescription
titlestring | nullTitle (null to clear)
project_idstring | nullAssociated project

Delete Thread

DELETE /v1/threads/{thread_id}

Star / Unstar Thread

POST   /v1/threads/{thread_id}/star
DELETE /v1/threads/{thread_id}/star

On this page