> ## 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 portfolio performance history

> Returns performance history with timestamps, total value, daily/cumulative returns, and strategy attribution periods.

Operation ID: get__portfolios_id_performance.



## OpenAPI

````yaml /openapi/itoflow-public.openapi.json get /portfolios/{id}/performance
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}/performance:
    get:
      tags:
        - Portfolios
      summary: Get portfolio performance history
      description: >-
        Returns performance history with timestamps, total value,
        daily/cumulative returns, and strategy attribution periods.


        Operation ID: get__portfolios_id_performance.
      operationId: get__portfolios_id_performance
      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/PerformanceResponse'
          description: Performance history
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Invalid portfolio ID
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Ownership required
        '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:
    PerformanceResponse:
      properties:
        history:
          items:
            $ref: '#/components/schemas/PerformancePoint'
          type: array
        portfolio_id:
          format: uuid
          type: string
        strategy_periods:
          items:
            properties:
              period_end:
                type: string
              period_return:
                type: number
              period_start:
                type: string
              strategy_id:
                type: string
              strategy_name:
                type: string
              strategy_version_id:
                type: string
            required:
              - strategy_version_id
              - strategy_id
              - strategy_name
              - period_start
              - period_end
            type: object
          type: array
      required:
        - portfolio_id
        - history
        - strategy_periods
      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
    PerformancePoint:
      properties:
        cash:
          type:
            - string
            - 'null'
        cumulative_return:
          description: >-
            Chained return from the first observed reading (zero). External
            flows are placed at the preceding reading, an approximation to
            flow-time valuation. Null means not known.
          type:
            - string
            - 'null'
        cumulative_return_reason:
          description: Why the stored cumulative return is not known; null when measured.
          type:
            - string
            - 'null'
        daily_return:
          description: >-
            Return since the last reading at or before 00:00 UTC today, from the
            flow-adjusted index. Null means not known, including an anchor older
            than the previous UTC day.
          type:
            - string
            - 'null'
        daily_return_reason:
          description: Why the stored daily return is not known; null when measured.
          type:
            - string
            - 'null'
        timestamp:
          type: string
        total_value:
          type: string
      required:
        - timestamp
        - total_value
        - cash
        - daily_return_reason
        - cumulative_return_reason
        - daily_return
        - cumulative_return
      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.