POST
/
v1
/
database
/
query
/
async
curl --request POST \
  --url https://api.roe-ai.com/v1/database/query/async/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "query": "<string>",
  "organization_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}'
"123e4567-e89b-12d3-a456-426614174000"

Authorizations

Authorization
string
header
required

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

Body

query
string
required

Queries to run. Multiple queries can be separated by semicolons.

Minimum length: 1
organization_id
string

(Optional) ID of organization to run query in.

Response

200
application/json
Query task ID

The response is of type string.