Docs

Start Area Record Ai Fill Run

POST /area-records/{areaRecordId}/values/{attributeId}/ai-fill-runs

POST/area-records/{areaRecordId}/values/{attributeId}/ai-fill-runs

Runs the attribute's AI fill on this owned area now. The run is queued and returns at once; when it succeeds it replaces the current value, manual edits included, through the same write and triggers as a typed value. 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. The attribute must be placed by the area's type with an Org or Both use case and set to fill with AI (aiFill on OrgAreas_GetAreaAttributes). Needs Collaborator.Edit at the organization.

Path Parameters

FieldTypeRequiredDescription
areaRecordIduuidRequired
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