Skip to main content
GET
/
api
/
public
/
v2
/
tables
/
{table_id}
/
sheets
/
{sheet_id}
/
operations
/
{operation_id}
Get Table Sheet Operation
curl --request GET \
  --url https://api.promptlayer.com/api/public/v2/tables/{table_id}/sheets/{sheet_id}/operations/{operation_id} \
  --header 'X-API-KEY: <api-key>'
{
  "success": true,
  "operation": {
    "operation_id": "<string>",
    "status": "<string>",
    "status_counts": {},
    "cell_count": 123,
    "completed_count": 123,
    "failed_count": 123,
    "pending_count": 123,
    "status_url": "<string>"
  }
}
Poll a sheet recalculation operation. The response includes aggregate cell counts by status plus completed, failed, and pending counts.

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.

operation_id
string
required

Operation ID.

Response

Successful response

success
boolean
required
operation
TableSheetOperation · object
required