For AI agents: a documentation index is available at https://docs.coverbase.com/llms.txt. This page is also available in markdown by appending .md to the URL.
Import Report
POST
POST /v1/import/{report_name}external_id, and returned with a per-record result summary.
Path parameters
string
required
The unique identifier of the import report.
Request body
The request body is a JSON object with adata key containing an array of records. Each record is an object whose keys are the mapped field names defined in the report and whose values are the incoming field values.
array
required
Records to import. Each record must include all fields marked as Required in the report’s mapping.
Example request
Example response
Response fields
string
Unique Coverbase import report ID.
string
Unique string used in the API endpoint URL.
string
Display name for the report.
string
The object each record in
data maps to (vendor, assessment, or service).object
Mapping between Coverbase field names and the field names accepted in the incoming JSON objects.
integer
Total number of records received in the request body.
integer
Number of records that resulted in a new base object being created.
integer
Number of records that matched an existing base object on
external_id and were updated in place.integer
Number of records that were rejected due to validation or mapping errors.
array
Per-record result objects for successfully processed records. Each contains
external_id, coverbase_id, action (created or updated), and status.array
Per-record error objects for rejected records. Each contains the record index,
external_id (if available), error_code, and a human-readable message.integer
Unix timestamp indicating when the import batch was received.
Error codes
Partial success is supported. Records that pass validation are imported even if other records in the same batch fail. The HTTP response code is
200 when at least one record succeeds and 400 when all records fail validation.Need help? Email support@coverbase.ai.