---
title: "Update Table"
method: PATCH
path: "/api/public/v2/tables/{table_id}"
tags: ["smart-tables"]
---

# Update Table

`PATCH /api/public/v2/tables/{table_id}`

Update Table. Requests are scoped to the workspace associated with the API key; table, sheet, column, cell, operation, and version IDs must belong to that workspace.

## Path parameters

- `table_id` string, uuid, required

## Request body

- object
  - `title` string, nullable
  - `folder_id` integer, nullable

## Response `200`

Table updated

- object
  - `success` boolean
  - `table` TableDetail — A Table — a versioned, multi-sheet table that can run LLM columns to generate or evaluate data at scale.
    - `id` string, uuid — Unique table identifier.
    - `workspace_id` integer — Workspace that owns this resource; determined by the authenticated request scope.
    - `title` string
    - `folder_id` integer, nullable
    - `sheet_count` integer — Number of active sheets.
    - `created_at` string, date-time
    - `updated_at` string, date-time

## Other responses

- `401` — Unauthorized - missing or invalid API key.
- `404` — Table not found
- `422` — Validation error - request parameters or body are invalid.

---

[API](https://skmtc.dev/promptlayer/apis/promptlayer-api.md) · [All operations](https://skmtc.dev/promptlayer/apis/promptlayer-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/promptlayer/promptlayer-api/revisions/a23093a0a506/schema)
