List available models
cURL
id and check status.
Read one model
cURL
404 with the standard error envelope.
Model status
Treat any status other than
ready as a signal to stop sending new decision requests to that model and follow your fallback policy.
Public limits
Thelimits object describes model-level limits exposed by the API:
input_tokens— maximum input size in tokens.candidate_tokens— maximum candidate-token budget.choices— maximum number of choices accepted in one decision request or catalog.
4096, 128, and 300; read the live model descriptor rather than hard-coding them.
Revisions
The model field accepts identifiers such asgoldenfish-g1 and revision-qualified strings such as goldenfish-g1@REVISION when a revision is available. Store the model string alongside each decision so you can reproduce which model produced a result.
Model IDs and limits are API data, not configuration constants. Discover them at startup or through a controlled configuration refresh and handle a model becoming unavailable between discovery and inference.