Skip to main content
POST
SQL over your logs and billing

Authorizations

X-API-Key
string
header
required

Your Cycls API key, from https://cloud.cycls.com. Sent as the X-API-Key header. This is the CYCLS_API_KEY the CLI uses.

Body

application/json
query
string
required

BigQuery SQL. Your default dataset contains views logs and billing scoped to deployments you own.

Example:

"SELECT timestamp, json_payload FROM logs WHERE json_payload.level='error' LIMIT 10"

Response

Successful Response