curl --request GET \
--url https://partner.peaka.studio/api/v1/data/projects/{projectId}/queries/{queryId} \
--header 'Authorization: Bearer <token>'
{
"id": "709922802836177297",
"displayName": "sampleQuery",
"name": "samplequery",
"inputQuery": "SELECT * from \"mycatalog\".payment.charges"
}
curl --request GET \
--url https://partner.peaka.studio/api/v1/data/projects/{projectId}/queries/{queryId} \
--header 'Authorization: Bearer <token>'
{
"id": "709922802836177297",
"displayName": "sampleQuery",
"name": "samplequery",
"inputQuery": "SELECT * from \"mycatalog\".payment.charges"
}
Use the Authorization header with the value 'Bearer <apiKey>' to authenticate. Partner API Keys have full access; Project API Keys are limited to their project scope. Learn more: https://docs.peaka.com/api-reference/authentication
Read Query
The response is of type object
.