🚀 @ Any Node in AI Chat! See our changelog for details.
curl --request POST \
--url https://app.teable.ai/api/base/%7BbaseId%7D/sql-query \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'content-type: application/json' \
--data '{"sql":"SELECT * FROM table_name LIMIT 10"}'{
"rows": [
{}
]
}Execute SQL query on a base
curl --request POST \
--url https://app.teable.ai/api/base/%7BbaseId%7D/sql-query \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'content-type: application/json' \
--data '{"sql":"SELECT * FROM table_name LIMIT 10"}'{
"rows": [
{}
]
}Documentation Index
Fetch the complete documentation index at: https://help.teable.ai/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The base ID to execute query on
The SQL query to execute
1"SELECT * FROM table_name LIMIT 10"
Query executed successfully
The query result rows
Show child attributes
Was this page helpful?