philidor-io · Schema

VaultDetailResponse

CompanyFinanceDeFiRisk ManagementAnalytics

Properties

Name Type Description
data object
View JSON Schema on GitHub

JSON Schema

philidor-io-vault-detail-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/philidor-io/json-schema/philidor-io-vault-detail-response-schema.json",
  "title": "VaultDetailResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/philidor-io-vaults-api-openapi.yml#/components/schemas/VaultDetailResponse",
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "properties": {
        "vault": {
          "$ref": "#/$defs/VaultDetail"
        },
        "snapshots": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Snapshot"
          }
        },
        "events": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Event"
          }
        },
        "rewards": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Reward"
          }
        },
        "wraps": {
          "$ref": "#/$defs/VaultWraps"
        },
        "strategyTransparency": {
          "$ref": "#/$defs/VaultStrategyTransparency"
        }
      },
      "required": [
        "vault",
        "snapshots",
        "events",
        "rewards",
        "wraps",
        "strategyTransparency"
      ]
    }
  },
  "required": [
    "data"
  ],
  "$defs": {
    "AuditEngagement": {
      "type": "object",
      "properties": {
        "date": {
          "type": "string"
        },
        "auditor": {
          "type": "string"
        },
        "type": {
          "type": "string",
          "enum": [
            "standard",
            "contest",
            "formal_verification"
          ]
        },
        "url": {
          "type": "string"
        },
        "scope": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Contracts/modules the engagement covered, as stated by the report."
        },
        "unauditedSurface": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Parts the report EXPLICITLY declared out of scope. Absent = the report did not say — never \"fully covered\"."
        },
        "findings": {
          "type": "object",
          "properties": {
            "critical": {
              "type": "number"
            },
            "high": {
              "type": "number"
            },
            "medium": {
              "type": "number"
            },
            "low": {
              "type": "number"
            }
          },
          "description": "Findings by severity, as published by the report."
        },
        "auditedRef": {
          "type": "string",
          "description": "Commit or release the engagement audited."
        },
        "remediated": {
          "type": "boolean"
        }
      },
      "required": [
        "date",
        "auditor",
        "type"
      ]
    },
    "Event": {
      "type": "object",
      "properties": {
        "id": {
          "type": "number"
        },
        "vault_id": {
          "type": [
            "string",
            "null"
          ]
        },
        "curator_id": {
          "type": [
            "string",
            "null"
          ]
        },
        "protocol_id": {
          "type": [
            "string",
            "null"
          ]
        },
        "protocol_version": {
          "type": [
            "string",
            "null"
          ]
        },
        "chain_id": {
          "type": [
            "number",
            "null"
          ]
        },
        "event_type": {
          "type": "string"
        },
        "severity": {
          "type": "string",
          "enum": [
            "Info",
            "Warning",
            "Critical"
          ]
        },
        "title": {
          "type": "string"
        },
        "description": {
          "type": [
            "string",
            "null"
          ]
        },
        "tx_hash": {
          "type": [
            "string",
            "null"
          ]
        },
        "block_number": {
          "type": [
            "number",
            "null"
          ]
        },
        "links": {},
        "occurred_at": {
          "type": "string"
        },
        "created_at": {
          "type": "string"
        },
        "incident_scope": {
          "type": [
            "string",
            "null"
          ],
          "enum": [
            "vault",
            "protocol",
            "curator",
            null
          ]
        },
        "incident_severity": {
          "type": [
            "string",
            "null"
          ],
          "enum": [
            "minor",
            "major",
            null
          ]
        },
        "loss_amount_usd": {
          "type": [
            "number",
            "null"
          ]
        },
        "remediation_status": {
          "type": [
            "string",
            "null"
          ],
          "enum": [
            "resolved",
            "unresolved",
            null
          ]
        },
        "user_compensation": {
          "type": [
            "string",
            "null"
          ],
          "enum": [
            "full",
            "partial",
            "none",
            null
          ]
        },
        "post_mortem_url": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "id",
        "vault_id",
        "curator_id",
        "protocol_id",
        "protocol_version",
        "chain_id",
        "event_type",
        "severity",
        "title",
        "description",
        "tx_hash",
        "block_number",
        "occurred_at",
        "created_at",
        "incident_scope",
        "incident_severity",
        "loss_amount_usd",
        "remediation_status",
        "user_compensation",
        "post_mortem_url"
      ]
    },
    "PendlePositionView": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "enum": [
                "unavailable"
              ]
            },
            "reason": {
              "type": "string",
              "enum": [
                "missing_or_invalid_facts"
              ]
            },
            "as_of": {
              "type": "string"
            }
          },
          "required": [
            "status",
            "reason",
            "as_of"
          ]
        },
        {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "enum": [
                "available"
              ]
            },
            "as_of": {
              "type": "string"
            },
            "facts": {
              "type": "object",
              "properties": {
                "schemaVersion": {
                  "type": "string",
                  "enum": [
                    "pendle-position-v1"
                  ]
                },
                "chainId": {
                  "type": "number",
                  "enum": [
                    1
                  ]
                },
                "kind": {
                  "type": "string",
                  "enum": [
                    "pt",
                    "lp"
                  ]
                },
                "positionAddress": {
                  "type": "string",
                  "pattern": "^0x[0-9a-f]{40}$"
                },
                "marketAddresses": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "pattern": "^0x[0-9a-f]{40}$"
                  },
                  "minItems": 1,
                  "maxItems": 100
                },
                "ptAddress": {
                  "type": "string",
                  "pattern": "^0x[0-9a-f]{40}$"
                },
                "syAddress": {
                  "type": "string",
                  "pattern": "^0x[0-9a-f]{40}$"
                },
                "underlyingAddress": {
                  "type": "string",
                  "pattern": "^0x[0-9a-f]{40}$"
                },
                "accountingAssetAddress": {
                  "type": "string",
                  "pattern": "^0x[0-9a-f]{40}$"
                },
                "expiryUnixSeconds": {
                  "type": "string",
                  "pattern": "^[1-9][0-9]{0,11}$"
                },
                "maturityDate": {
                  "type": "string",
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                },
                "fixedYield": {
                  "type": "object",
                  "properties": {
                    "impliedApy": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "exclusiveMinimum": -1
                    },
                    "source": {
                      "type": "string",
                      "enum": [
                        "pendle_api"
                      ]
                    },
                    "retrievedAt": {
                      "type": "string"
                    },
                    "publishedAt": {
                      "type": "null"
                    }
                  },
                  "required": [
                    "impliedApy",
                    "source",
                    "retrievedAt",
                    "publishedAt"
                  ],
                  "additionalProperties": false
                },
                "floatingYield": {
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {
                        "status": {
                          "type": "string",
                          "enum": [
                            "not_applicable"
                          ]
                        },
                        "reason": {
                          "type": "string",
                          "enum": [
                            "principal_token_discount"
                          ]
                        }
                      },
                      "required": [
                        "status",
                        "reason"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "status": {
                          "type": "string",
                          "enum": [
                            "unavailable"
                          ]
                        },
                        "reason": {
                          "type": "string",
                          "enum": [
                            "lp_fixed_component_not_separated"
                          ]
                        }
                      },
                      "required": [
                        "status",
                        "reason"
                      ],
                      "additionalProperties": false
                    }
                  ]
                },
                "oracle": {
                  "type": "object",
                  "properties": {
                    "method": {
                      "type": "string",
                      "enum": [
                        "unknown"
                      ]
                    },
                    "reason": {
                      "type": "string",
                      "enum": [
                        "no_collateral_oracle_classified"
                      ]
                    }
                  },
                  "required": [
                    "method",
                    "reason"
                  ],
                  "additionalProperties": false
                },
                "valuation": {
                  "type": "object",
                  "properties": {
                    "basis": {
                      "type": "string",
                      "enum": [
                        "outstanding_pt_supply",
                        "lp_share_supply"
                      ]
                    },
                    "rawTotalSupply": {
                      "type": "string",
                      "pattern": "^(0|[1-9][0-9]{0,77})$"
                    },
                    "decimals": {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 36
                    },
                    "usdPrice": {
                      "type": "string",
                      "pattern": "^(0|[1-9][0-9]*)(\\.[0-9]{1,18})?$"
                    },
                    "quoteRetrievedAt": {
                      "type": "string"
                    },
                    "quotePublishedAt": {
                      "type": "null"
                    },
                    "quoteSourceUrl": {
                      "type": "string",
                      "format": "uri"
                    },
                    "quoteResponseSha256": {
                      "type": "string",
                      "pattern": "^[0-9a-f]{64}$"
                    },
                    "reserveEvidence": {
                      "type": "object",
                      "properties": {
                        "method": {
                          "type": "string",
                          "enum": [
                            "market_read_state"
                          ]
                        },
                        "pt": {
                          "type": "object",
                          "properties": {
                            "address": {
                              "type": "string",
                              "pattern": "^0x[0-9a-f]{40}$"
                            },
                            "rawAmount": {
                              "type": "string",
                              "pattern": "^(0|[1-9][0-9]{0,77})$"
                            },
                            "decimals": {
                              "type": "integer",
                              "minimum": 0,
                              "maximum": 36
                            },
                            "usdPrice": {
                              "type": "string",
                              "maxLength": 330,
                              "pattern": "^(0|[1-9][0-9]*)(\\.[0-9]{1,18})?$"
                            },
                            "quoteRetrievedAt": {
                              "type": "string"
                            },
                            "quotePublishedAt": {
                              "type": "null"
                            },
                            "quoteSourceUrl": {
                              "type": "string",
                              "format": "uri"
                            },
                            "quoteResponseSha256": {
                              "type": "string",
                              "pattern": "^[0-9a-f]{64}$"
                            }
                          },
                          "required": [
                            "address",
                            "rawAmount",
                            "decimals",
                            "usdPrice",
                            "quoteRetrievedAt",
                            "quotePublishedAt",
                            "quoteSourceUrl",
                            "quoteResponseSha256"
                          ],
                          "additionalProperties": false
                        },
                        "sy": {
                          "type": "object",
                          "properties": {
                            "address": {
                              "type": "string",
                              "pattern": "^0x[0-9a-f]{40}$"
                            },
                            "rawAmount": {
                              "type": "string",
                              "pattern": "^(0|[1-9][0-9]{0,77})$"
                            },
                            "decimals": {
                              "type": "integer",
                              "minimum": 0,
                              "maximum": 36
                            },
                            "usdPrice": {
                              "type": "string",
                              "maxLength": 330,
                              "pattern": "^(0|[1-9][0-9]*)(\\.[0-9]{1,18})?$"
                            },
                            "quoteRetrievedAt": {
                              "type": "string"
                            },
                            "quotePublishedAt": {
                              "type": "null"
                            },
                            "quoteSourceUrl": {
                              "type": "string",
                              "format": "uri"
                            },
                            "quoteResponseSha256": {
                              "type": "string",
                              "pattern": "^[0-9a-f]{64}$"
                            }
                          },
                          "required": [
                            "address",
                            "rawAmount",
                            "decimals",
                            "usdPrice",
                            "quoteRetrievedAt",
                            "quotePublishedAt",
                            "quoteSourceUrl",
                            "quoteResponseSha256"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "required": [
                        "method",
                        "pt",
                        "sy"
                      ],
                      "additionalProperties": false
                    },
                    "economicOverlap": {
                      "type": "string",
                      "enum": [
                        "pt_supply_includes_lp_holdings",
                        "lp_reserves_include_pt"
                      ]
                    }
                  },
                  "required": [
                    "basis",
                    "rawTotalSupply",
                    "decimals",
                    "usdPrice",
                    "quoteRetrievedAt",
                    "quotePublishedAt",
                    "quoteSourceUrl",
                    "quoteResponseSha256",
                    "economicOverlap"
                  ],
                  "additionalProperties": false
                },
                "provenance": {
                  "type": "object",
                  "properties": {
                    "collectionAsOf": {
                      "type": "string"
                    },
                    "finalizedBlock": {
                      "type": "object",
                      "properties": {
                        "number": {
                          "type": "integer",
                          "exclusiveMinimum": 0,
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "hash": {
                          "type": "string",
                          "pattern": "^0x[0-9a-f]{64}$"
                        },
                        "timestamp": {
                          "type": "integer",
                          "exclusiveMinimum": 0,
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        }
                      },
                      "required": [
                        "number",
                        "hash",
                        "timestamp"
                      ],
                      "additionalProperties": false
                    },
                    "marketSourceUrl": {
                      "type": "string",
                      "format": "uri"
                    },
                    "marketResponseSha256": {
                      "type": "string",
                      "pattern": "^[0-9a-f]{64}$"
                    },
                    "retrievedAt": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "collectionAsOf",
                    "finalizedBlock",
                    "marketSourceUrl",
                    "marketResponseSha256",
                    "retrievedAt"
                  ],
                  "additionalProperties": false
                }
              },
              "required": [
                "schemaVersion",
                "chainId",
                "kind",
                "positionAddress",
                "marketAddresses",
                "ptAddress",
                "syAddress",
                "underlyingAddress",
                "accountingAssetAddress",
                "expiryUnixSeconds",
                "maturityDate",
                "fixedYield",
                "floatingYield",
                "oracle",
                "valuation",
                "provenance"
              ],
              "additionalProperties": false
            },
            "post_maturity_state": {
              "type": "string",
              "enum": [
                "pre_maturity",
                "matured"
              ]
            },
            "effective_fixed_apy": {
              "type": [
                "number",
                "null"
              ]
            },
            "risk_mechanism": {
              "type": "string",
              "enum": [
                "fixed_principal",
                "implied_yield_curve"
              ]
            },
            "valuation_semantics": {
              "type": "string",
              "enum": [
                "overlapping_position_value"
              ]
            },
            "supply_rewards_status": {
              "type": "string",
              "enum": [
                "unavailable"
              ]
            }
          },
          "required": [
            "status",
            "as_of",
            "facts",
            "post_maturity_state",
            "effective_fixed_apy",
            "risk_mechanism",
            "valuation_semantics",
            "supply_rewards_status"
          ]
        }
      ],
      "description": "Retained, validated Ethereum position facts evaluated at response as_of (preserved on cache replay). Fixed APY is an informational source observation, not current executable yield or floating APR. PT and LP position values overlap; do not sum as unique TVL. LP exposure is to the implied-yield curve, not a standard AMM IL model."
    },
    "Reward": {
      "type": "object",
      "properties": {
        "side": {
          "type": "string",
          "enum": [
            "supply"
          ]
        },
        "token_symbol": {
          "type": [
            "string",
            "null"
          ]
        },
        "token_address": {
          "type": [
            "string",
            "null"
          ]
        },
        "apr": {
          "type": [
            "number",
            "null"
          ]
        },
        "reward_type": {
          "type": [
            "string",
            "null"
          ],
          "enum": [
            "token_incentive",
            "points",
            "trading_fee",
            "strategy",
            null
          ]
        },
        "source": {
          "type": [
            "string",
            "null"
          ],
          "enum": [
            "merkl_api",
            "morpho_blue_api",
            "protocol_api",
            "onchain",
            null
          ]
        },
        "campaign_id": {
          "type": [
            "string",
            "null"
          ]
        },
        "campaign_onchain_id": {
          "type": [
            "string",
            "null"
          ]
        },
        "distribution_type": {
          "type": [
            "string",
            "null"
          ]
        },
        "source_url": {
          "type": [
            "string",
            "null"
          ]
        },
        "start_at": {
          "type": [
            "string",
            "null"
          ]
        },
        "end_at": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "side",
        "token_symbol",
        "token_address",
        "apr",
        "reward_type"
      ]
    },
    "Snapshot": {
      "type": "object",
      "properties": {
        "recorded_at": {
          "type": "string"
        },
        "tvl_usd": {
          "type": "number"
        },
        "apr_net": {
          "type": [
            "number",
            "null"
          ]
        },
        "base_apr": {
          "type": [
            "number",
            "null"
          ]
        },
        "price_per_share": {
          "type": [
            "number",
            "null"
          ]
        },
        "utilization": {
          "type": [
            "number",
            "null"
          ],
          "description": "Point-in-time utilization (0..1 fraction). Morpho convention: idle liquidity counts at u=0, so it reads lower than a per-market UI, by design. NULL until an adapter emits it."
        },
        "borrow_apr": {
          "type": [
            "number",
            "null"
          ]
        },
        "borrow_rate_basis": {
          "type": [
            "string",
            "null"
          ],
          "enum": [
            "apr",
            "apy",
            null
          ],
          "description": "Basis of borrow_apr for this snapshot (PHI-136): apy (Aave-V3/Morpho) vs apr (Compound/Spark/Aave-V4). NULL when borrow_apr is NULL."
        },
        "borrow_reward_apr": {
          "type": "number",
          "description": "Point-in-time priced borrower-rebate total. Non-authoritative when borrow_incentive_status is unavailable; never use it to derive net cost in that state."
        },
        "borrow_apr_net": {
          "type": [
            "number",
            "null"
          ]
        },
        "borrow_incentive_status": {
          "type": [
            "string",
            "null"
          ],
          "enum": [
            "observed",
            "none",
            "unavailable",
            "not_applicable",
            null
          ],
          "description": "Point-in-time borrower-incentive evidence status. unavailable means borrow_reward_apr is non-authoritative and borrow_apr_net is NULL."
        }
      },
      "required": [
        "recorded_at",
        "tvl_usd",
        "apr_net",
        "base_apr",
        "price_per_share",
        "utilization",
        "borrow_apr",
        "borrow_rate_basis",
        "borrow_reward_apr",
        "borrow_apr_net",
        "borrow_incentive_status"
      ]
    },
    "Vault": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "address": {
          "type": "string"
        },
        "protocol_id": {
          "type": "string"
        },
        "chain_id": {
          "type": "number"
        },
        "curator_id": {
          "type": [
            "string",
            "null"
          ]
        },
        "name": {
          "type": "string"
        },
        "symbol": {
          "type": [
            "string",
            "null"
          ]
        },
        "external_id": {
          "type": [
            "string",
            "null"
          ]
        },
        "asset_address": {
          "type": [
            "string",
            "null"
          ]
        },
        "asset_symbol": {
          "type": [
            "string",
            "null"
          ]
        },
        "tvl_usd": {
          "type": "number"
        },
        "apr_net": {
          "type": [
            "number",
            "null"
          ]
        },
        "apr_forward": {
          "type": [
            "number",
            "null"
          ]
        },
        "total_score": {
          "type": [
            "number",
            "null"
          ]
        },
        "risk_tier": {
          "type": [
            "string",
            "null"
          ],
          "enum": [
            "Prime",
            "Core",
            "Edge",
            null
          ],
          "description": "Published tier (hysteresis-stabilized). May briefly differ from a naive derivation from risk_score while a boundary move is dwelling."
        },
        "capped_by": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "asset": {
              "type": "string",
              "description": "Symbol of the collateral that explains the cap."
            },
            "address": {
              "type": "string",
              "description": "Address of that collateral on the exposure chain."
            },
            "reason": {
              "type": "string",
              "enum": [
                "unevaluated_collateral"
              ],
              "description": "The cap is explained by collateral that is still provisional or unreviewed. total_score and risk_tier are unchanged."
            },
            "label": {
              "type": "string",
              "description": "French badge text for the product UI. Render this string; do not recompute the tier from it."
            }
          },
          "required": [
            "asset",
            "address",
            "reason",
            "label"
          ],
          "description": "Set when asset-quality drag or the unreviewed-collateral rule is binding because of an unevaluated collateral exposure at weight ≥ 5%. Null when the vault is not capped that way, or when the weakest significant collateral is a reviewed judgment. Does not change total_score or risk_tier."
        },
        "risk_vectors": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "asset": {
              "type": "object",
              "properties": {
                "score": {
                  "type": "number"
                },
                "weight": {
                  "type": "number"
                },
                "details": {},
                "exposures": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "address": {
                        "type": "string"
                      },
                      "chainId": {
                        "type": "number"
                      },
                      "category": {
                        "type": "string",
                        "enum": [
                          "native",
                          "fiat_backed_stablecoin",
                          "cdp_stablecoin",
                          "synthetic_stablecoin",
                          "lst",
                          "lrt",
                          "wrapped_btc",
                          "governance_token",
                          "unreviewed"
                        ]
                      },
                      "reviewStatus": {
                        "type": "string",
                        "enum": [
                          "reviewed",
                          "provisional",
                          "unreviewed"
                        ]
                      },
                      "score": {
                        "type": "number"
                      },
                      "weight": {
                        "type": "number"
                      },
                      "suitability": {
                        "type": "string",
                        "enum": [
                          "institutional",
                          "qualified",
                          "speculative",
                          "not_assessed"
                        ]
                      },
                      "capsApplied": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "type": {
                              "type": "string",
                   

# --- truncated at 32 KB (93 KB total) ---
# Full source: https://artifacts.apis.io/philidor-io/json-schema/philidor-io-vault-detail-response-schema.json

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/philidor-io-vault-detail-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.