GET
https://api.decisionnode.com /v1/modelscurl https://api.decisionnode.com/v1/models \
-H "Authorization: Bearer $DECISIONNODE_API_KEY"Headers#
AuthorizationstringrequiredBearer dn_live_.... The request has no body and no parameters; the list depends only on your key.
Call it once at startup to check a key and to log which pinned version decisionnode-latest answers from. It sends no tokens, so it costs nothing.
Response body#
{
"models": [
{
"name": "decisionnode-latest",
"description": "Our most accurate decision model",
"release_date": "2026-10-01",
"version": "decisionnode-1.0",
"context_tokens": 65536,
"max_images": 4,
"max_choices": 255,
"max_levels": 10
},
{
"name": "decisionnode-flash-latest",
"description": "The fastest and cheapest tier",
"release_date": "2026-10-01",
"version": "decisionnode-1.0-flash",
"context_tokens": 65536,
"max_images": 4,
"max_choices": 255,
"max_levels": 10
}
]
}modelsarray- One entry per name your key may send.
namestring- What you send as
model. descriptionstring- What the model is for.
release_datestring- When this name started answering, as
YYYY-MM-DD. versionstring- The pinned version the name answers from today. Send it as
modelto pin. context_tokensnumber- Maximum tokens per request, 65,536.
max_imagesnumber- Images per request.
max_choicesnumber- Options per choice question.
max_levelsnumber- Levels per score question.
Prices per million input tokens are on Pricing and billing. Code that reads only name, description and release_date keeps working: the other fields are extra.
When sessions coming soon ship, this list also publishes how many sessions your key may hold open.
curl https://api.decisionnode.com/v1/models \ -H "Authorization: Bearer $DECISIONNODE_API_KEY"