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

# List My Agents

> List the calling customer's agent tokens, newest first.

Tenant + customer scope is enforced via the
`AgentTokenService.list_for_customer` filter.



## OpenAPI

````yaml /api-reference/openapi.json get /api/storefront/customer/me/agents
openapi: 3.1.0
info:
  title: Agentic Commerce API
  description: |2-

        Agentic Commerce API - E-commerce Backend

        ## APIs

        ### Dashboard API (`/api/dashboard`)
        Authenticated endpoints for merchant management:
        - Products, Variants, Options
        - Inventory management
        - Orders and fulfillment
        - Customers
        - Collections

        ### Storefront API (`/api/storefront`)
        Public endpoints for client websites:
        - Product catalog
        - Collections
        - Cart management
        - Checkout

        ### Sync API (`/api/sync`)
        Integration endpoints for zunkiree-search:
        - Product sync
        - Availability checks
        - Order creation from AI widget
        
  version: 1.0.0
servers: []
security: []
paths:
  /api/storefront/customer/me/agents:
    get:
      tags:
        - Storefront
        - Storefront Customer Agents
      summary: List My Agents
      description: |-
        List the calling customer's agent tokens, newest first.

        Tenant + customer scope is enforced via the
        `AgentTokenService.list_for_customer` filter.
      operationId: list_my_agents_api_storefront_customer_me_agents_get
      parameters:
        - name: include_revoked
          in: query
          required: false
          schema:
            type: boolean
            description: >-
              Include revoked / expired tokens in the list. Default True so
              customers see their full history; storefronts that want an 'active
              only' filter pass False.
            default: true
            title: Include Revoked
          description: >-
            Include revoked / expired tokens in the list. Default True so
            customers see their full history; storefronts that want an 'active
            only' filter pass False.
        - name: authorization
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Authorization
        - name: X-Site-ID
          in: header
          required: true
          schema:
            type: string
            title: X-Site-Id
        - name: X-Stella-Token
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: X-Stella-Token
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomerAgentsListResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    CustomerAgentsListResponse:
      properties:
        agents:
          items:
            $ref: '#/components/schemas/CustomerAgentSummary'
          type: array
          title: Agents
      type: object
      required:
        - agents
      title: CustomerAgentsListResponse
      description: Response shape for `GET /api/storefront/customer/me/agents`.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    CustomerAgentSummary:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        agent_name:
          type: string
          title: Agent Name
        scopes:
          items:
            type: string
          type: array
          title: Scopes
        budget_cents:
          type: integer
          title: Budget Cents
        budget_used_cents:
          type: integer
          title: Budget Used Cents
        budget_remaining_cents:
          type: integer
          title: Budget Remaining Cents
        allowed_categories:
          items:
            type: string
          type: array
          title: Allowed Categories
        created_at:
          type: string
          format: date-time
          title: Created At
        last_used_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Last Used At
        expires_at:
          type: string
          format: date-time
          title: Expires At
        revoked_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Revoked At
        is_active:
          type: boolean
          title: Is Active
        summary_for_human:
          type: string
          title: Summary For Human
      type: object
      required:
        - id
        - agent_name
        - scopes
        - budget_cents
        - budget_used_cents
        - budget_remaining_cents
        - allowed_categories
        - created_at
        - last_used_at
        - expires_at
        - revoked_at
        - is_active
        - summary_for_human
      title: CustomerAgentSummary
      description: |-
        One row in the customer's "My agents" list.

        Both the raw fields and the derived `summary_for_human` are
        surfaced — the derived field lets a merchant's storefront drop
        in a one-line list view without computing budget arithmetic
        client-side.
    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

````