v2

latestOpenAPI 3.1.02026-07-26143251806.6 KB
tables

Import File Into Table Sheet

Start an asynchronous CSV import into an existing Table sheet. 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}/imports/file

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

operation_idstring nullable

Optional client-provided operation ID. A UUID is generated when omitted.

file_namestring required

CSV file name. Must end with .csv.

file_content_base64string required

Base64-encoded CSV file content.

Response

File import queued.

successboolean required
messagestring required
operation_idstring required
status_urlstring required