Provider add batch¶
Write 1 to 128 captured memories to the shared project store.
Endpoint¶
- Method:
POST - URL:
/provider-memory/add/batch - Content-Type:
application/json
Headers¶
| Header | Required | Description |
|---|---|---|
Authorization | When auth is enabled | Bearer <token>. See authentication. |
Content-Type | Yes | application/json |
Request body¶
A JSON array of 1 to 128 objects, each with the fields of Add memories. There is no workspace field. The route always writes to the primary workspace.
Response¶
200¶
The add response for the batch.
Errors¶
| Status | Meaning |
|---|---|
401 | Missing or invalid credentials |
403 | Tenant or ownership check failed |
422 | Empty batch, more than 128 requests, or an invalid request |
429 | {"detail":"writer busy"} |
503 | No staged writer is available |