> ## 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.

# Get broker validation status

> Returns live broker connection and portfolio validation status for a live portfolio mirror.

Operation ID: get__portfolios_id_broker_status.



## OpenAPI

````yaml /openapi/itoflow-public.openapi.json get /portfolios/{id}/broker-status
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/{id}/broker-status:
    get:
      tags:
        - Portfolios
      summary: Get broker validation status
      description: >-
        Returns live broker connection and portfolio validation status for a
        live portfolio mirror.


        Operation ID: get__portfolios_id_broker_status.
      operationId: get__portfolios_id_broker_status
      parameters:
        - description: Resource UUID
          in: path
          name: id
          required: true
          schema:
            description: Resource UUID
            example: 550e8400-e29b-41d4-a716-446655440000
            format: uuid
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BrokerStatusResponse'
          description: Broker validation status
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Invalid portfolio id or non-live portfolio
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Portfolio not found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Server error
      security:
        - bearerAuth: []
components:
  schemas:
    BrokerStatusResponse:
      properties:
        actionability:
          additionalProperties: {}
          type: object
        active_gtt_count:
          type: integer
        broker_type:
          type:
            - string
            - 'null'
        connection_id:
          format: uuid
          type:
            - string
            - 'null'
        holdings_match:
          type: boolean
        is_active:
          type: boolean
        is_valid:
          type: boolean
        last_validated_at:
          type: string
        reconciling:
          type: boolean
        sync_status:
          type: string
        violations:
          items:
            $ref: '#/components/schemas/SubsetViolation'
          type: array
      required:
        - actionability
        - active_gtt_count
        - broker_type
        - connection_id
        - holdings_match
        - is_active
        - is_valid
        - last_validated_at
        - reconciling
        - sync_status
        - violations
      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
    SubsetViolation:
      properties:
        broker_quantity:
          type: string
        issue:
          enum:
            - missing
            - insufficient
            - excess
          type: string
        siq_quantity:
          type: string
        symbol:
          type: string
      required:
        - symbol
        - siq_quantity
        - broker_quantity
        - issue
      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
  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.