Docs
Update Crew Attribute Ai Fill
PUT /organizations/{orgId}/crew/attributes/{attributeId}/ai-fill
PUT
/organizations/{orgId}/crew/attributes/{attributeId}/ai-fillSets or clears AI fill on a crew attribute (a whole replace). Instructions say what to produce and name, as {{attributeId}} tags, the only attributes a run may read; tags and watched attributes must be live crew attributes of this organization, and an Org attribute cannot read an Event-only one. Triggers refill automatically: AttributeChanged (attributeId), CoreChanged (corePath "name", the crew member's first or last name) or Created. A null body or null instructions turns AI fill off and keeps the stored values. Fills that would refresh each other in a loop are refused. attributeId comes from OrgCrew_GetCrewAttributes. Needs Crew.Configure at the organization.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| orgId | uuid | Required | |
| attributeId | uuid | Required |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| instructions | string | Optional | |
| triggers | UpdateCrewAttributeAiFillRequestTrigger[] | Optional |
UpdateCrewAttributeAiFillRequestTrigger
| Field | Type | Description |
|---|---|---|
| kind | string| null | |
| attributeId | uuid| null | |
| corePath | string| null |