---
title: "list llm_policies for account"
method: GET
path: "/accounts/{account_id}/llm_policies"
tags: ["LlmPolicies"]
---

# list llm_policies for account

`GET /accounts/{account_id}/llm_policies`

## Request

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

Returns a list of LLM policies for the specified account.

## Path parameters

- `account_id` integer, required

## Query parameters

- `no_embed` boolean

## Headers

- `Prefer` 'no_sensitive_extras=true'

## Response `200`

successful

- ListLlmPoliciesForAccount200Response
  - `_embedded` ListLlmPoliciesForAccount200ResponseEmbedded
    - `llm_policies` 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
  - `_links` object

## Other responses

- `403`: organization not enrolled
- `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/accounts/:account_id/llm_policies/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)
