data

Insert new Documents

Insert 1–1000 documents. Supplied IDs are ignored unless the X-Corva-App header names an app in the client-ID allowlist. For those apps, regular collections preserve an optional _id, which must be a 24-character hexadecimal MongoDB ObjectId string; missing or null IDs are generated. Invalid IDs reject the whole request with HTTP 400 before insertion. Native time-series collections continue to ignore supplied IDs. Inserts never replace existing documents. Bulk write failures, including duplicate IDs, retain the HTTP 200 response with inserted_ids, failed_count, and messages.

post/api/v1/data/{provider}/{dataset}/

Request

  • Base URL
    https://data.corva.ai (the document declares no server; this is the origin it was published from)
  • Auth
    • HTTP bearer
    • or API key in header Authorization

Path parameters

providerstring required
datasetstring required

Request body

OR

Response

Successful Response

inserted_idsstring[]
failed_countinteger
messagesstring[]

Changes

No recorded changes to this operation across all 1 revision of this API.