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

# Vault Performance KPIs

> Get key performance indicators for a vault



## OpenAPI

````yaml open-apis/0d.json get /vaults/{vault_id}/kpis
openapi: 3.1.0
info:
  title: zerod_api
  description: 0D Master API for vaults
  license:
    name: MIT
    identifier: MIT
  version: 0.1.0
servers:
  - url: https://api.0d.finance/{version}
    variables:
      version:
        default: v1
        enum:
          - v1
security: []
tags:
  - name: zerod_bin
    description: 0d, master api
  - name: User
    description: User profile endpoints
  - name: Vaults
    description: Vault management endpoints
paths:
  /vaults/{vault_id}/kpis:
    get:
      tags:
        - Vaults
      operationId: get_vault_kpis
      parameters:
        - name: vault_id
          in: path
          description: Vault identifier
          required: true
          schema:
            type: string
        - name: timeframe
          in: query
          description: Time period for KPI calculation
          required: true
          schema:
            $ref: '#/components/schemas/Timeframe'
          example: all
      responses:
        '200':
          description: Vault performance KPIs
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KpisDTO'
        '400':
          description: Invalid parameters
        '404':
          description: Vault not found
        '500':
          description: Internal server error
components:
  schemas:
    Timeframe:
      type: string
      enum:
        - 7d
        - 30d
        - 1y
        - all
    KpisDTO:
      type: object
      required:
        - cumulative_pnl_usd
        - max_drawdown_pct
        - sharpe
        - profit_share_bps
      properties:
        cumulative_pnl_usd:
          type: string
        max_drawdown_pct:
          type: number
          format: double
        profit_share_bps:
          type: integer
          format: int32
          minimum: 0
        sharpe:
          type: number
          format: double

````