models-api

Get API Model Configuration

Changed on

Retrieves detailed configuration for a specific API model alias by ID. API keys are masked for security unless explicitly requested.

get/bodhi/v1/models/api/{id}

Request

  • Base URL: http://localhost:1135
  • URL: http://localhost:1135/bodhi/v1/models/api/{id}
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL /bodhi/v1/auth/initiate, token URL /bodhi/v1/auth/callback, scopes: resource_power_user)

Path parameters

idstring required

Unique identifier for the API model alias

Response

API model configuration retrieved successfully

sourcestring required
idstring required
namestring required
api_format'openai' | 'openai_responses' | 'anthropic' | 'anthropic_oauth' | 'gemini' | 'llm_liberty_oauth' required

API format/protocol specification

base_urlstring required
has_api_keyboolean required
prefixstring nullable
forward_all_with_prefixboolean required
extra_headersunknown
extra_bodyunknown
created_atstring date-time required
updated_atstring date-time required

Changes

    • info

      added subschema #2 to the / response property allOf list for the response status

    • info

      removed subschema #1 subschema #2 subschema #3 from the / response property oneOf list for the response status

    • info

      added the required property to the response with the status