Skip to main content
GET
Get LLM Details
Read only Returns the API-key catalog fields for a single LLM in DialNexa’s supported model catalogue. The response includes the model’s stable id, the upstream provider (for example openai, google or groq) and the display name. Context window sizes and feature flags such as tool calling are not part of the API-key response.

When To Get LLM Details

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. The API-key response contains only id, name, and provider. This endpoint returns any model in the catalog that is not deleted. It does not check primary or fallback eligibility, so a model returned here may not be accepted in that role. To check that a model can be used as a primary or fallback model, look for it in List LLMs or List Fallback LLMs.
  • Agent build UIs typically fetch this when rendering the LLM selection for an already-saved agent so the dropdown can display the correct provider and name.
  • Migration tooling that retires a deprecated model uses this to confirm the target model still exists in the catalog before bulk-updating agents.
  • Cost-aware dashboards read the provider from this endpoint to attribute spend per model in workspace reports.
If you need the full list of available LLMs, call List LLMs instead. That endpoint returns every model that can be an agent’s primary LLM, the same list for every workspace, one page at a time.

Path parameters

Errors

  • 404 Not Found is returned when the id does not match an LLM in the catalog, or the model has been deleted. 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 API 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_mfgt5q2x8k4w7r"

Response

LLM returned successfully.

id
string
required

Signed LLM ID

Example:

"llm_mfgt5q2x8k4w7r"

name
string
provider
enum<string>
Available options:
google,
openai,
deepseek,
groq,
gemini,
sarvam