Admin APIs
Reporting

Import Snapshot Reporting

Changed on

Import snapshot data from a directory of 4 CSVs into the snapshot tables.

The directory must contain: overview.csv, clients.csv, suppliers.csv, users.csv. All inserts are upserts — safe to re-run. Use skip_existing=true to skip dates that already have an overview row.

post/api/v1/admin/reporting/snapshot/import

Request

  • Base URL: https://carbonarc.ai (the document declares no server; this is the origin it was published from)
  • URL: https://carbonarc.ai/api/v1/admin/reporting/snapshot/import
  • Auth: OAuth 2 (authorization code, authorization URL authorize, token URL token)

Query parameters

directorystring required

Path to directory containing overview.csv, clients.csv, suppliers.csv, users.csv

skip_existingboolean

Response

Successful Response

unknown required

Changes

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status