Docs
Start Ai Fill Run
POST /events/{eventId}/attributes/{attributeId}/ai-fill-runs
POST
/events/{eventId}/attributes/{attributeId}/ai-fill-runsRuns an attribute's AI fill on this event now. The run is queued and returns at once; when it succeeds it replaces the current value, manual edits included. A run reads only the attributes its instructions tag. If a run is already queued or running for this attribute, that run is returned and refills once more after it finishes. Needs event settings permission, or an organization token for an admin of the owning organization. The attribute id comes from Events_GetEventAttributeProfile (attributes whose aiFill is set); poll Events_GetAiFillRuns for the outcome.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| eventId | uuid | Required | |
| attributeId | uuid | Required |
Response
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| attributeId | uuid | |
| trigger | string| null | |
| status | string| null | |
| failureCode | string| null | |
| error | string| null | |
| requestedByUserId | uuid| null | |
| usageReference | uuid| null | |
| tagsRead | uuid[]| null | |
| queuedAt | date-time | |
| startedAt | date-time| null | |
| completedAt | date-time| null | |
| wroteValue | boolean |