Saltar a la navegación

Count Generations

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

Autenticación

x-api-keystring
Autenticación con clave API vía encabezado

Parámetros de consulta

statuslist of enumsOpcional

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

Valores permitidos:
typeenumOpcional

Filter by Studio (playground) or API generations.

Valores permitidos:
sourcelist of stringsOpcional

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

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

Respuesta

This endpoint returns an object.
countinteger

Errores

400
Bad Request Error
401
Unauthorized Error