v1
Namespace
Create Namespace Api Key
Changed onMint a new API key bound to the given namespace. Caller must authenticate with any API key belonging to the same organization (typically the org-wide / default-namespace key).
Security: The full key is returned exactly once in this response. Store it immediately — it cannot be retrieved later. Subsequent reads expose only the masked key_prefix.
post/v1/namespace/{namespace_id}/api-keys
Request
- Base URLhttps://memory.papr.ai
- URLhttps://memory.papr.ai/v1/namespace/{namespace_id}/api-keys
- Authnone declared. Required headers: X-API-Key
Path parameters
namespace_idstring required
Headers
X-API-Keystring required
Request body
Example request
{
"environment": "production",
"name": "Acme Production API Key",
"permissions": [
"read",
"write",
"delete"
]
}Response
API key created
Changes
- info
endpoint added
- info