Workflows
Delete artifact content while retaining its audit receipt
Changed onClears the stored input, result value, and Markdown of one snapshot and stamps contentDeletedAt, while the receipt itself (digests, tool calls, status, timings) stays in history. When the snapshot came from an Automation, that Automation's latest successful result is re-pointed to its newest remaining readable snapshot. Idempotent: deleting already-deleted content returns the snapshot unchanged. Requires manager access to the Workflow.
delete/v1/workflows/{configObjectId}/snapshots/{receiptId}/content
Request
- Base URLhttps://api.openworklabs.com
- Auth
- API key in header x-api-key
- or HTTP bearer
Path parameters
configObjectId, string required
receiptId, string required
Response
Artifact content deleted.
object required
receiptId, string required
pluginId, string required
configObjectId, string required
configObjectVersionId, string required
automationRunId, string nullable required
value, unknown required
markdown, string nullable required
codeDigest, string required
resultDigest, string nullable required
inputSchemaDigest, string nullable required
outputSchemaDigest, string nullable required
rendererVersion, 'codemode-markdown-v1' nullable required
toolCalls, object[] required
status, 'succeeded' | 'failed' required
errorKind, string nullable required
errorMessage, string nullable required
source, 'manual' | 'scheduled' required
startedAt, string date-time required
finishedAt, string date-time required
contentDeletedAt, string date-time nullable required
Changes
- breaking
the response property
errorKindbecame nullable for the status - breaking
the response property
errorMessagebecame nullable for the status - breaking
the response property
markdownbecame nullable for the status
7 more changes in this revision
- breaking