LlmPolicies

Returns the details of a specific LLM policy by ID.

get/llm_policies/{id}

Request

  • Base URL
    https://api.aptible.com
  • Auth
    API key in header Authorization

Path parameters

idinteger required

LLM Policy database ID

Query parameters

no_embedboolean

When true, omits embedded resources from the response. Also triggered when the Prefer: no_sensitive_extras=true header is present.

Headers

Prefer'no_sensitive_extras=true'

When set to no_sensitive_extras=true, omits sensitive fields and embedded resources from the response.

Response

successful

idinteger required

Database ID of the LLM Policy

_typestring required
spend_limitinteger required

Monthly spend limit in USD cents (nil means unlimited)

modelsstring[] required

List of allowed model identifiers

created_atstring dateTime required
updated_atstring dateTime required

Changes