agents.memory-load ​
Load agent memory entries for a given agent config and task
Load memory entries for an agent config, optionally filtered by strategy.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Linear |
| Library | App-agents |
| Version | 1.0 |
Triggers ​
| Source | Endpoint / Event | Description |
|---|---|---|
| INTERNAL | internal.invocation | Internal — called by the agents platform during session execution |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
agent_config_uuid | string | Yes | — | — |
task | string | Yes | — | — |
strategy | string | No | — | — |
top_k | integer | No | — | — |
principal_ref | string | No | — | Whose memory to recall — 'end_user:<uuid>' or 'actor:<uuid>'. Omit for config-scoped memory. |
organization_uuid | string | Yes | — | — |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
error | string | No | — | — |
error_type | string | No | — | — |
failed_at | string | No | — | — |
failed_at_state | string | No | — | — |
failed_layer | json | No | — | — |
failed_step | string | No | — | — |
failure_reason | string | No | — | — |
result | json | No | — | — |
agent_config_uuid | json | No | — | — |
task | json | No | — | — |
strategy | json | No | — | — |
top_k | json | No | — | — |
principal_ref | json | No | — | — |
organization_uuid | json | No | — | — |
States ​
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
initiated | Yes | No | — | run | — |
run | No | No | — | complete | — |
completed | No | Yes | Yes | — | — |
failed | No | Yes | No | — | — |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
initiated | run | run | — |
run | complete | completed | — |
* (any state) | fail | failed | — |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "agents.memory-load",
"initial_data": {
"agent_config_uuid": "value",
"task": "value",
"organization_uuid": "value"
}
}