Skip to main content
GET
List Disposition Versions

Overview

Dispositions are enabled per organization. If your organization does not have access, these endpoints return 404.
Returns the immutable versions created by Publish Disposition, highest versionNumber first, 25 per page. Page backwards with beforeVersion. Each entry carries the full frozen definition; fetch a single one with Get Disposition Version.

Headers

string
required
Your API key for authentication.

Path Parameters

string
required
The agent’s unique identifier. Must be a UUID; otherwise returns 400 with the message agentId must be a valid UUID. Returns 404 Agent not found if the agent is not in your organization.
string
required
The disposition’s unique identifier. Must be a UUID; otherwise returns 400 with the message dispositionId must be a valid UUID. Returns 404 Disposition not found if it does not belong to this agent.

Query Parameters

integer
Cursor for the next page: return only versions with versionNumber strictly less than this value. Use the nextCursor from the previous response. Must be a positive integer; otherwise returns 400 with the message beforeVersion must be a positive safe integer.

Response

array
Up to 25 version objects, ordered by versionNumber descending.
number | null
The versionNumber to pass as beforeVersion for the next page, or null when there are no older versions.
null | array
null on success, or a list of error objects if the request failed.

Docs for agents: llms.txt