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

# List recent intent events



## OpenAPI

````yaml /openapi.yaml get /v1/intent/history
openapi: 3.1.0
info:
  title: Inviolet Gateway API
  description: |
    Intent-based access control for AI agents. Every endpoint lives under
    `/v1/*` and authenticates via `Authorization: Bearer <api-key>`. Keys
    are provisioned in the UI at `/developer/api-keys`.
  version: 0.6.0
  contact:
    name: Inviolet
    url: https://inviolet.ai
  license:
    name: Proprietary
servers:
  - url: https://gateway.inviolet.ai
    description: Production
  - url: http://localhost:8080
    description: Local development
security:
  - BearerAuth: []
tags:
  - name: Intent
    description: Core evaluation loop.
  - name: Intentions
    description: Declarative intent patterns.
  - name: Approvals
    description: Human-in-the-loop approvals.
  - name: Webhooks
    description: Outbound HMAC-signed event delivery.
paths:
  /v1/intent/history:
    get:
      tags:
        - Intent
      summary: List recent intent events
      parameters:
        - name: limit
          in: query
          schema:
            type: integer
            default: 50
        - name: cursor
          in: query
          schema:
            type: string
        - name: user_id
          in: query
          schema:
            type: string
        - name: outcome
          in: query
          schema:
            type: string
            enum:
              - allowed
              - denied
              - pending_approval
              - approved
              - shadow_denied
      responses:
        '200':
          description: Paginated event list.
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: ApiKey
      description: |
        API key minted at /developer/api-keys. Three scopes: `read_only`,
        `policy_write`, `admin`.

````