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

# List Supervision Sessions

> Sessions to supervise: every agent's for an admin, one's own otherwise.

Reads `sessions`/`events` directly instead of fanning out one ADK HTTP
call per agent. Two queries total, whatever the number of agents -- the
N+1 shape this codebase has paid for more than once.



## OpenAPI

````yaml /api-reference/openapi.json get /api/supervision/sessions
openapi: 3.1.0
info:
  title: apowerb API
  description: REST API of the apowerb agentic framework (open-source edition).
  version: 0.2.0
  license:
    name: MIT
    url: https://github.com/apowerb/apowerb/blob/main/LICENSE
servers:
  - url: https://api.example.com
    description: Your apowerb instance
  - url: http://localhost:8000
    description: Local stack
security: []
paths:
  /api/supervision/sessions:
    get:
      tags:
        - supervision
        - adk
      summary: List Supervision Sessions
      description: |-
        Sessions to supervise: every agent's for an admin, one's own otherwise.

        Reads `sessions`/`events` directly instead of fanning out one ADK HTTP
        call per agent. Two queries total, whatever the number of agents -- the
        N+1 shape this codebase has paid for more than once.
      operationId: list_supervision_sessions_api_supervision_sessions_get
      parameters:
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            default: 200
            title: Limit
        - name: offset
          in: query
          required: false
          schema:
            type: integer
            default: 0
            title: Offset
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SupervisionSessionsResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    SupervisionSessionsResponse:
      properties:
        items:
          items:
            $ref: '#/components/schemas/SupervisionSessionOut'
          type: array
          title: Items
        total:
          type: integer
          title: Total
      type: object
      required:
        - items
        - total
      title: SupervisionSessionsResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    SupervisionSessionOut:
      properties:
        session_id:
          type: string
          title: Session Id
        app_name:
          type: string
          title: App Name
        agent_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Agent Name
        user_id:
          anyOf:
            - type: string
            - type: 'null'
          title: User Id
        create_time:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Create Time
        update_time:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Update Time
        preview:
          anyOf:
            - type: string
            - type: 'null'
          title: Preview
        steps:
          type: integer
          title: Steps
          default: 0
        tool_calls:
          type: integer
          title: Tool Calls
          default: 0
        has_error:
          type: boolean
          title: Has Error
          default: false
      type: object
      required:
        - session_id
        - app_name
      title: SupervisionSessionOut
      description: |-
        One row of the supervision list.

        `preview` is the first thing the user asked — without it every row reads
        the same and the list cannot be scanned, which is what it looked like
        with 422 copies of one test harness in it.
    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
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````

## Related topics

- [List Sessions](/api-reference/list-sessions.md)
- [List All Sessions](/api-reference/adk/list-all-sessions.md)
- [Supervision](/monitoring/supervision.md)
- [Get Session Trace](/api-reference/adk/get-session-trace.md)
- [apowerb](/ecosystem/apowerb.md)
