Agent SwarmAgent Swarm

Memory

Search, retrieve, and manage persistent agent memories across sessions

DELETE
/api/memory/{id}

Authorization

bearerAuth
AuthorizationBearer <token>

API key via Authorization: Bearer <API_KEY>

In: header

Path Parameters

id*string
Formatuuid

Response Body

curl -X DELETE "http://localhost:3013/api/memory/497f6eca-6276-4993-bfeb-53cbbbba6f08"
Empty
Empty
GET
/api/memory/{id}

Authorization

bearerAuth
AuthorizationBearer <token>

API key via Authorization: Bearer <API_KEY>

In: header

Path Parameters

id*string
Formatuuid

Response Body

curl -X GET "http://localhost:3013/api/memory/497f6eca-6276-4993-bfeb-53cbbbba6f08"
Empty
Empty
GET
/api/memory/edges

Authorization

bearerAuth
AuthorizationBearer <token>

API key via Authorization: Bearer <API_KEY>

In: header

Query Parameters

memoryId*string
Length1 <= length

Response Body

curl -X GET "http://localhost:3013/api/memory/edges?memoryId=string"
Empty
Empty
GET
/api/memory/health

Authorization

bearerAuth
AuthorizationBearer <token>

API key via Authorization: Bearer <API_KEY>

In: header

Response Body

curl -X GET "http://localhost:3013/api/memory/health"
Empty
POST
/api/memory/index

Authorization

bearerAuth
AuthorizationBearer <token>

API key via Authorization: Bearer <API_KEY>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X POST "http://localhost:3013/api/memory/index" \  -H "Content-Type: application/json" \  -d '{    "content": "string",    "name": "string",    "scope": "agent",    "source": "manual"  }'
Empty
Empty
POST
/api/memory/list

Authorization

bearerAuth
AuthorizationBearer <token>

API key via Authorization: Bearer <API_KEY>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X POST "http://localhost:3013/api/memory/list" \  -H "Content-Type: application/json" \  -d '{}'
Empty
Empty
POST
/api/memory/rate

Authorization

bearerAuth
AuthorizationBearer <token>

API key via Authorization: Bearer <API_KEY>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X POST "http://localhost:3013/api/memory/rate" \  -H "Content-Type: application/json" \  -d '{    "events": [      {        "memoryId": "string",        "signal": -1,        "weight": 1,        "source": "llm"      }    ]  }'
Empty
Empty
Empty
POST
/api/memory/re-embed

Authorization

bearerAuth
AuthorizationBearer <token>

API key via Authorization: Bearer <API_KEY>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X POST "http://localhost:3013/api/memory/re-embed" \  -H "Content-Type: application/json" \  -d '{}'
Empty
GET
/api/memory/retrievals

Authorization

bearerAuth
AuthorizationBearer <token>

API key via Authorization: Bearer <API_KEY>

In: header

Query Parameters

taskId?string
Formatuuid
sessionId?string

Response Body

curl -X GET "http://localhost:3013/api/memory/retrievals"
Empty
Empty
POST
/api/memory/search

Authorization

bearerAuth
AuthorizationBearer <token>

API key via Authorization: Bearer <API_KEY>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X POST "http://localhost:3013/api/memory/search" \  -H "Content-Type: application/json" \  -d '{    "query": "string"  }'
Empty
Empty