Artifacts
Revert Artifact Endpoint
Restore the artifact's last committed version, discarding the draft delta.
Phase D.1 carves this out as a distinct endpoint instead of routing through op/revert. Revert touches version history (it doesn't just flip a state field) so it warrants its own verb. If the artifact has no committed version yet, returns 204 No Content per the design doc's "no-op" rule.
post/artifacts/{artifact_id}/revert
Request
- Base URLhttps://mantle.agience.ai
- AuthOAuth 2Authorization code/auth/authorizeToken URL/auth/token
Path parameters
artifact_idstring required
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 1 revision of this API.