> ## Documentation Index
> Fetch the complete documentation index at: https://docs.timbal.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# List Model Policies

> List the organization's LLM model and provider usage policies.



## OpenAPI

````yaml GET /orgs/{org_id}/models/policies
openapi: 3.1.0
info:
  title: Timbal Platform API
  description: Public API documentation for the Timbal platform
  license:
    name: ''
  version: 2.0.0
servers:
  - url: https://api.timbal.ai
    description: Production
  - url: https://api.dev.timbal.ai
    description: Development
security: []
tags:
  - name: ace
    description: Action Control Engine (ACE) operations
  - name: analytics
    description: Org and project analytics
  - name: billing
    description: Subscriptions, usage, and payment-related operations
  - name: content
    description: Re-sign stored content URLs
  - name: files
    description: File operations
  - name: iam
    description: IAM — actions, roles, users, and authorization introspection
  - name: k2
    description: Knowledge Bases v2 operations
  - name: orgs
    description: Organization operations
  - name: projects
    description: Project operations
  - name: runs
    description: Execution operations
  - name: templates
    description: Public project template catalog
  - name: users
    description: Authenticated user profile
paths:
  /orgs/{org_id}/models/policies:
    get:
      tags:
        - orgs
      summary: List model policies
      description: List the organization's LLM model and provider usage policies.
      operationId: list_org_model_policies
      parameters:
        - name: org_id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Policy rules for the org
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListOrgModelPoliciesResBody'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
      security:
        - bearer_auth: []
components:
  schemas:
    ListOrgModelPoliciesResBody:
      type: object
      title: ListOrgModelPoliciesResponse
      required:
        - policies
      properties:
        policies:
          type: array
          items:
            $ref: '#/components/schemas/ModelPolicy'
    ErrorMessage:
      type: object
      required:
        - code
        - message
      properties:
        code:
          type: string
          description: Machine-readable error code (e.g. `ALREADY_EXISTS`, `BAD_REQUEST`).
        message:
          type: string
          description: Human-readable description.
    ModelPolicy:
      type: object
      description: An organization policy rule restricting LLM provider or model usage.
      required:
        - id
        - provider
        - effect
        - created_at
      properties:
        created_at:
          type: string
          format: date-time
        created_by_user_id:
          type:
            - string
            - 'null'
          description: User who created the rule.
        effect:
          $ref: '#/components/schemas/ModelPolicyEffect'
        id:
          type: string
        model_id:
          type:
            - string
            - 'null'
          description: |-
            Model targeted by the rule. Omitted when the rule covers the whole
            provider.
        provider:
          type: string
          description: Model provider slug, e.g. `byteplus`, `openai`.
    ModelPolicyEffect:
      type: string
      description: >-
        Whether a policy rule allows or denies its target. A model-level rule

        beats a provider-level rule; `deny` beats `allow` at the same
        specificity.
      enum:
        - allow
        - deny
  securitySchemes:
    bearer_auth:
      type: http
      scheme: bearer
      description: >-
        Timbal API key. Obtain your API key from the Timbal platform settings.
        See [Authentication](/api-reference/authentication) for more
        information.

````