Skip to main content
POST
Recalculate Table Sheet Scorecard
Queue a scorecard recalculation for a sheet. Successful requests return 202 Accepted. Send an empty body for a full run, or pass row_indices and step_ids for a scoped run. The request body does not support force.

Authorizations

X-API-KEY
string
header
required

Headers

X-API-KEY
string
required

Your PromptLayer API key. The key's workspace scopes table resources for this request.

Path Parameters

table_id
string<uuid>
required

Table ID.

sheet_id
string<uuid>
required

Table sheet ID.

Body

application/json
row_indices
integer[]
Required range: x >= 0
step_ids
string<uuid>[]

Response

Scorecard recalculation queued.

success
boolean
required
calculation_id
string<uuid>
required
status
enum<string>
required
Available options:
queued,
running,
completed,
failed,
cancelled
version
integer
required