Referência da API
List models
Return the model this stack accepts.
/v1/modelsLists what you may pass as model. A stack exposes exactly one model — the one
its plan is built for — so this endpoint exists mostly for SDK compatibility
and health checks, not for choosing between options.
Request
curl "https://api.trystac.com/v1/models" \
-H "Authorization: Bearer $STAC_API_KEY"Takes no parameters.
Response
{
"object": "list",
"data": [
{
"id": "your-stack-model",
"object": "model",
"created": 1769000000,
"owned_by": "stac",
"context_window": 131072,
"capabilities": ["chat", "tools", "json_mode", "vision"]
}
]
}idstringOpcionalValue to pass as model in a completion request — though the field is
ignored either way. See Core concepts.
context_windowintegerOpcionalTotal tokens the model accepts, prompt plus completion. Set per stack, not fixed platform-wide — it can change if your plan's underlying infrastructure is resized.
capabilitiesstring[]OpcionalFeatures this model supports. vision means it accepts image input
directly in chat (see OCR via chat);
it's independent of the dedicated
dedicated extraction endpoints, which
run OCR regardless of whether the model itself is multimodal.
chattoolsjson_modevisionThis is the cheapest authenticated call in the API — a good liveness probe for a stack, and a good smoke test that a rotated key works.

