> ## 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.

# Save a Trail investigation to the workspace



## OpenAPI

````yaml /api-reference/platform-api.json post /v2/investigations
openapi: 3.0.0
info:
  title: Range Platform API
  description: >-
    The Range Platform API for workspace management, counterparties, and
    operational tooling.
  version: 1.7.13
  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/investigations:
    post:
      tags:
        - Investigations
      summary: Save a Trail investigation to the workspace
      operationId: create
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateInvestigationDto'
      responses:
        '201':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvestigationDto'
components:
  schemas:
    CreateInvestigationDto:
      type: object
      properties:
        title:
          type: string
          maxLength: 200
          example: Peel chain from Binance hot wallet
        subject_type:
          type: string
          enum:
            - address
            - transaction
        subject_address:
          type: string
          maxLength: 256
          example: 0xabc...
        subject_network:
          type: string
          maxLength: 256
          example: eth
        subject_tx_hash:
          type: string
          maxLength: 256
          example: 0xdef...
        status:
          type: string
          enum:
            - open
            - archived
        data:
          type: object
          example:
            nodes: []
            notes: []
            canvas: {}
          description: Trail canvas snapshot; validated leniently server-side
      required:
        - title
    InvestigationDto:
      type: object
      properties:
        id:
          type: string
          example: a1b2c3d4-e5f6-7890-abcd-ef1234567890
        workspace_id:
          type: string
          example: workspace-123
        title:
          type: string
          example: Peel chain from Binance hot wallet
        subject_type:
          type: string
          nullable: true
          enum:
            - address
            - transaction
        subject_address:
          type: string
          nullable: true
          example: 0xabc...
        subject_network:
          type: string
          nullable: true
          example: eth
        subject_tx_hash:
          type: string
          nullable: true
          example: 0xdef...
        status:
          type: string
          enum:
            - open
            - archived
          example: open
        created_by:
          type: string
          nullable: true
          example: analyst@range.org
        created_at:
          type: string
          example: '2026-07-09T00:00:00.000Z'
        updated_at:
          type: string
          example: '2026-07-09T00:00:00.000Z'
        data:
          type: object
          example:
            nodes: []
            notes: []
            canvas: {}
          description: Trail canvas snapshot (nodes, notes, canvas state)
      required:
        - id
        - workspace_id
        - title
        - status
        - created_at
        - updated_at
        - data
  securitySchemes:
    Authorization:
      type: apiKey
      in: header
      name: X-API-KEY
      description: Authorization method required to allow user to access the api endpoints.

````