Skip to main content

When making calls to the Cognite API, successful calls provide no confirmation of success.

 

HTTP Response 200 would be helpful for asserting successful API requests.  

 

One point of uncertainty for us is when passing multiple External ID’s to delete row records in a staging table, if some ID’s are incorrectly identified, we aren’t receiving any feedback to indicate 100% success.

We’ve read that when passing batches, there should be a return item indicating which records failed, but that is not our experience.

 

Note: this is using the Cognite SDK.

Hi @Jesse Jenken.

All API requests should return a response as documented in the API specification, e.g. here

For the endpoint you specifically mention, it returns a 200 and an empty JSON. Unknown keys are ignored.

Do you remember where you read the part about returning a list of failed records? If you have a link, I can take a look and update the documentation if needed.