Create Operation
Queue a recalculation operation for selected columns, rows, and cell statuses. Requests are scoped to the workspace associated with the API key; table, sheet, column, cell, operation, and version IDs must belong to that workspace.
recalculate operation for selected columns, rows, and cell statuses.
By default, recalculation targets stale computed cells. Pass column_ids, row_ids, or statuses to narrow the operation.
row_ids are zero-based row indices. statuses accepts STALE, QUEUED, DISPATCHED, RUNNING, COMPLETED, and FAILED; omit it to target stale cells, or pass an empty array to include all statuses. Text columns cannot be recalculated.
If the operation affects many cells, the response may return requires_confirmation with a confirmation_token; pass that token in a follow-up request to proceed. If no matching cells need work, the endpoint can return success with cell_count: 0.
Queued recalculations return version, the sheet version count used for the operation response. Computed cells report last_computed_version after they complete.Authorizations
Headers
Your PromptLayer API key. The key's workspace scopes table resources for this request.
Body
recalculate Columns to recalculate. Text columns cannot be recalculated.
Zero-based row indices to recalculate. If omitted, matching cells across all rows are considered.
x >= 0Cell statuses to include. Defaults to stale cells. Pass an empty array to include all statuses.
STALE, QUEUED, DISPATCHED, RUNNING, COMPLETED, FAILED Confirmation token returned when the operation exceeds the confirmation threshold.
Response
No operation was queued or confirmation is required.
- CreateTableSheetOperationQueuedResponse
- CreateTableSheetOperationNoopResponse
- CreateTableSheetOperationConfirmationResponse
true recalculate 
