Skip to main content
GET
Get LLM Details
Read only
Recommended. This endpoint is part of the public /v1 API reference and is the supported path for new integrations. See the migration guide for versioning guidance.
Returns the full record for a single LLM in DialNexa’s supported model catalogue. The response includes the model’s stable id, the upstream provider (for example OpenAI, Anthropic, Google, or a hosted open-weights model), the display name, the context window size, and which conversational features are supported (such as function calling and JSON mode).

When to use this

Use this endpoint when you have an llm_id saved on an agent configuration or in your own database and you need to resolve it into a human-readable label, confirm the model is still active, or check what features the model supports before sending an agent update.
  • Agent build UIs typically fetch this when rendering the LLM selection for an already-saved agent so the dropdown can display the correct provider, name, and capability badges.
  • Migration tooling that retires a deprecated model uses this to confirm the target model still exists before bulk-updating agents.
  • Cost-aware dashboards read the provider and tier from this endpoint to attribute spend per model in internal reports.
If you need the full list of available LLMs, call List LLMs instead. That endpoint is the canonical catalogue and is paginated.

Path parameters

ParameterDescription
idThe LLM ID, for example llm_gpt4o.

Errors

  • 404 Not Found is returned when the id does not match a supported LLM. This usually means the model has been deprecated and removed, or the ID was mistyped.
  • 401 Unauthorized is returned when the API key is missing, malformed, or revoked. See Authentication.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

LLM ID

Example:

"llm_abc123"

Response

LLM returned successfully.

id
string
required

Signed LLM ID

Example:

"llm_abc123"