GET
/
data
/
projects
/
{projectId}
/
queries
curl --request GET \
  --url https://partner.peaka.studio/api/v1/data/projects/{projectId}/queries \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "709891320440684892",
    "displayName": "sample2",
    "name": "sample2",
    "inputQuery": ""
  },
  {
    "id": "702142445051183684",
    "displayName": "deneme",
    "name": "deneme",
    "inputQuery": "SELECT count(*) from \"examplestripecatalogname\".\"payment\".\"customers\""
  },
  {
    "id": "709891051854233848",
    "displayName": "sample",
    "name": "sample",
    "inputQuery": ""
  },
  {
    "id": "709922802836177297",
    "displayName": "sampleQuery",
    "name": "samplequery",
    "inputQuery": "SELECT * from \"mycatalog\".payment.charges"
  }
]

Authorizations

Authorization
string
header
required

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

Path Parameters

projectId
string
required

Response

200 - application/json
Query created

The response is of type object[].