Memory
curl --request POST \
--url https://api.compose.market/api/memory/context/assembleimport requests
url = "https://api.compose.market/api/memory/context/assemble"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://api.compose.market/api/memory/context/assemble', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.compose.market/api/memory/context/assemble",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.compose.market/api/memory/context/assemble"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.compose.market/api/memory/context/assemble")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.compose.market/api/memory/context/assemble")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_bodyAgents & Workflows
Memory
Proxy Manowar memory, pattern, transcript, archive, schedule, item, job, and eval routes.
POST
/
api
/
memory
/
context
/
assemble
Memory
curl --request POST \
--url https://api.compose.market/api/memory/context/assembleimport requests
url = "https://api.compose.market/api/memory/context/assemble"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://api.compose.market/api/memory/context/assemble', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.compose.market/api/memory/context/assemble",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.compose.market/api/memory/context/assemble"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.compose.market/api/memory/context/assemble")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.compose.market/api/memory/context/assemble")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_bodyMemory routes are pass-through JSON routes to the runtime service. The gateway preserves the body and forwards runtime response headers except hop-by-hop headers.
Context and turns
| Method | Path | Description |
|---|---|---|
POST | /api/memory/context/assemble | Assemble context. |
POST | /api/memory/turns/record | Record a turn. |
POST | /api/memory/remember | Persist a memory. |
POST | /api/memory/loop | Run a memory loop. |
Workflows, patterns, and skills
| Method | Path |
|---|---|
GET | /api/memory/workflows |
GET | /api/memory/workflows/{workflowId} |
GET | /api/memory/patterns |
GET | /api/memory/patterns/{patternId} |
POST | /api/memory/patterns/{patternId}/validate |
POST | /api/memory/patterns/{patternId}/promote |
GET | /api/memory/skills |
GET | /api/memory/skills/{skillId} |
Sessions and archives
| Method | Path |
|---|---|
POST | /api/memory/transcripts/index |
GET | /api/memory/sessions/{sessionId}/working |
PATCH | /api/memory/sessions/{sessionId}/working |
POST | /api/memory/sessions/{sessionId}/compress |
POST | /api/memory/archives/{archiveId}/sync |
Schedules
| Method | Path |
|---|---|
GET | /api/memory/schedules |
POST | /api/memory/schedules |
DELETE | /api/memory/schedules |
POST | /api/memory/schedules/{scheduleId}/pause |
POST | /api/memory/schedules/{scheduleId}/resume |
POST | /api/memory/schedules/{scheduleId}/trigger |
Legacy memory tools
| Method | Path |
|---|---|
POST | /api/memory/add |
POST | /api/memory/search |
POST | /api/memory/vector-search |
POST | /api/memory/vector-index |
POST | /api/memory/transcript-store |
GET | /api/memory/transcript-get/{id} |
POST | /api/memory/rerank |
POST | /api/memory/layers/search |
GET | /api/memory/stats/{agentWallet} |
Items, conflicts, jobs, and evals
| Method | Path |
|---|---|
POST | /api/memory/items/search |
GET | /api/memory/items/{id} |
PATCH | /api/memory/items/{id} |
DELETE | /api/memory/items/{id} |
POST | /api/memory/conflicts/{id}/resolve |
POST | /api/memory/jobs |
GET | /api/memory/jobs/{jobId} |
POST | /api/memory/evals/runs |
GET | /api/memory/{agentWallet} |
⌘I