Workflows

Delete artifact content while retaining its audit receipt

Changed on

Clears 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 URL: https://api.openworklabs.com
  • URL: https://api.openworklabs.com/v1/workflows/{configObjectId}/snapshots/{receiptId}/content
  • Auth: one of:
    • API key in header x-api-key
    • HTTP bearer

Path parameters

configObjectIdstring required
receiptIdstring required

Response

Artifact content deleted.

receiptIdstring required
pluginIdstring required
configObjectIdstring required
configObjectVersionIdstring required
automationRunIdstring nullable required
valueunknown required
markdownstring nullable required
codeDigeststring required
resultDigeststring nullable required
inputSchemaDigeststring nullable required
outputSchemaDigeststring nullable required
rendererVersion'codemode-markdown-v1' nullable required
status'succeeded' | 'failed' required
errorKindstring nullable required
errorMessagestring nullable required
source'manual' | 'scheduled' required
startedAtstring date-time required
finishedAtstring date-time required
contentDeletedAtstring date-time nullable required

Changes

    • info

      added the optional property to the response with the status

    • info

      the endpoint scheme security bearerAuth was added to the API

    • info

      the endpoint scheme security denApiKey was added to the API

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status