Attach a memory layer to a variation
POST/v1/workspaces/{workspaceId}/agents/{agentId}/variations/{variationId}/memory_layer_assignments
Attaches a memory layer to a variation at a given position in the variation’s baseline memory stack.
Attach a memory layer to a variation
curl https://api.cadenya.com/v1/workspaces/$WORKSPACE_ID/agents/$AGENT_ID/variations/$VARIATION_ID/memory_layer_assignments \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $CADENYA_API_KEY" \
-d '{}'{
"id": "id",
"memoryLayer": {
"id": "id",
"name": "name"
},
"position": 0
}Returns Examples
{
"id": "id",
"memoryLayer": {
"id": "id",
"name": "name"
},
"position": 0
}