Agents

List agent threads

The conversations agent runs have kept, most recently used first: from POST /computers/{id}/agent and POST /chat/completions, unless a run sent store: false. A key confined to a workspace lists that workspace’s. An account keeps its 1000 most recently used threads; making another deletes the one used longest ago. Members and owners may read them; viewers cannot, since a prompt is where private text ends up.

Requires the member role or higher.

get/agent/threads

Request

  • Base URL: https://app.mandala.computer/api/v1
  • URL: https://app.mandala.computer/api/v1/agent/threads
  • Auth: HTTP bearer

Query parameters

computer_idstring

Only this computer’s threads.

limitinteger

How many to return. Outside 1 to 100 is a 400.

beforestring

The id of the last thread of the previous page, for the page after it. One this key cannot see is a 400.

Response

One page of threads.

has_moreboolean required

Whether another page follows; pass the last thread’s id as before to get it.

Changes

No recorded changes to this operation across all 1 revision of this API.