Runs the cohort's follow-up again, over its counts as they are now.
After a redrive fixed what was stuck, or a step failed for good. A new generation of steps; the old ones stay as the record of what ran. 409 while a follow-up is still running.
Authorization
Bearer JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.
In: header
Path Parameters
The trigger identifier.
uuidThe cohort identifier.
uuidThe tenant identifier
Which steps, by position; empty runs them all.
The steps to run, by their position in the shape. Empty runs them all.
Response Body
curl -X POST "https://api.fruxon.com/v1/tenants/string/triggers/497f6eca-6276-4993-bfeb-53cbbbba6f08/ledger/cohorts/497f6eca-6276-4993-bfeb-53cbbbba6f08:rerunFollowUp" \ -H "Content-Type: application/json" \ -d '{}'{
"id": "00000000-0000-0000-0000-000000000000",
"key": "string",
"source": "DOOR",
"name": "string",
"status": "OPEN",
"openedBy": "string",
"createdAt": 0,
"sealedAt": 0,
"settleBy": 0,
"settledAt": 0,
"completedAt": 0,
"partial": false,
"sampleSize": 0,
"confirmedAt": 0,
"confirmedBy": "string",
"detail": "string",
"progress": {
"members": 0,
"live": 0,
"done": 0,
"ignored": 0,
"dead": 0,
"alreadyHeld": 0,
"cells": [
{
"stageId": "string",
"status": "UNSPECIFIED",
"count": 0
}
],
"held": [
{
"stageId": "string",
"until": 0,
"reason": "string"
}
],
"cost": 0,
"credits": 0,
"runs": 0
},
"snapshot": {
"takenAt": 0,
"members": 0,
"done": 0,
"setAside": 0,
"setAsideByHand": 0,
"dead": 0,
"live": 0,
"partial": false,
"cells": [
{
"stageId": "string",
"status": "UNSPECIFIED",
"count": 0
}
],
"reasons": [
{
"reason": "string",
"count": 0
}
],
"stuckItemIds": [
"00000000-0000-0000-0000-000000000000"
],
"alreadyHeld": 0,
"cost": 0,
"credits": 0,
"runs": 0
},
"estimate": {
"computedAt": 0,
"sampleSize": 0,
"remainingCount": 0,
"countIsFloor": false,
"perItemP50": 0,
"perItemP90": 0,
"perItemMax": 0,
"creditsPerItemP90": 0,
"totalP50": 0,
"totalP90": 0,
"creditsP90": 0,
"sampleByStatus": {},
"budgetImpact": [
{
"agentId": "string",
"managed": false,
"projectedP90": 0,
"windows": null
}
],
"hash": "string",
"insufficient": false
},
"budgetGrants": [
{
"agentId": "string",
"period": "string",
"environmentSlug": "string",
"before": 0,
"after": 0,
"restored": false,
"note": "string"
}
],
"followUpGeneration": 0,
"followUps": [
{
"id": "00000000-0000-0000-0000-000000000000",
"generation": 0,
"stepIndex": 0,
"kind": "NOTIFY",
"step": {
"kind": "UNSPECIFIED",
"audience": null,
"hook": "string",
"agentId": "string",
"instruction": "string",
"actionCeiling": null,
"after": null,
"effectiveActionCeiling": "READ_ONLY",
"isSafeToRepeat": false
},
"status": "PENDING",
"attempts": 0,
"nextAttemptAt": 0,
"detail": "string",
"externalRef": "string",
"executionRecordId": "00000000-0000-0000-0000-000000000000",
"resolvedAt": 0
}
]
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}Settles a follow-up step whose outcome is UNKNOWN, once you have checked whether it landed.
A hook or a writing agent step whose runner stopped mid-step is never re-run blindly. Say `landed: true` if it happened; `false` and it is tried again.
Stops the cohort taking members; it settles once none of them is still running.
A cohort normally seals itself on the first pass that reads its source to the end. Seal it by hand when it was opened to stay open, or when a sampled cohort's sample is all you wanted — it then settles on what ran, and nothing more is admitted into it.