ackDB

List trait definitions

Returns trait definitions. This is how AI agents discover what fields are available. Pass ?source=<sourceType> to scope the result to a single source's traits (e.g. for a per-source ingest example); omit it for every trait. Returns an empty array if no matching trait definitions exist (e.g. no sources enabled yet, or a source that registers no traits).

get/api/v1/ackdb/schemas/traits

Request

  • Base URL
    http://localhost:3009
  • Auth
    HTTP bearer

Query parameters

sourcestring

Scope to a single source type (e.g. slack). Omit to list every trait.

Response

List of trait definitions (may be empty)

Example response

{
  "data": [
    {
      "traitKey": "stripe_plan",
      "valueType": "number",
      "source": "stripe",
      "description": "Monthly recurring revenue in cents from Stripe"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.