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

# List pending approval summaries

> Returns one aggregate pending-approval summary across owned portfolios without fetching full per-portfolio trade detail.

Operation ID: get__portfolios_approvals_pending.



## OpenAPI

````yaml /openapi/itoflow-public.openapi.json get /portfolios/approvals/pending
openapi: 3.1.0
info:
  description: >-
    All Itoflow APIs are experimental and may change without notice. Read-only
    operations marked interactive can be tried from the documentation; the
    others are reference-only.
  title: Itoflow Developer API
  version: 1.0.0
servers:
  - description: Itoflow API
    url: https://api.itoflow.ai
security: []
tags:
  - name: Account
  - name: Billing
  - name: Brokers
  - name: Chat
  - name: Connected MCP servers
  - name: GitHub
  - name: Market data
  - name: Monitors
  - name: Notifications
  - name: Portfolios
  - name: Risk runs
  - name: Sharing and data
  - name: Strategies
paths:
  /portfolios/approvals/pending:
    get:
      tags:
        - Portfolios
      summary: List pending approval summaries
      description: >-
        Returns one aggregate pending-approval summary across owned portfolios
        without fetching full per-portfolio trade detail.


        Operation ID: get__portfolios_approvals_pending.
      operationId: get__portfolios_approvals_pending
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PendingApprovalsResponse'
          description: Pending approval summaries
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Server error
      security:
        - bearerAuth: []
components:
  schemas:
    PendingApprovalsResponse:
      properties:
        portfolios:
          items:
            $ref: '#/components/schemas/PendingApprovalsPortfolioSummary'
          type: array
        totalAwaitingApproval:
          type: integer
      required:
        - totalAwaitingApproval
        - portfolios
      type: object
    Error:
      properties:
        available:
          description: Optional available amount or value
          type: string
        billing_action:
          $ref: '#/components/schemas/BillingAction'
        code:
          description: Machine-readable error code
          type: string
        currentVersion:
          description: Current server-side version, when relevant
          type: number
        details:
          description: Optional structured error details
        error:
          description: Error type or code
          type: string
        expectedVersion:
          description: Client-provided expected version, when relevant
          type: number
        message:
          description: Human-readable error message
          type: string
        requested:
          description: Optional requested amount or value
          type: string
        usage:
          description: Optional usage metadata for limit errors
      required:
        - error
      type: object
    PendingApprovalsPortfolioSummary:
      properties:
        approvalProposal:
          $ref: '#/components/schemas/ApprovalProposal'
        awaitingApprovalCount:
          type: integer
        buyCount:
          type: integer
        exchanges:
          items:
            type: string
          type: array
        netChange:
          description: Net notional change across open approval-route trades
          type: number
        portfolioId:
          format: uuid
          type: string
        portfolioName:
          type: string
        sellCount:
          type: integer
        totalPendingCount:
          type: integer
      required:
        - portfolioId
        - portfolioName
        - awaitingApprovalCount
        - totalPendingCount
        - netChange
        - exchanges
        - buyCount
        - sellCount
        - approvalProposal
      type: object
    BillingAction:
      description: Action that resolves a billing-related rejection
      properties:
        href:
          type: string
        kind:
          enum:
            - upgrade
            - payment_method
            - spending_cap
            - billing
          type: string
        label:
          type: string
      required:
        - href
        - label
        - kind
      type: object
    ApprovalProposal:
      properties:
        blockingReasonCode:
          type:
            - string
            - 'null'
        decisionId:
          format: uuid
          type:
            - string
            - 'null'
        hash:
          type: string
        id:
          format: uuid
          type: string
        message:
          type: string
        reviewRequired:
          type: boolean
        state:
          enum:
            - ready
            - proposal_changed
            - preparing
            - verification_delayed
            - reconnect_required
            - no_longer_applicable
          type: string
      required:
        - id
        - decisionId
        - hash
        - state
        - reviewRequired
        - blockingReasonCode
        - message
      type:
        - object
        - 'null'
  securitySchemes:
    bearerAuth:
      bearerFormat: JWT
      description: Itoflow access token issued for the Itoflow API.
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.