Memory Spaces
Create Memory Space
Create Memory Space — Nirmos Control Plane REST API.
better-auth.session_token<token>
Production cookie uses __Secure- prefix.
In: cookie
Request Body
application/json
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/memory/spaces" \ -H "Content-Type: application/json" \ -d '{ "spaceKey": "string", "name": "string" }'{ "data": { "id": "string", "createdAt": "string", "updatedAt": "string", "spaceKey": "string", "name": "string", "description": "string", "scopeType": "string", "scopeId": "string", "customScopeType": "string", "externalSubjectId": "string", "status": "string", "policyId": "string", "metadata": "string", "deletedAt": "string" }, "requestId": "string"}{ "error": { "code": "string", "message": "string", "details": null, "requestId": "string" }}{ "error": { "code": "string", "message": "string", "details": null, "requestId": "string" }}{ "error": { "code": "string", "message": "string", "details": null, "requestId": "string" }}{ "error": { "code": "string", "message": "string", "details": null, "requestId": "string" }}{ "error": { "code": "string", "message": "string", "details": null, "requestId": "string" }}{ "error": { "code": "string", "message": "string", "details": null, "requestId": "string" }}{ "error": { "code": "string", "message": "string", "details": null, "requestId": "string" }}{ "error": { "code": "string", "message": "string", "details": null, "requestId": "string" }}{ "error": { "code": "string", "message": "string", "details": null, "requestId": "string" }}