Docs

Start Collaborator Record Ai Fill Run

POST /organizations/{orgId}/collaborator-records/{recordId}/attributes/{propertyId}/ai-fill-runs

POST/organizations/{orgId}/collaborator-records/{recordId}/attributes/{propertyId}/ai-fill-runs

Runs the attribute's AI fill on this org collaborator record 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 on the record's types with an Org or Both use case and set to fill with AI (aiFill on CollaboratorDatabase_GetCollaboratorProperties). Poll CollaboratorDatabase_GetCollaboratorRecordAiFillRuns for the outcome. Needs Collaborator.Edit at the organization.

Path Parameters

FieldTypeRequiredDescription
orgIduuidRequired
recordIduuidRequired
propertyIduuidRequired

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