Building a webhook integration? Read the webhook guide for signatures, retries, event schemas, and troubleshooting.
apiDeterministic

Manage agent chat memory

POST /api/agents/conversations/memory

Explicitly remember, correct or forget source-backed private context, or prepare and submit an evidence-backed checkpoint. Prepare before submitting and preserve exact source IDs and digests. Corrections and forget stop affected work. No hosted inference.

Parameters

workspaceId
string
Optional workspace ID or slug. Required when this credential can access multiple workspaces and no workspace was configured on the client.

Example

REST requestbash
curl -X POST "https://app.pipeline.help/api/agents/conversations/memory" \
-H "Authorization: Bearer $PIPELINE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"action":"prepare_checkpoint","conversationId":"00000000-0000-4000-8000-000000000000","throughSequence":1}'

Response

Success response schemajson schema
{
"type": "object",
"properties": {
"memory": {
"type": "object",
"additionalProperties": true
},
"checkpoint": {
"type": "object",
"additionalProperties": true
},
"prepared": {
"type": "object",
"properties": {
"throughSequence": {
"type": "integer"
},
"sourceDigest": {
"type": "string"
},
"sourceMessageIds": {
"type": "array",
"maxItems": 200,
"items": {
"type": "string"
}
},
"memoryDigest": {
"type": "string"
},
"expectedRevision": {
"type": "integer"
},
"messages": {
"type": "array",
"maxItems": 200,
"items": {
"type": "object",
"additionalProperties": true
}
},
"partial": {
"type": "boolean"
}
},
"required": [
"throughSequence",
"sourceDigest",
"sourceMessageIds",
"memoryDigest",
"expectedRevision",
"messages",
"partial"
],
"additionalProperties": true
}
}
}

HTTP errors

401
Missing or invalid API key.
403
Authenticated but not permitted for the workspace or resource.
404
The requested resource was not found.
Pipeline REST API reference | Pipeline