v37

latestOpenAPI 3.1.0raw.githubusercontent.com2026-06-1170194628.0 KB
v1
Namespace

Create Namespace

Create a new namespace within the developer's organization.

post/v1/namespace

Headers

X-API-Keystring required

Request body

namestring required

Namespace name (e.g., 'acme-production')

environment_type'development' | 'staging' | 'production'

Environment types for namespaces

is_activeboolean

Whether this namespace is active

rate_limitsobject nullable

Rate limits for this namespace (None values inherit from organization)

default_policyobject nullable

Default memory policy for add/search when request omits policy.

Example request

{
  "environment_type": "production",
  "is_active": true,
  "name": "acme-production"
}

Response

Namespace created

codeinteger

HTTP status code

statusstring

'success' or 'error'

errorstring nullable

Error message if failed

{"stackTrail":"components:schemas:NamespaceResponse:properties:details:anyOf","oasType":"schema","type":"unknown","title":"Details","description":"Additional error details or context","nullable":true}