v3

latestOpenAPI 3.0.1Apache 2.0raw.githubusercontent.com2026-08-014669239.7 KB
TraitGroup

Create a Trait Group

Creates a Trait Group with declarative trait schemas for this Memory Store.

post/v1/ControlPlane/Stores/{storeId}/TraitGroups

Request body

displayNamestring required

Unique name of the Trait Group

descriptionstring

description of the Trait Group

traitsobject

Map of traits belonging to this Trait Group, keyed by trait name.

Example request

{
  "displayName": "Contact",
  "description": "This Trait Group contains traits related to contact information.",
  "traits": {
    "email": {
      "dataType": "STRING",
      "description": "User's email address"
    },
    "dob": {
      "dataType": "STRING",
      "description": "User's date of birth"
    }
  }
}

Response

TraitGroup creation request accepted.

messagestring
statusUrlstring

URI to check operation status.

Example response

{
  "message": "TraitGroup creation request accepted."
}