Fetch a sensitive session artifact
1 min read
GET
id*stringThe session id (stable across daemon restarts).
artifactId*stringId of the sensitive artifact recorded for this session.
raw*"1"Must be 1. Explicit acknowledgement that the caller wants raw (unredacted) artifact content.
Value in
"1"The decrypted artifact payload.
application/json- response
Decrypted payload of one sensitive session artifact.
sessionId*stringartifactId*stringeventId*stringId of the event this artifact was redacted from.
kind*stringArtifact kind recorded at redaction time.
payload*unknownDecrypted artifact content — JSON when the plaintext parses as JSON, otherwise a string.
curl -X GET 'http://localhost:3000/api/v1/sessions/session-1/artifacts/artifact-1?raw=1'{ "sessionId": "session-1", "artifactId": "artifact-1", "eventId": "event-1", "kind": "output", "payload": { "data": "redacted material" }}Was this page helpful?No
Last updated on