API Documentation
Projects -> Api Key
Connections
Data -> Catalogs
Data -> Internal Tables
Data -> Queries
Data -> Cache
Embedded Peaka
Supported Drivers
Execute Query
POST
/
data
/
projects
/
{projectId}
/
queries
/
execute
Authorization
string
*
Bearer
Authorization
Required
string
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
projectId
string
*
projectId
Required
string
object
*
columns
array
columns
array
from
array
from
array
limit
integer
limit
integer
offset
integer
offset
integer
orderBy
array
orderBy
array
filters
object
filters
object
curl --request POST \
--url https://partner.peaka.studio/api/v1/data/projects/{projectId}/queries/execute \
--header 'Content-Type: application/json' \
--data '{
"from": [
{
"catalogName": "peaka",
"schemaName": "query",
"tableName": "samplequery"
}
]
}'
Path Parameters
Body
application/json
Response
200 - application/json
Represents the result of a query.
The columns of the query result.
The data of the query result.
curl --request POST \
--url https://partner.peaka.studio/api/v1/data/projects/{projectId}/queries/execute \
--header 'Content-Type: application/json' \
--data '{
"from": [
{
"catalogName": "peaka",
"schemaName": "query",
"tableName": "samplequery"
}
]
}'