Documentation Index
Fetch the complete documentation index at: https://docs.coverbase.com/llms.txt
Use this file to discover all available pages before exploring further.
Import Report
POST /v1/import/{report_name}external_id, and returned with a per-record result summary.
Path parameters
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.
Records to import. Each record must include all fields marked as Required in the report’s mapping.
Example request
Example response
Response fields
Unique Coverbase import report ID.
Unique string used in the API endpoint URL.
Display name for the report.
The object each record in
data represents (vendor, assessment, or service).Mapping between Coverbase field names and the field names accepted in the incoming JSON objects.
Total number of records received in the request body.
Number of records that resulted in a new base object being created.
Number of records that matched an existing base object on
external_id and were updated in place.Number of records that were rejected due to validation or mapping errors.
Per-record result objects for successfully processed records. Each contains
external_id, coverbase_id, action (created or updated), and status.Per-record error objects for rejected records. Each contains the record index,
external_id (if available), error_code, and a human-readable message.Unix timestamp indicating when the import batch was received.
Error codes
| Code | Description |
|---|---|
missing_required_field | A required field (such as name or external_id) was absent from the record. |
invalid_field_value | A field value failed type or format validation (for example, a malformed date or non-numeric score). |
unmapped_field | A field in the record is not defined in the report’s mapping and was ignored. Informational only; does not fail the record. |
unknown_base_object | The report’s configured base object is no longer valid. |
duplicate_external_id | The same external_id appears more than once in a single request batch. |
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.