---
title: "show llm_policy"
method: GET
path: "/llm_policies/{id}"
tags: ["LlmPolicies"]
---

# show llm_policy

`GET /llm_policies/{id}`

## Request

- Base URL: `https://api.aptible.com`
- URL: `https://api.aptible.com/llm_policies/{id}`
- Auth: API key in header `Authorization`

Returns the details of a specific LLM policy by ID.

## Path parameters

- `id` integer, required

## Query parameters

- `no_embed` boolean

## Headers

- `Prefer` 'no_sensitive_extras=true'

## Response `200`

successful

- LlmPolicy
  - `id` integer, required: Database ID of the LLM Policy
  - `_type` string, required
  - `spend_limit` integer, required: Monthly spend limit in USD cents (nil means unlimited)
  - `models` string[], required: List of allowed model identifiers
  - `created_at` string, dateTime, required
  - `updated_at` string, dateTime, required
  - `current_usage` LlmPolicyCurrentUsage: Month-to-date usage metrics for this policy
    - `spend` number: Total spend in USD
    - `input_tokens` integer: Total input (prompt) tokens
    - `output_tokens` integer: Total output (completion) tokens
    - `successful_requests` integer: Total successful API requests
    - `failed_requests` integer: Total failed API requests
  - `_links` BackupRetentionPolicyLinks
    - `account` ListAccountsForStack200ResponseLinksStack
      - `href` string, uri
    - `self` ListAccountsForStack200ResponseLinksStack
      - `href` string, uri

## Other responses

- `403`: organization not enrolled
- `404`: not found
- `default`: Error response. Often a 4xx or 5xx status code

## Changes

- **2026-07-24** `1dc1e5b8c6eb`: 2 info
  - added the new optional `header` request parameter `Prefer`
  - added the new optional `query` request parameter `no_embed`
- **2026-07-15** `5c71f4c63067`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/aptible/apis/aptible-api-v1/changes/llm_policies/:id/get.md)

---

[API](https://skmtc.dev/aptible/apis/aptible-api-v1.md) - [All operations](https://skmtc.dev/aptible/apis/aptible-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/aptible/apis/aptible-api-v1/revisions/a21f6b1bc6fe?raw)
