Get Namespace Statistics
statsRetrieve the stored memory count for a single logical namespace alongside rolling 30-day organization quota metrics (read-only, idempotent; consumes 1 Read API call) and return { namespace, memory_count, used_calls_30d, api_call_limit }. Rejects reserved "org:" prefixes on namespace. Use when inspecting how many memories exist inside one specific project or wing namespace; use health instead for an organization-wide connectivity and total-memory check, or list_agent_wings for per-wing counts.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"namespace": "<namespace>"
},
"name": "stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| namespace | Yes | Logical workspace namespace to inspect (for example "my-project" or "wing:qa"). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| namespace | Yes | Inspected logical namespace. | |
| memory_count | Yes | Number of memories stored in this namespace. | |
| api_call_limit | No | Rolling 30-day API call quota, or null for unlimited. | |
| used_calls_30d | No | Rolling 30-day API calls used by the organization. |