Zur Navigation springen

Count Generations

Count generations visible to your credentials. All provided filters are combined.

Authentifizierung

x-api-keystring
API-Key-Authentifizierung via Header

Abfrageparameter

statuslist of enumsOptional

Filter by status, as a comma-separated list or repeated values.

Erlaubte Werte:
typeenumOptional

Filter by Studio (playground) or API generations.

Erlaubte Werte:
sourcelist of stringsOptional

Filter by source label, as a comma-separated list or repeated values.

generationSourceenumOptional
Filter by product surface. Older generations without a recorded surface are excluded when this filter is set.
currentUserOnlybooleanOptional
Count only generations owned by the current user. Defaults to false.

Antwort

This endpoint returns an object.
countinteger

Fehler

400
Bad Request Error
401
Unauthorized Error