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

# Get Inbox Items

> List tasks requiring user attention.

Returns tasks with actionable statuses (waiting_for_approval, completed, failed),
ordered by most recently updated first. Includes total count for badge/pagination.



## OpenAPI

````yaml /api-reference/openapi.json get /v1/inbox/
openapi: 3.1.0
info:
  description: >-
    Modular and extensible framework for building AI agents. This API requires
    JWT Bearer token authentication for most endpoints. Include your JWT token
    in the Authorization header. Public endpoints include /, /health, /docs,
    /redoc, and /openapi.json.
  title: AgentArea API
  version: 0.1.0
servers: []
security:
  - bearer: []
paths:
  /v1/inbox/:
    get:
      tags:
        - v1
        - protected
        - inbox
      summary: Get Inbox Items
      description: >-
        List tasks requiring user attention.


        Returns tasks with actionable statuses (waiting_for_approval, completed,
        failed),

        ordered by most recently updated first. Includes total count for
        badge/pagination.
      operationId: get_inbox_items_v1_inbox__get
      parameters:
        - description: Filter to a specific inbox status
          in: query
          name: status
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Filter to a specific inbox status
            title: Status
        - description: Filter by agent ID
          in: query
          name: agent_id
          required: false
          schema:
            anyOf:
              - format: uuid
                type: string
              - type: 'null'
            description: Filter by agent ID
            title: Agent Id
        - in: query
          name: page
          required: false
          schema:
            default: 1
            minimum: 1
            title: Page
            type: integer
        - in: query
          name: page_size
          required: false
          schema:
            default: 100
            maximum: 1000
            minimum: 1
            title: Page Size
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InboxResponse'
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      security:
        - HTTPBearer: []
components:
  schemas:
    InboxResponse:
      properties:
        items:
          items:
            $ref: '#/components/schemas/TaskWithAgent'
          title: Items
          type: array
        page:
          title: Page
          type: integer
        page_size:
          title: Page Size
          type: integer
        total:
          title: Total
          type: integer
      required:
        - items
        - total
        - page
        - page_size
      title: InboxResponse
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    TaskWithAgent:
      description: Task response with agent information for global task listing.
      properties:
        agent_id:
          format: uuid
          title: Agent Id
          type: string
        agent_name:
          title: Agent Name
          type: string
        created_at:
          title: Created At
          type: string
        description:
          title: Description
          type: string
        error:
          anyOf:
            - type: string
            - type: 'null'
          title: Error
        escalation_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Escalation Id
        escalation_tool_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Escalation Tool Name
        execution_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Execution Id
        failure_reason:
          anyOf:
            - type: string
            - type: 'null'
          title: Failure Reason
        id:
          format: uuid
          title: Id
          type: string
        parameters:
          additionalProperties: true
          title: Parameters
          type: object
        result:
          anyOf:
            - additionalProperties: true
              type: object
            - type: string
            - type: 'null'
          title: Result
        status:
          title: Status
          type: string
        total_cost:
          anyOf:
            - type: number
            - type: 'null'
          title: Total Cost
      required:
        - id
        - agent_id
        - agent_name
        - description
        - parameters
        - status
        - created_at
      title: TaskWithAgent
      type: object
    ValidationError:
      properties:
        ctx:
          title: Context
          type: object
        input:
          title: Input
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object
  securitySchemes:
    bearer:
      bearerFormat: JWT
      description: JWT Bearer token for authentication
      scheme: bearer
      type: http
    HTTPBearer:
      scheme: bearer
      type: http

````