Skip to content

Replan Desk Decision

POST
/desk/decisions/{decision_id}/replan

SPENDS CREDITS. Gather fresh evidence and write a NEW plan version.

Rep-pressed only; nothing automatic reaches this. It rides the org’s existing account_plan_replan switch, the per-account 24-hour cooldown and the org’s daily cap, and a press cannot bypass any of them.

A refusal from a gate is a 409 and costs NOTHING. A failure after the model answered may already have been charged, and says so in the response. There is no retry anywhere in this path, so a 409 means stop rather than try again.

Authorizations

Parameters

Path Parameters

decision_id
required

Plan-review decision id (UUID).

string

Plan-review decision id (UUID).

Header Parameters

X-Target-Org-Id
Any of:
string

Responses

200

Successful Response

object
data
required

An open envelope for one desk object.

Open on purpose - see the module docstring. A rebuilder gets every field the desk returns, including ones added after this contract version.

object
key
additional properties
any
pagination
Any of:
object
has_next
required

Whether there are more pages

boolean
limit
required

Items per page

integer
next_cursor
Any of:
string
notes
Any of:
Array<string>
page
required

Current page number (1-indexed)

integer
total
required

Total number of items

integer
total_available
Any of:
integer
total_is_lower_bound
Any of:
boolean

422

Validation Error

object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string