FruxonDocs
Agent NetworkTriggers

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.

POST
/v1/tenants/{tenant}/triggers/{trigger}/ledger/cohorts/{cohort}/followUps/{followUp}:settle
AuthorizationBearer <token>

JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.

In: header

Path Parameters

trigger*string

The trigger identifier.

Formatuuid
cohort*string

The cohort identifier.

Formatuuid
followUp*string

The follow-up step identifier.

Formatuuid
tenant*string

The tenant identifier

Whether it landed.

landed?boolean

True: it happened. False: it did not, and may be tried again.

[key: string]?never

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/followUps/497f6eca-6276-4993-bfeb-53cbbbba6f08:settle" \  -H "Content-Type: application/json" \  -d '{}'
{
  "id": "00000000-0000-0000-0000-000000000000",
  "generation": 0,
  "stepIndex": 0,
  "kind": "NOTIFY",
  "step": {
    "kind": "NOTIFY",
    "audience": "OPENER",
    "hook": "string",
    "agentId": "string",
    "instruction": "string",
    "actionCeiling": "READ_ONLY",
    "after": 0,
    "effectiveActionCeiling": "READ_ONLY",
    "isSafeToRepeat": true
  },
  "status": "PENDING",
  "attempts": 0,
  "nextAttemptAt": 0,
  "detail": "string",
  "externalRef": "string",
  "executionRecordId": "00000000-0000-0000-0000-000000000000",
  "resolvedAt": 0
}
Empty
Empty
{
  "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
}