Skip to main content
POST
Python SDK

Access

This operation needs a Parable token. An MCP token cannot call it. See Authentication for the kinds of token. Your roles must grant tenant.parables.runs.budget.override.

Errors

  • PA-AU-001: The Parable, the Report run or the Plot was not found in this Workspace. Check the rootRefId, reportRunId and plotKey.
  • PA-AU-019: The caller cannot raise a budget on this Parable. Use a Workspace identity with the budget override permission and the Primary seat.
  • PA-AU-005: No cap was given or a cap is not above the current cap and what the Plot has used (400), or the Plot is not paused at its budget (409). Give at least one cap above both the current cap and the use so far, on a Plot that shows Budget paused.

Authorizations

Authorization
string
header
required

A personal access token, which starts with pat_. A Parable token can call each operation that the roles of its owner allow. An MCP token can call only the read operations that are open to agents. A SQL token does not work on this API.

Headers

X-Tenant
string

Workspace slug. Overrides subdomain-based workspace resolution when provided.

Example:

"acme"

X-Request-ID
string<uuid>

Optional request correlation ID echoed back in the response.

Example:

"550e8400-e29b-41d4-a716-446655440000"

Path Parameters

rootRefId
string
required

rootRefId parameter UUID v4 with automatic base62 encoding for client-facing APIs

reportRunId
string
required

reportRunId parameter UUID v4 with automatic base62 encoding for client-facing APIs

plotKey
string
required

plotKey parameter UUID v4 with automatic base62 encoding for client-facing APIs

Body

application/json

New caps for a query run that Parable paused at its budget (BUDGET_EXCEEDED). At least one cap is required, and Parable decides: each cap must exceed the run's current cap and what it has already used -- spend for maxCost, calls for maxExternalCalls, and the time since the run started for maxRuntime. The caps are the run's; the Plot's published caps never change.

maxCost
integer<int64> | null

Smallest currency unit, as every Plot cost cap.

Required range: 0 <= x <= 9007199254740991
maxExternalCalls
number<double> | null
Required range: x >= 0
maxRuntime
integer<int64> | null

Signed integer count of milliseconds: an amount of elapsed time, never a point in time. An epoch timestamp is Temporal.DateTime with x-temporal-format: unix_millis.

Required range: 0 <= x <= 9007199254740991

Response

Successful response

data
object
required

One reading, and the version it read. publishedCommitId is never a version string such as v2.3. Read the version's number from the published commit.

meta
object
required