Docs
Get Effect Condition Sources
GET /eventTypes/{typeId}/effect-condition-sources
GET
/eventTypes/{typeId}/effect-condition-sourcesRequired Tokens
| Field | Type | Required | Description |
|---|---|---|---|
| Bearer | Authorization: Bearer <api-key> | Optional | Your API key. Pass it as the Bearer token on every request. |
| Organization token | x-Organization-Token | Optional | Run **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
| Field | Type | Required | Description |
|---|---|---|---|
| typeId | Guid | Required | The event type whose sources to list. |
Response (array)
| Field | Type | Description |
|---|---|---|
| sourceKind | string | One of: `Core`, `Attribute`, `Role`, `IntakeAnswer`. |
| sourceId | Guid| null | The attribute, role, or question ID. `null` for `Core`. |
| sourcePath | string| null | The core field path (`Core` only). |
| name | string | Display name. |
| dataType | string | The value type the operators apply to. |
| operators | string[] | Operators the source supports. |
| values | ValueOption[]| null | Id/label pairs to compare against, for entity-valued sources. |
| fillerKind | string| null | `Role` only: which pool fills the slot (crew or collaborators). |
| availability | Availability| null | Person-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
| Field | Type | Description |
|---|---|---|
| id | string | The id compared by the condition. |
| label | string | Display label. |
Availability
| Field | Type | Description |
|---|---|---|
| recordIds | Guid[] | Org crew IDs or org collaborator record IDs, matching the attribute's type. Never empty. |