Partial update
Applies a partial update: only the non-null fields of the request are written. `Kind` is immutable. Agent bindings are managed through the nested `bindings` sub-resource, not this endpoint.
Authorization
Bearer JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.
In: header
Path Parameters
The trigger identifier.
uuidThe tenant identifier
The patch payload — null fields are left unchanged.
Repoint the trigger at a different TenantIntegrationConfig (one Slack workspace to another). The integration id itself is immutable — switching providers is a recreate, not an update. Null means "leave alone" (consistent with the rest of this DTO); clearing the pin isn't supported here.
uuidint3260 <= value <= 2147483647"UNSPECIFIED" | "DAILY" | "WEEKLY" | "MONTHLY" | "INTERVAL""UNSPECIFIED" | "MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY"int32Multiple intra-day fire times for a Daily schedule. Null leaves the stored list untouched (patch semantics, like the rest of this DTO); a non-null list replaces it. Pass an empty list to clear back to the single scalar time. Only valid for Daily; entries must be ≥30 minutes apart.
int32"UNSPECIFIED" | "MINUTES" | "HOURS" | "DAYS"Content filter patch. Null leaves the stored filter untouched (consistent with the rest of this DTO). An explicit filter replaces it; an explicit filter with no conditions clears it back to fire-always. Only valid on Fruxon.Model.Triggers.TriggerKind.IntegrationEvent triggers. See Fruxon.Model.Triggers.TriggerEventFilter.
Work-shape patch. Follows the same semantics as Fruxon.Model.Triggers.UpdateTriggerRequest.Filter: null leaves the stored work shape untouched, an explicit value replaces it. Clearing a work shape is deliberately NOT expressible here — it would orphan a live ledger's items behind an automation that no longer admits, and the operator verb for that is drain, not a silent PATCH. Only valid on Fruxon.Model.Triggers.TriggerKind.Schedule triggers in V0.
When non-null, fully replaces the trigger's bindings + mappings: agents
in the list are kept or added; bindings missing from the list are
removed; for agents that appear in both before and after, the
mapping list is replaced wholesale. Null leaves bindings + mappings
untouched, consistent with the rest of this patch DTO. The existing
per-binding endpoints (PUT/DELETE /triggers/{id}/bindings/{agent})
stay available for atomic single-binding membership tweaks without
touching mappings.
Response Body
curl -X PATCH "https://api.fruxon.com/v1/tenants/string/triggers/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Content-Type: application/json" \ -d '{}'{
"id": "00000000-0000-0000-0000-000000000000",
"networkId": "00000000-0000-0000-0000-000000000000",
"kind": "SCHEDULE",
"integrationId": "string",
"integrationConfigId": "00000000-0000-0000-0000-000000000000",
"eventType": "string",
"displayName": "string",
"active": false,
"timeout": 0,
"scheduleFrequency": "DAILY",
"scheduleDay": "MONDAY",
"scheduleDayOfMonth": 0,
"scheduleHour": "string",
"scheduleMinute": "string",
"scheduleTimes": [
{
"hour": 0,
"minute": 0
}
],
"intervalValue": 0,
"intervalUnit": "MINUTES",
"timezone": "string",
"filter": {
"match": "ALL",
"conditions": [
{
"path": "string",
"operator": "UNSPECIFIED",
"value": "string",
"values": null,
"caseSensitive": false
}
]
},
"workShape": {
"door": {
"doorId": "string",
"integrationConfigId": "string",
"query": "string"
},
"source": {
"kind": "TOOL",
"ragAssetId": "string",
"ragReadMode": "DOCUMENTS",
"ragSearch": "string",
"pageSize": 0,
"integrationConfigId": "string",
"listToolId": "string",
"getToolId": "string",
"recordsPath": "string",
"cursorParamName": "string",
"parameters": {},
"itemIdPath": "string",
"sinkTargetPath": "string",
"skipWhen": {
"match": "UNSPECIFIED",
"conditions": []
},
"sourceUrlPath": "string",
"cursorPath": "string",
"watermarkParamName": "string",
"watermarkFormat": "RAW",
"overlapWindowMs": 0,
"flattenSheetRows": false
},
"stages": [
{
"id": "string",
"displayName": "string",
"kind": "UNSPECIFIED",
"agentId": "string",
"instruction": "string",
"ask": null,
"sink": null,
"actionTypeCeiling": null,
"claimLimit": null,
"parameters": [],
"produces": [],
"requires": [],
"dedupeKey": []
}
],
"parameters": [
{
"name": "string",
"value": "string",
"description": "string"
}
],
"policy": {
"claimLimit": 0,
"maxAttempts": 0,
"leaseSeconds": 0,
"actionTypeCeiling": "READ_ONLY",
"effectiveClaimLimit": 1,
"effectiveMaxAttempts": 1,
"effectiveLeaseSeconds": 1
}
},
"createdAt": 0,
"modifiedAt": 0,
"lastFiredAt": 0,
"hasWebhookKey": false,
"webhookOwnership": "PER_BINDING",
"agentIds": [
"string"
],
"bindings": [
{
"agentId": "string",
"parameterMappings": [],
"environmentSlug": "string",
"outputBindingId": "00000000-0000-0000-0000-000000000000",
"outputDestination": {
"bindingId": "00000000-0000-0000-0000-000000000000",
"participantId": "00000000-0000-0000-0000-000000000000",
"integrationConfigId": "00000000-0000-0000-0000-000000000000",
"provider": "string",
"address": "string"
},
"defaultOutputDestinations": []
}
]
}{
"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
}Starts the ledger over.
Destructive. Cancels every open batch (settling its human task and closing its conversation), deletes every item, effect and transition, and moves the cursor to an empty position under a new version so an in-flight pass loses its write. Refused with 409 when `confirmItems` is not the ledger's current item count, or while a running pass holds a claim. The effects' external targets are not touched — the next pass performs them again.
Dry-runs the supplied trigger bindings + sample payload through the same resolver the dispatcher uses at fire time
Returns one entry per submitted binding. On success the entry carries the resolved `parameters` dict the agent executor would receive; on failure the entry carries an `error` message (unknown parameter name, type-coercion mismatch, agent with no deployed revision).