Docs

Start Crew Record Ai Fill Run

POST /organizations/{orgId}/crew/{crewId}/attributes/{attributeId}/ai-fill-runs

POST/organizations/{orgId}/crew/{crewId}/attributes/{attributeId}/ai-fill-runs

Organization crew (an organization token and an organization crew id): Runs the attribute's AI fill on this crew 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 OrgCrew_GetCrewAttributes). Needs Crew.Edit at the organization.

Path Parameters

FieldTypeRequiredDescription
orgIduuidRequired
crewIduuidRequired
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