Docs

Start Ai Fill Run

POST /events/{eventId}/attributes/{attributeId}/ai-fill-runs

POST/events/{eventId}/attributes/{attributeId}/ai-fill-runs

Runs 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

FieldTypeRequiredDescription
eventIduuidRequired
attributeIduuidRequired

Response

FieldTypeDescription
iduuid
attributeIduuid
triggerstring| null
statusstring| null
failureCodestring| null
errorstring| null
requestedByUserIduuid| null
usageReferenceuuid| null
tagsReaduuid[]| null
queuedAtdate-time
startedAtdate-time| null
completedAtdate-time| null
wroteValueboolean