Vestiarion Insights API

The Insights API from Vestiarion, for insights.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 1

GET /api/v1/insights Get insights #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/vestiarion-xyz:vestiarion-xyz-insights-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

vestiarion-xyz-insights-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Vestiarion Insights API
  version: v1
  description: Read a workspace's ledger, books, counterparties, milestones, treasury and insights, each payment's evidence and receipt and the monthly close pack, and add counterparties, invoices, milestones and payee links, with a workspace API key.
servers:
- url: https://www.vestiarion.xyz
tags:
- name: Insights
paths:
  /api/v1/insights:
    get:
      operationId: get-insights
      summary: Get insights
      description: 'The telemetry behind the Insights page: recent transfers, cycle runs, cycle snapshots, treasury moves and screenings. `referenceDisagreementCount: null` means the cycle predates the comparison, and `status: "partial"` is reported as it is, not rewritten as completed or failed.'
      tags:
      - Insights
      security:
      - bearerAuth: []
      parameters: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetInsightsResponse'
              example:
                data:
                  transfers:
                  - id: 359e82e1-958d-4327-9174-e0b885eebe8f
                    targetType: invoice
                    targetId: 1d7e1714-3f84-493e-a3ea-c984a2881100
                    txRef: '0x36ea71ac97cad3743f227860785207e6f25148251735569be0f6b16c73130343'
                    feeUsd: 0.003248
                    feeSource: chain_reported
                    settledInMs: 5000
                    chain: ARC-TESTNET
                    providerMode: live
                    executedAt: '2026-09-24T11:55:24.131+00:00'
                    status: confirmed
                  runs:
                  - id: 8cbcf6ca-2d58-43c9-9237-3000851e7046
                    startedAt: '2026-09-24T11:53:06.672+00:00'
                    finishedAt: '2026-09-24T11:53:16.101+00:00'
                    durationMs: 9429
                    decisionCount: 1
                    paidCount: 0
                    heldCount: 0
                    flaggedCount: 0
                    awaitingInfoCount: 0
                    releasedCount: 0
                    modelDecisionCount: 1
                    heuristicDecisionCount: 0
                    guardrailOverrideCount: 0
                    referenceDisagreementCount: null
                    status: completed
                    failedStage: null
                    errorMessage: null
                    chainMode: live
                    screeningMode: simulate
                  - id: bd76f653-4352-42b3-aec5-5ddbbe01c882
                    startedAt: '2026-09-24T15:22:50.871+00:00'
                    finishedAt: '2026-09-24T15:23:00.617+00:00'
                    durationMs: 9746
                    decisionCount: 0
                    paidCount: 0
                    heldCount: 0
                    flaggedCount: 0
                    awaitingInfoCount: 0
                    releasedCount: 0
                    modelDecisionCount: 0
                    heuristicDecisionCount: 0
                    guardrailOverrideCount: 0
                    referenceDisagreementCount: 0
                    status: partial
                    failedStage: ap
                    errorMessage: 'ap: AGENT_LLM_PROVIDER=openai but OPENAI_API_KEY is not set; treasury: AGENT_LLM_PROVIDER=openai but OPENAI_API_KEY is not set'
                    chainMode: live
                    screeningMode: simulate
                  snapshots:
                  - id: 352d94e4-a945-420f-a933-34b06b46412b
                    cycleRunId: 8cbcf6ca-2d58-43c9-9237-3000851e7046
                    capturedAt: '2026-09-24T11:53:16.101+00:00'
                    totalLiquid: 27.58
                    openPayables: 10.695
                    openReceivables: 9
                    obligationsDue7d: 12.195
                    obligationsDue14d: 12.195
                    reservePosition: 0
                    chainMode: live
                  treasuryMoves: []
                  screenings:
                  - id: 54d6f2a8-d939-45ef-a41e-61f88fd362ae
                    counterpartyId: dc5e5751-3287-46c9-8bd1-83a42ab02699
                    counterpartyName: Anthropic API Services
                    riskLevel: clear
                    previousRiskLevel: null
                    tierChanged: false
                    mode: simulate
                    source: simulated-sanctions-list
                    status: complete
                    createdAt: '2026-09-24T11:55:11.147351+00:00'
        '401':
          description: unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '500':
          description: internal
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
components:
  schemas:
    ApiError:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              enum:
              - unauthorized
              - forbidden
              - not_found
              - invalid_request
              - conflict
              - rate_limited
              - unavailable
              - internal
              description: One of a closed set, so a client can branch on it without parsing the message.
            message:
              type: string
              description: A human-readable explanation. Never carries internal detail.
          required:
          - code
          - message
      required:
      - error
      description: Every error the API returns has this shape.
    GetInsightsResponse:
      type: object
      properties:
        data:
          type: object
          properties:
            transfers:
              type: array
              items:
                type: object
                properties:
                  id:
                    type: string
                  targetType:
                    type: string
                    enum:
                    - invoice
                    - milestone
                  targetId:
                    type: string
                  txRef:
                    type: string
                  feeUsd:
                    type: number
                  feeSource:
                    type: string
                    enum:
                    - chain_reported
                    - provider_estimate
                    - simulated_profile
                  settledInMs:
                    type:
                    - number
                    - 'null'
                  chain:
                    type: string
                  providerMode:
                    type: string
                    enum:
                    - live
                    - simulate
                  executedAt:
                    type: string
                  status:
                    type: string
                required:
                - id
                - targetType
                - targetId
                - txRef
                - feeUsd
                - feeSource
                - settledInMs
                - chain
                - providerMode
                - executedAt
                - status
                description: One executed payment, with its fee and settlement time.
            runs:
              type: array
              items:
                type: object
                properties:
                  id:
                    type: string
                  startedAt:
                    type: string
                  finishedAt:
                    type: string
                  durationMs:
                    type: number
                  decisionCount:
                    type: number
                  paidCount:
                    type: number
                  heldCount:
                    type: number
                  flaggedCount:
                    type: number
                  awaitingInfoCount:
                    type: number
                  releasedCount:
                    type: number
                  modelDecisionCount:
                    type: number
                  heuristicDecisionCount:
                    type: number
                  guardrailOverrideCount:
                    type: number
                  referenceDisagreementCount:
                    description: Model verdicts that chose a different action from the rule-based policy. Null for cycles run before the comparison existed, never zero, which would claim perfect agreement over decisions never compared.
                    type:
                    - number
                    - 'null'
                  status:
                    type: string
                    enum:
                    - running
                    - completed
                    - partial
                    - failed
                    description: 'A cycle that failed partway is not a quiet cycle, and must not read as one. Its counts are real but partial: they cover the stages that ran before it stopped, and nothing after.'
                  failedStage:
                    type:
                    - string
                    - 'null'
                  errorMessage:
                    type:
                    - string
                    - 'null'
                  chainMode:
                    type: string
                    enum:
                    - live
                    - simulate
                  screeningMode:
                    type: string
                    enum:
                    - live
                    - simulate
                required:
                - id
                - startedAt
                - finishedAt
                - durationMs
                - decisionCount
                - paidCount
                - heldCount
                - flaggedCount
                - awaitingInfoCount
                - releasedCount
                - modelDecisionCount
                - heuristicDecisionCount
                - guardrailOverrideCount
                - referenceDisagreementCount
                - status
                - failedStage
                - errorMessage
                - chainMode
                - screeningMode
                description: 'One agent cycle: how long it took and what it decided.'
            snapshots:
              type: array
              items:
                type: object
                properties:
                  id:
                    type: string
                  cycleRunId:
                    type: string
                  capturedAt:
                    type: string
                  totalLiquid:
                    type: number
                  openPayables:
                    type: number
                  openReceivables:
                    type: number
                  obligationsDue7d:
                    type: number
                  obligationsDue14d:
                    type: number
                  reservePosition:
                    type: number
                  chainMode:
                    type: string
                    enum:
                    - live
                    - simulate
                required:
                - id
                - cycleRunId
                - capturedAt
                - totalLiquid
                - openPayables
                - openReceivables
                - obligationsDue7d
                - obligationsDue14d
                - reservePosition
                - chainMode
                description: The treasury position a cycle captured.
            treasuryMoves:
              type: array
              items:
                type: object
                properties:
                  id:
                    type: string
                  action:
                    type: string
                    enum:
                    - sweep_to_usyc
                    - redeem_from_usyc
                    - rebalance
                  amount:
                    type: number
                  createdAt:
                    type: string
                required:
                - id
                - action
                - amount
                - createdAt
                description: One treasury move.
            screenings:
              type: array
              items:
                type: object
                properties:
                  id:
                    type: string
                  counterpartyId:
                    type: string
                  counterpartyName:
                    type: string
                  riskLevel:
                    type: string
                  previousRiskLevel:
                    type:
                    - string
                    - 'null'
                  tierChanged:
                    type: boolean
                  mode:
                    type: string
                    enum:
                    - live
                    - simulate
                  source:
                    type: string
                  status:
                    type: string
                    enum:
                    - complete
                    - failed
                  createdAt:
                    type: string
                required:
                - id
                - counterpartyId
                - counterpartyName
                - riskLevel
                - previousRiskLevel
                - tierChanged
                - mode
                - source
                - status
                - createdAt
                description: One compliance screening, and whether it changed the counterparty's risk tier.
          required:
          - transfers
          - runs
          - snapshots
          - treasuryMoves
          - screenings
          description: 'The telemetry behind the Insights charts: the most recent transfers, cycle runs, snapshots, treasury moves and screenings, each oldest first.'
      required:
      - data
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'A workspace API key: vxk_<prefix>_<secret>.'