Create Sheet
Create Table Sheet
Create a Table sheet by importing file or request log data.
POST
Create Sheet
Create a new sheet and start an asynchronous import job. The response returns immediately with
202, an operation_id, the import operation, and the newly created sheet.
File imports
Usesource.type=file to import CSV or JSON content. Send the file content as base64 in file_content_base64; the decoded file can be up to 100MB. JSON input is converted to CSV before processing.
Request log imports
Usesource.type=request_logs to import request history into a sheet. Provide either explicit request_log_ids or a request-log filter_group. You can also pass variables_to_parse, include_fields, and limit to control the imported columns and rows.
Operation tracking
Passoperation_id when you want a stable client-side identifier for polling and webhook correlation. If omitted, PromptLayer generates one.
Poll Get Table Sheet Import Operation until the operation reaches succeeded or failed.Authorizations
Path Parameters
Body
application/json
Data source for the sheet.
- File source
- Request logs source
Sheet title. Defaults to the source file name or 'Request Logs'.
Display position within the table (0-based). Defaults to appending at the end.
Optional idempotency key for the import operation.

