Skip to main content
GET
Get Latest Disposition Backfill

Overview

Dispositions are enabled per organization. If your organization does not have access, these endpoints return 404.
Returns the newest backfill of one version, whatever its status. Use it when you don’t have the backfill’s id. Check status to see whether it is still queued or running. data is null if the version has no backfill, or if the disposition has never been published and you don’t pass versionId.

Headers

string
required
Your API key for authentication. Use a full-access key.

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

string
The version to check. Defaults to the published version, so pass this to find a backfill of an older one. Must be a UUID; otherwise returns 400 with the message versionId must be a valid UUID. A draft returns 400 with the message Only a published or archived version can have a backfill. Returns 404 Disposition version not found if it does not belong to this disposition.

Response

object | null
The backfill, or null if there is none.
null | array
null on success, or a list of error objects if the request failed.

Docs for agents: llms.txt