Reports

Generate report

Creates a new report in pending status.

post/api/v2/reports

Request body

type'holdings' | 'transactions' | 'trades' | 'staking' | 'holdingsByAddress' | 'userAccess' | 'policies' | 'costBasis' | 'gasTankReport' required
format'csv' | 'pdf' required

Example request

{
  "holdings": {
    "enterprise": "59cd72485007a239fb00282ed480da1f"
  },
  "transactions": {
    "enterprise": "59cd72485007a239fb00282ed480da1f",
    "wallets": [
      "59cd72485007a239fb00282ed480da1f"
    ]
  },
  "quarterly": {
    "enterprise": "59cd72485007a239fb00282ed480da1f"
  },
  "trades": {
    "enterprise": "59cd72485007a239fb00282ed480da1f"
  },
  "staking": {
    "enterprise": "59cd72485007a239fb00282ed480da1f",
    "wallets": [
      "59cd72485007a239fb00282ed480da1f"
    ]
  },
  "gasTankReport": {
    "enterprise": "59cd72485007a239fb00282ed480da1f"
  },
  "holdingsByAddress": {
    "wallets": [
      "59cd72485007a239fb00282ed480da1f"
    ]
  },
  "organizationTransactions": {
    "wallets": [
      "59cd72485007a239fb00282ed480da1f"
    ]
  },
  "organizationTransactionsV2": {
    "wallets": [
      "59cd72485007a239fb00282ed480da1f"
    ]
  },
  "organizationHoldingsByAddress": {
    "wallets": [
      "59cd72485007a239fb00282ed480da1f"
    ]
  },
  "organizationStaking": {
    "wallets": [
      "59cd72485007a239fb00282ed480da1f"
    ]
  },
  "costBasis": {
    "enterprise": "59cd72485007a239fb00282ed480da1f"
  }
}

Response

OK

idstring required
type'holdings' | 'transactions' | 'trades' | 'staking' | 'holdingsByAddress' | 'userAccess' | 'policies' | 'costBasis' | 'gasTankReport' | 'organizationHoldings' | 'organizationHoldingsByAddress' | 'organizationTransactions' | 'organizationTrades' | 'organizationStaking' | 'organizationHoldingsV2' | 'organizationTransactionsV2' | 'quarterly' required
format'csv' | 'pdf' required
status'pending' | 'processing' | 'completed' | 'failed' required
createdAtstring date-time required

Date report was created

completedAtstring date-time

Date report was completed

documentNamestring

Name of the report document

userstring required

ID of the user who requested the report

Example response

{
  "holdings": {
    "enterprise": "59cd72485007a239fb00282ed480da1f"
  },
  "transactions": {
    "enterprise": "59cd72485007a239fb00282ed480da1f",
    "wallets": [
      "59cd72485007a239fb00282ed480da1f"
    ]
  },
  "quarterly": {
    "enterprise": "59cd72485007a239fb00282ed480da1f"
  },
  "trades": {
    "enterprise": "59cd72485007a239fb00282ed480da1f"
  },
  "staking": {
    "enterprise": "59cd72485007a239fb00282ed480da1f",
    "wallets": [
      "59cd72485007a239fb00282ed480da1f"
    ]
  },
  "gasTankReport": {
    "enterprise": "59cd72485007a239fb00282ed480da1f"
  },
  "holdingsByAddress": {
    "wallets": [
      "59cd72485007a239fb00282ed480da1f"
    ]
  },
  "organizationTransactions": {
    "wallets": [
      "59cd72485007a239fb00282ed480da1f"
    ]
  },
  "organizationTransactionsV2": {
    "wallets": [
      "59cd72485007a239fb00282ed480da1f"
    ]
  },
  "organizationHoldingsByAddress": {
    "wallets": [
      "59cd72485007a239fb00282ed480da1f"
    ]
  },
  "organizationStaking": {
    "wallets": [
      "59cd72485007a239fb00282ed480da1f"
    ]
  },
  "costBasis": {
    "enterprise": "59cd72485007a239fb00282ed480da1f"
  },
  "id": "59cd72485007a239fb00282ed480da1f",
  "user": "59cd72485007a239fb00282ed480da1f"
}

Changes

Changed in 1 of the 33 revisions of this API.13

  • b8a54d28235413See the full diff
    • ●

      added the new gasTankReport enum value to the // response property for the response status

      response-property-enum-value-added

    • ○

      added the new optional request property

      new-optional-request-property

    • ○

      added the new gasTankReport enum value to the request property

      request-property-enum-value-added

    • ○

      added the optional property / to the response with the status

      response-optional-property-added