Skip to Content
APIEndpointsList engines

List engines

The exact engine names this brand has data for — ChatGPT, Perplexity, Google AI Overviews and so on.

These strings are the accepted values for the engine filter everywhere else. A value not from this list matches nothing rather than erroring, so resolve names here first rather than guessing at spelling or casing.

GET /v1/brands/{brand_id}/models

Authorization

HeaderTypeRequired
AuthorizationBearer asky_sk_…required

Path parameters

ParameterTypeRequiredDescription
brand_iduuidrequiredFrom List brands

Query parameters

ParameterTypeRequiredDescription
limitintegeroptionalRows per page, 1 to 100. Defaults to 20.
cursorstringoptionalOpaque cursor from the previous response. Treat it as a token, never construct one.

Request

curl --request GET \ --url 'https://api.askylabs.com/v1/brands/242546de-4cee-4a7d-952e-f6aa60c63ef8/models' \ --header 'Authorization: Bearer <api-key>'

Response

{ "data": [ "ChatGPT", "Perplexity", "Google AI Overview", "Gemini", "Copilot" ], "pagination": { "limit": 20, "has_more": true, "next_cursor": "eyJ2IjoxLCJvIjoyMCwibCI6MjB9" }, "request_id": "req_7e5901ba3cf84d20b8a6" }

Response fields

FieldTypeDescription
data.modelsstring[]required. Engine names, exactly as the engine filter expects them
data.countintegerrequired
request_idstringrequired. Also returned as the x-request-id header. Quote it when contacting support

Errors

StatusCodeWhen
400invalid_requestA parameter is unknown or malformed. The message names it
401invalid_tokenThe key is missing, malformed, or does not exist
401token_expiredThe key passed its expiry date
401token_revokedThe key was revoked
404not_foundThe brand does not exist, or this key is not allowed to reach it. The two are deliberately indistinguishable
429rate_limitedOver 300 requests per minute. See the Retry-After header

Notes

The list reflects engines this brand has actually been executed against, not everything the platform supports. A newly added brand may return fewer engines until its first run completes.

Last updated on