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}

Changes

Changed in 5 of the 37 revisions of this API.1618

    • response property data/anyOf[subschema #1: NamespaceItem]/createdAt list-of-types was widened by adding types null to media type application/json of response 200

      response-property-list-of-types-widened

    • response property data/anyOf[subschema #1: NamespaceItem]/createdAt list-of-types was widened by adding types null to media type application/json of response 400

      response-property-list-of-types-widened

    • response property data/anyOf[subschema #1: NamespaceItem]/createdAt list-of-types was widened by adding types null to media type application/json of response 401

      response-property-list-of-types-widened

    • response property data/anyOf[subschema #1: NamespaceItem]/createdAt list-of-types was widened by adding types null to media type application/json of response 500

      response-property-list-of-types-widened

    • response property data/anyOf[subschema #1: NamespaceItem]/updatedAt list-of-types was widened by adding types null to media type application/json of response 200

      response-property-list-of-types-widened

    • response property data/anyOf[subschema #1: NamespaceItem]/updatedAt list-of-types was widened by adding types null to media type application/json of response 400

      response-property-list-of-types-widened

    • response property data/anyOf[subschema #1: NamespaceItem]/updatedAt list-of-types was widened by adding types null to media type application/json of response 401

      response-property-list-of-types-widened

    • response property data/anyOf[subschema #1: NamespaceItem]/updatedAt list-of-types was widened by adding types null to media type application/json of response 500

      response-property-list-of-types-widened

  • 871a12102bbe88See the full diff
    • the response property data/anyOf[subschema #1: NamespaceItem]/createdAt became nullable for the status 200

      response-property-became-nullable

    • the response property data/anyOf[subschema #1: NamespaceItem]/createdAt became nullable for the status 400

      response-property-became-nullable

    • the response property data/anyOf[subschema #1: NamespaceItem]/createdAt became nullable for the status 401

      response-property-became-nullable

    • the response property data/anyOf[subschema #1: NamespaceItem]/createdAt became nullable for the status 500

      response-property-became-nullable

    • the response property data/anyOf[subschema #1: NamespaceItem]/updatedAt became nullable for the status 200

      response-property-became-nullable

    • the response property data/anyOf[subschema #1: NamespaceItem]/updatedAt became nullable for the status 400

      response-property-became-nullable

    • the response property data/anyOf[subschema #1: NamespaceItem]/updatedAt became nullable for the status 401

      response-property-became-nullable

    • the response property data/anyOf[subschema #1: NamespaceItem]/updatedAt became nullable for the status 500

      response-property-became-nullable

    • response property data/anyOf[subschema #1: NamespaceItem]/createdAt list-of-types was narrowed by removing types null from media type application/json of response 200

      response-property-list-of-types-narrowed

    • response property data/anyOf[subschema #1: NamespaceItem]/createdAt list-of-types was narrowed by removing types null from media type application/json of response 400

      response-property-list-of-types-narrowed

    • response property data/anyOf[subschema #1: NamespaceItem]/createdAt list-of-types was narrowed by removing types null from media type application/json of response 401

      response-property-list-of-types-narrowed

    • response property data/anyOf[subschema #1: NamespaceItem]/createdAt list-of-types was narrowed by removing types null from media type application/json of response 500

      response-property-list-of-types-narrowed

    • response property data/anyOf[subschema #1: NamespaceItem]/updatedAt list-of-types was narrowed by removing types null from media type application/json of response 200

      response-property-list-of-types-narrowed

    • response property data/anyOf[subschema #1: NamespaceItem]/updatedAt list-of-types was narrowed by removing types null from media type application/json of response 400

      response-property-list-of-types-narrowed

    • response property data/anyOf[subschema #1: NamespaceItem]/updatedAt list-of-types was narrowed by removing types null from media type application/json of response 401

      response-property-list-of-types-narrowed

    • response property data/anyOf[subschema #1: NamespaceItem]/updatedAt list-of-types was narrowed by removing types null from media type application/json of response 500

      response-property-list-of-types-narrowed

    • added the new optional request property default_policy

      new-optional-request-property

    • added the optional property data/anyOf[subschema #1: NamespaceItem]/default_policy to the response with the 200 status

      response-optional-property-added

    • added the optional property data/anyOf[subschema #1: NamespaceItem]/default_policy to the response with the 400 status

      response-optional-property-added

    • added the optional property data/anyOf[subschema #1: NamespaceItem]/default_policy to the response with the 401 status

      response-optional-property-added

    • added the optional property data/anyOf[subschema #1: NamespaceItem]/default_policy to the response with the 500 status

      response-optional-property-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • added the optional property data/anyOf[subschema #1: NamespaceItem]/instance_config to the response with the 200 status

      response-optional-property-added

    • added the optional property data/anyOf[subschema #1: NamespaceItem]/instance_config to the response with the 400 status

      response-optional-property-added

    • added the optional property data/anyOf[subschema #1: NamespaceItem]/instance_config to the response with the 401 status

      response-optional-property-added

    • added the optional property data/anyOf[subschema #1: NamespaceItem]/instance_config to the response with the 500 status

      response-optional-property-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • endpoint added

      endpoint-added