v2

latestOpenAPI 3.1.02026-07-26143251806.6 KB
tables

Create Table Sheet Version

Create a named Table sheet version, or restore from an existing version while creating a new version. Requests are scoped to the workspace associated with the API key; table, sheet, column, cell, operation, and version IDs must belong to that workspace.

post/api/public/v2/tables/{table_id}/sheets/{sheet_id}/versions

Path parameters

table_idstring uuid required

Table ID.

sheet_idstring uuid required

Table sheet ID.

Headers

X-API-KEYstring required

Your PromptLayer API key. The key's workspace scopes table resources for this request.

Request body

namestring nullable

Version name. Required when source_version_id is omitted.

source_version_idstring uuid nullable

Existing version to restore from while creating a new version.

Response

Version created.

successboolean required