Skip to main content
POST
Cancel Table Sheet Scorecard
Cancel active queued or running scorecard work for a sheet. The endpoint targets the latest active run. It does not take calculation_id; pass optional row_indices and step_ids to scope cancellation.

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

Cancellation attempted.

success
boolean
required
message
string
required
scorecard
object
required
cancelled_count
integer
required
execution_ids
string[]
required
calculation_id
string<uuid> | null
required