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

# Describe an assistant's policy enforcement plan (per point, per transport)



## OpenAPI

````yaml /api-reference/openapi.json get /v1/agents/{agent_id}/enforcement-plan
openapi: 3.1.0
info:
  title: Feather API
  description: >-
    Unified customer experience platform API. Manages identity, conversations,
    memory, agents, procedures, policies, model routing, knowledge bases,
    integrations, and runtime execution.
  version: 1.21.0
servers:
  - url: https://api-sandbox.featherhq.com
    description: Sandbox
  - url: http://localhost:8000
    description: Local dev
security: []
paths:
  /v1/agents/{agent_id}/enforcement-plan:
    get:
      tags:
        - policies
      summary: >-
        Describe an assistant's policy enforcement plan (per point, per
        transport)
      operationId: getAgentEnforcementPlan
      parameters:
        - name: agent_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Agent Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EnforcementPlanResponse'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Resource not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - APIKeyHeader: []
components:
  schemas:
    EnforcementPlanResponse:
      properties:
        agent_id:
          type: string
          format: uuid
          title: Agent Id
        agent_revision_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Agent Revision Id
        policies_enabled:
          type: boolean
          title: Policies Enabled
        points:
          items:
            $ref: '#/components/schemas/EnforcementPlanPoint'
          type: array
          title: Points
      type: object
      required:
        - agent_id
        - policies_enabled
        - points
      title: EnforcementPlanResponse
      description: >-
        The full no-turn enforcement plan for one assistant (read-only describe
        surface).
    ErrorResponse:
      properties:
        error:
          type: string
          title: Error
        message:
          type: string
          title: Message
      type: object
      required:
        - error
        - message
      title: ErrorResponse
      description: Standard error response returned by all API error handlers.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    EnforcementPlanPoint:
      properties:
        enforcement_point:
          type: string
          title: Enforcement Point
        policies:
          items:
            $ref: '#/components/schemas/EnforcementPlanPolicy'
          type: array
          title: Policies
        dominance_by_transport:
          additionalProperties:
            type: string
          type: object
          title: Dominance By Transport
        warnings:
          items:
            type: string
          type: array
          title: Warnings
      type: object
      required:
        - enforcement_point
        - policies
        - dominance_by_transport
      title: EnforcementPlanPoint
      description: >-
        One enforcement point in the plan: its policies + the per-transport
        dominance outcome.


        ``dominance_by_transport`` is keyed by transport class value; each entry
        is the

        plain-language §6 composition outcome at ``agent_response`` (e.g. a
        strict expression

        forcing whole-reply buffering upgrades the response-judge from
        best-effort to a true

        block). At the other points there is no streaming-vs-buffer dominance,
        so the note states

        the point always pre-gates. ``warnings`` carries block-wins /
        terminal-first composition

        flags surfaced first-party.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
    EnforcementPlanPolicy:
      properties:
        policy_id:
          type: string
          format: uuid
          title: Policy Id
        policy_name:
          type: string
          title: Policy Name
        check_type:
          type: string
          title: Check Type
        action:
          type: string
          title: Action
        mode:
          type: string
          title: Mode
        strictness:
          type: string
          title: Strictness
        tool_target:
          anyOf:
            - type: string
            - type: 'null'
          title: Tool Target
        priority:
          type: integer
          title: Priority
        strategies:
          items:
            $ref: '#/components/schemas/EnforcementPlanStrategy'
          type: array
          title: Strategies
      type: object
      required:
        - policy_id
        - policy_name
        - check_type
        - action
        - mode
        - strictness
        - priority
        - strategies
      title: EnforcementPlanPolicy
      description: >-
        One attached policy at an enforcement point, in resolved execution
        order.


        ``strategies`` is the per-transport-class resolution (blocking +
        streaming) — the

        physically-correct mechanism is transport-derived, never authored. The
        authored dials

        (``mode``/``strictness``) and the check/action are surfaced verbatim so
        the plan reads

        as "what you wrote → what actually happens per channel".
    EnforcementPlanStrategy:
      properties:
        transport_class:
          type: string
          title: Transport Class
        strategy:
          type: string
          title: Strategy
        consequence:
          type: string
          title: Consequence
      type: object
      required:
        - transport_class
        - strategy
        - consequence
      title: EnforcementPlanStrategy
      description: >-
        The platform-derived strategy a single check resolves to on one
        transport class.
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: x-api-key

````