curl --request POST \
--url "https://api.roe-ai.com/v1/database/query/async/?organization_id=YOUR_ORG_ID" \
--header "Authorization: Bearer YOUR_API_KEY" \
--header "Content-Type: application/json" \
--data '{
"query": "SELECT * FROM my_table LIMIT 10"
}'
{
"query": "SELECT * FROM users LIMIT 10",
"worksheet_id": "123e4567-e89b-12d3-a456-426614174000",
"use_admin": false
}{
"message": "<string>"
}Database
Run Query Async
Execute a query asynchronously and return query object.
POST
/
v1
/
database
/
query
/
async
/
curl --request POST \
--url "https://api.roe-ai.com/v1/database/query/async/?organization_id=YOUR_ORG_ID" \
--header "Authorization: Bearer YOUR_API_KEY" \
--header "Content-Type: application/json" \
--data '{
"query": "SELECT * FROM my_table LIMIT 10"
}'
{
"query": "SELECT * FROM users LIMIT 10",
"worksheet_id": "123e4567-e89b-12d3-a456-426614174000",
"use_admin": false
}{
"message": "<string>"
}curl --request POST \
--url "https://api.roe-ai.com/v1/database/query/async/?organization_id=YOUR_ORG_ID" \
--header "Authorization: Bearer YOUR_API_KEY" \
--header "Content-Type: application/json" \
--data '{
"query": "SELECT * FROM my_table LIMIT 10"
}'
Authorizations
Organization API key passed as a Bearer token. This is the scheme used by the public SDK surface.
Query Parameters
Worksheet ID. Required if organization_id is not provided.
Organization ID. This is required for access control. It can be provided via query or request body depending on the endpoint.
Body
application/json
Response
Query object
Show child attributes
Show child attributes
Simple organization serializer for nested use.
Show child attributes
Show child attributes
Show child attributes
Show child attributes