LoginBook a Demo
  • Getting Started
    • Athena SDK Quickstart
  • Python Guides
    • Build with Agents
    • Use Models Directly
    • Load Data Frames
    • Upload Files
    • Structured Output
  • TypeScript Guides
    • Build with Agents
    • Use Models Directly
    • Execute AOPs
    • Sheets API
    • Browser JavaScript (ESM)
    • Upload Files
    • Structured Output
  • API Reference
Logo
LoginBook a Demo
API ReferenceToolsSheets

Create Table

Beta
POST
/api/v0/tools/sheets/table/create
POST
/api/v0/tools/sheets/table/create
1curl -X POST https://api.athenaintel.com/api/v0/tools/sheets/table/create \
2 -H "X-API-KEY: <apiKey>" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "asset_id": "string",
6 "end_column_index": 1,
7 "end_row_index": 1,
8 "start_column_index": 1,
9 "start_row_index": 1,
10 "table_id": "string",
11 "table_name": "string"
12}'
Try it
200Successful
1{
2 "asset_id": "string",
3 "message": "string",
4 "success": true
5}
Create a table in an Athena spreadsheet.
Was this page helpful?
Previous

Get Table

Next
Built with
Get Table
Create a table in an Athena spreadsheet.

Authentication

X-API-KEYstring
API Key authentication via header
OR
AuthorizationBearer
Bearer authentication of the form `Bearer <token>`, where token is your auth token.

Request

This endpoint expects an object.
asset_idstringRequired
The ID of the spreadsheet asset
end_column_indexintegerRequired

1-based ending column index

end_row_indexintegerRequired
1-based ending row index
start_column_indexintegerRequired
1-based starting column index
start_row_indexintegerRequired
1-based starting row index
table_idstringRequired
Unique table ID
table_namestringRequired
Name of the table
sheet_idintegerOptionalDefaults to 1
Sheet ID (defaults to 1)

Response

Successful Response
Successful Response
asset_idstring
The ID of the spreadsheet asset
messagestring
Success message or error description
successboolean
Whether the operation was successful

Errors

Unique table ID
Name of the table
API Key authentication via header

1-based ending row index

1-based starting column index

1-based starting row index

Bearer authentication of the form Bearer <token>, where token is your auth token.

Sheet ID (defaults to 1)