AckdbAttributeCreateRequest

Create a custom attribute definition.

Properties

keystringrequired

snake_case, ^[a-z][a-z0-9_]{0,63}$.

labelstring

Display label; defaults to a prettified key.

scopestringrequired

What the fact is ABOUT. Prefer `person` for facts about a HUMAN (is_champion, do_not_contact) — they survive job changes and render on the People view. `contact` scopes the fact to ONE employment and is API-only: no console grain renders it.

"company""contact""person"
typestringrequired
"string""number""boolean""date""string_array"
descriptionstring (nullable)

Read by the AI agent for semantic understanding.

allowedValuesarray of

Enum constraint — string type only, non-empty if present.

string

Example

AckdbAttributeCreateRequest example
{
  "key": "string",
  "label": "string",
  "scope": "company",
  "type": "string",
  "description": "string",
  "allowedValues": [
    "string"
  ]
}