Procedural Endpoints

Manage procedural workflows that agents learn and refine over time. Workflows represent step-by-step procedures, best practices, and operational runbooks that can be triggered programmatically.

Overview

Procedural memory stores learned workflows as structured step sequences. Agents can create workflows from successful task completions, and these workflows improve over time as they are triggered, evaluated, and refined.

MethodEndpointDescription
POST/v1/workflowsCreate a new workflow
GET/v1/workflowsList workflows
GET/v1/workflows/:idGet a specific workflow
PUT/v1/workflows/:idUpdate a workflow
DELETE/v1/workflows/:idDelete a workflow
POST/v1/workflows/:id/triggerTrigger a workflow execution

Create Workflow

List Workflows

Get Workflow

Update Workflow

Delete Workflow

Trigger Workflow

Execution tracking

Use the returned execution_id with the Execution endpoints to track progress, save checkpoints, and manage the workflow execution lifecycle.

Workflow Object

The following table describes the fields in a workflow object.

FieldTypeDescription
idstringUnique workflow identifier (prefixed with wf_)
namestringHuman-readable workflow name
descriptionstringDescription of the workflow purpose
versionintegerCurrent version number, incremented on step changes
stepsarrayOrdered list of workflow steps
trigger_countintegerNumber of times the workflow has been triggered
success_ratenumber | nullSuccess rate (0-1) based on execution outcomes
metadataobjectArbitrary key-value metadata
created_atstringISO 8601 creation timestamp
updated_atstringISO 8601 last update timestamp
Rekall
rekall