Import Findings
Imports findings to add or update them in a project.
POST /v1/import/findings
Content
See Findings for details on the CSV format used for findings. Each row is one rule for one month. To add a new finding:
inspector,inspector_rule,month,title
skyspark,heat_cool,2026-11,Reheat open in cooling
To update it with the zones, spaces, assets, and sources it involves:
inspector,inspector_rule,month,space_ids,asset_ids
skyspark,heat_cool,2026-11,sp.3,"a.12,a.13"
Findings have no id column. A row with the same
inspector, inspector_rule, and
month as an existing finding updates it; any other row adds
a new finding. Reporting findings requires an Edit key; a Control key is
not needed.
curl https://api.novant.io/v1/import/findings \
-X POST \
-u ak_sample_123: \
-H "Content-Type: text/csv" \
--data-binary @findings.csvReturns
Returns ok if the import was successful, with the number
of findings created, updated, and unchanged. Rows for a month older than
the months kept, or after the current month, are counted as
skipped.
{
"proj_id": 4821,
"status": "ok",
"created": 1,
"updated": 1,
"unchanged": 0,
"skipped": 0
}Errors
If any row is invalid, the whole import is rejected with a
400 and nothing is changed. The error message lists up to
the first ten problems, each with its CSV line, where the header is line
1:
Line 2: Missing title; Line 5: Unknown asset 'a.99' in asset_ids
An inspector must be 3 to 32 lowercase letters, digits,
and _, starting with a letter. See Findings for every limit.