Docs
Start Area Record Ai Fill Run
POST /area-records/{areaRecordId}/values/{attributeId}/ai-fill-runs
POST
/area-records/{areaRecordId}/values/{attributeId}/ai-fill-runsRuns 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
| Field | Type | Required | Description |
|---|---|---|---|
| areaRecordId | 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 |