Docs

Get Effect Condition Sources

GET /eventTypes/{typeId}/effect-condition-sources

GET/eventTypes/{typeId}/effect-condition-sources

Required Tokens

FieldTypeRequiredDescription
BearerAuthorization: Bearer <api-key>OptionalYour API key. Pass it as the Bearer token on every request.
Organization tokenx-Organization-TokenOptionalRun **Authorize Organization** in the Authorization folder.

Returns everything an effect condition on this event type can test: the core event fields, the type's attributes, its roles, and its intake questions. Each source lists the operators it supports and, when it is entity-valued, the ids to compare against.

Requires OrganizationAdmin permission.

Path Parameters

FieldTypeRequiredDescription
typeIdGuidRequiredThe event type whose sources to list.

Response (array)

FieldTypeDescription
sourceKindstringOne of: `Core`, `Attribute`, `Role`, `IntakeAnswer`.
sourceIdGuid| nullThe attribute, role, or question ID. `null` for `Core`.
sourcePathstring| nullThe core field path (`Core` only).
namestringDisplay name.
dataTypestringThe value type the operators apply to.
operatorsstring[]Operators the source supports.
valuesValueOption[]| nullId/label pairs to compare against, for entity-valued sources.
fillerKindstring| null`Role` only: which pool fills the slot (crew or collaborators).
availabilityAvailability| nullPerson-reference `Attribute` sources only: the Options list the value picker narrows to. `null` offers the whole roster, and is always `null` on other sources.

ValueOption

FieldTypeDescription
idstringThe id compared by the condition.
labelstringDisplay label.

Availability

FieldTypeDescription
recordIdsGuid[]Org crew IDs or org collaborator record IDs, matching the attribute's type. Never empty.