Skip to main content
PATCH
/
api
/
public
/
v2
/
tables
/
{table_id}
Update Table
curl --request PATCH \
  --url https://api.promptlayer.com/api/public/v2/tables/{table_id} \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '
{
  "title": "<string>",
  "folder_id": 123
}
'
{
  "success": true,
  "table": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "workspace_id": 123,
    "title": "<string>",
    "folder_id": 123,
    "sheet_count": 123,
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "sheet_row_counts": {}
  }
}

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.

Update a Smart Table’s title or folder.

Authorizations

X-API-KEY
string
header
required

Path Parameters

table_id
string<uuid>
required

Body

application/json
title
string | null
folder_id
integer | null

Response

Table updated

success
boolean
table
object

A Smart Table — a versioned, multi-sheet table that can run LLM columns to generate or evaluate data at scale.