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

# Upsert balance snapshots on a custom connection

> Appends balance snapshots (the balance tape) per account and instant. A snapshot is an independent observation — never recomputed from movements. Same (account, as_of) is superseded by the newest push.



## OpenAPI

````yaml /api-reference/platform-api.json post /v2/account-connections/{id}/snapshots
openapi: 3.0.0
info:
  title: Range Platform API
  description: >-
    The Range Platform API for workspace management, counterparties, and
    operational tooling.
  version: 1.7.27
  contact: {}
servers:
  - url: https://api.range.org
    description: Range API Server
security:
  - Authorization: []
  - Authorization: []
tags:
  - name: Address Information
    description: Get information about a crypto address.
  - name: Transfer Enrichments
    description: Attach workspace-scoped notes and categories to transfers.
  - name: Counterparties
    description: Manage external entities, their addresses, bank accounts, and documents.
paths:
  /v2/account-connections/{id}/snapshots:
    post:
      tags:
        - Account Connections
      summary: Upsert balance snapshots on a custom connection
      description: >-
        Appends balance snapshots (the balance tape) per account and instant. A
        snapshot is an independent observation — never recomputed from
        movements. Same (account, as_of) is superseded by the newest push.
      operationId: upsertSnapshots
      parameters:
        - name: id
          required: true
          in: path
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpsertCustomSnapshotsDto'
      responses:
        '201':
          description: ''
components:
  schemas:
    UpsertCustomSnapshotsDto:
      type: object
      properties:
        snapshots:
          minItems: 1
          type: array
          items:
            $ref: '#/components/schemas/CustomSnapshotInputDto'
      required:
        - snapshots
    CustomSnapshotInputDto:
      type: object
      properties:
        external_id:
          type: string
          maxLength: 256
          example: TRUST-1180
        as_of:
          type: string
          example: '2026-09-11T00:00:00-05:00'
          description: Balance instant (ISO 8601).
        asset:
          type: string
          maxLength: 255
          example: USDC
          description: Display symbol.
        asset_id:
          type: string
          maxLength: 255
          example: ethereum:0xa0b8...
          description: >-
            Unambiguous asset id: `network:denom` for crypto, or ISO 4217 for
            fiat.
        network:
          type: string
          maxLength: 255
          example: ethereum
          description: Required for crypto; empty for fiat.
        quantity:
          type: string
          example: '1500000'
          description: >-
            Signed decimal string, asset-native precision. Negative is an
            overdraft.
      required:
        - external_id
        - as_of
        - asset
        - asset_id
        - quantity
  securitySchemes:
    Authorization:
      type: apiKey
      in: header
      name: X-API-KEY
      description: Authorization method required to allow user to access the api endpoints.

````