Skip to main content
POST
/
api
/
public
/
v2
/
tables
/
{table_id}
/
sheets
/
{sheet_id}
/
cells
/
recalculations
Recalculate Cells (Batch)
curl --request POST \
  --url https://api.promptlayer.com/api/public/v2/tables/{table_id}/sheets/{sheet_id}/cells/recalculations \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '
{
  "cell_ids": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ]
}
'
{
  "success": false,
  "message": "<string>",
  "error": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://promptlayer-claude-nice-fermi-nop3f.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Trigger recalculation for a batch of cells by ID. Returns 202 Accepted with an execution_id. Use this endpoint to kick off computation for specific cells after adding rows or updating text cell values.

Authorizations

X-API-KEY
string
header
required

Path Parameters

table_id
string<uuid>
required
sheet_id
string<uuid>
required

Body

application/json
cell_ids
string<uuid>[]
required

List of cell IDs to recalculate.

Response

No cells to recalculate

Standard error response. Some legacy endpoints may return either message or error.

success
boolean
default:false

Indicates that the request failed.

message
string

Human-readable error message.

error
string

Machine-readable or fallback error message.