Overview
POST
/persona-memory/embed-pendingpersonaBackfill embeddings for pending memories
Create a record in embed-pending.
Auth: bearerAuth — calls run as the authenticated user.
Request body
application/json · optional
- personaIdoptionalstring
- limitoptionalinteger
Example
{
"personaId": "string",
"limit": 0
}Responses
200
Backfill batch result
- embeddedinteger
Rows embedded this call
- failedinteger
Rows that failed to embed (retried next call)
- moreboolean
True if the batch filled `limit` — call again
Example
{
"embedded": 0,
"failed": 0,
"more": true
}400
Error
- erroroptionalobject
Example
{
"error": {
"message": "string",
"code": "string"
}
}401
Error
- erroroptionalobject
Example
{
"error": {
"message": "string",
"code": "string"
}
}Code examples
cURL
curl -X POST "https://api.agenticdeveloperhub.com/persona-memory/embed-pending" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"personaId": "string",
"limit": 0
}'JavaScript
const res = await fetch("https://api.agenticdeveloperhub.com/persona-memory/embed-pending", {
method: "POST",
headers: {
"Authorization": "Bearer YOUR_TOKEN",
"Content-Type": "application/json"
},
body: "{\n \"personaId\": \"string\",\n \"limit\": 0\n}",
});
const data = await res.json();