API Reference

Delete Context Version

Permanently deletes a context version. This action cannot be undone.

Endpoint
DELETE https://api.zatomic.ai/v1/contexts/{contextId}/versions/{versionId}

// Example
DELETE https://api.zatomic.ai/v1/contexts/ctx_2qRzu8geIvfudcJTwP0pur4TbMJ/versions/ctv_2qRzu8qzlNOMhTrini2EKCDh5r6

Endpoint Response

A successful call returns a 204 status code with no content.

HTTP Status Codes
204 No Content The context version was deleted.
404 Not Found The context version didn't exist.
500 Internal Server Error Something went wrong on Zatomic's end.