Skip to main content
POST
/
api
/
public
/
v2
/
tables
/
{table_id}
/
sheets
/
{sheet_id}
/
score
Recalculate Table Sheet Score
curl --request POST \
  --url https://api.promptlayer.com/api/public/v2/tables/{table_id}/sheets/{sheet_id}/score \
  --header 'X-API-KEY: <api-key>'
{
  "success": true,
  "score_configuration_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
Queue recalculation for an existing Table sheet score configuration. This endpoint requires scoring to already be configured on the sheet. The response returns the score_configuration_id and score calculation status (queued, running, completed, failed, or null).

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.

Response

Score recalculation queued.

success
boolean
required
score_configuration_id
string<uuid>
required
status
enum<string> | null
required
Available options:
queued,
running,
completed,
failed,
null