FruxonDocs
Agent NetworkTriggers

Lists triggers across the caller's Applications

Returns the triggers owned by the Applications the caller can open, with their current agent bindings. The optional filters compose: `agentId` narrows to triggers bound to one agent, `integration` narrows to triggers sourced from one integration, and `networkId` narrows to a single Application — naming an Application, or an agent in one, the caller cannot open is a 403, since they asked for it by id. The result is unpaged.

GET
/v1/tenants/{tenant}/triggers
AuthorizationBearer <token>

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

In: header

Path Parameters

tenant*string

The tenant identifier

Query Parameters

agentId?string

If supplied, only triggers bound to this agent are returned. Asserted against its owning Application.

integration?string

If supplied, only triggers sourced from this integration are returned.

networkId?string

If supplied, only triggers owned by this Application (Network) are returned.

Formatuuid

Response Body

curl -X GET "https://api.fruxon.com/v1/tenants/string/triggers"
[
  {
    "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": []
    },
    "workShape": {
      "door": {
        "doorId": "string",
        "integrationConfigId": "string",
        "query": "string"
      },
      "source": {
        "kind": "UNSPECIFIED",
        "ragAssetId": "string",
        "ragReadMode": "UNSPECIFIED",
        "ragSearch": "string",
        "pageSize": null,
        "integrationConfigId": "string",
        "listToolId": "string",
        "getToolId": "string",
        "recordsPath": "string",
        "cursorParamName": "string",
        "parameters": {},
        "itemIdPath": "string",
        "sinkTargetPath": "string",
        "skipWhen": null,
        "sourceUrlPath": "string",
        "cursorPath": "string",
        "watermarkParamName": "string",
        "watermarkFormat": "UNSPECIFIED",
        "overlapWindowMs": 0,
        "flattenSheetRows": false
      },
      "stages": [],
      "parameters": [],
      "policy": {
        "claimLimit": null,
        "maxAttempts": null,
        "leaseSeconds": null,
        "actionTypeCeiling": null,
        "effectiveClaimLimit": 20,
        "effectiveMaxAttempts": 3,
        "effectiveLeaseSeconds": 600
      }
    },
    "createdAt": 0,
    "modifiedAt": 0,
    "lastFiredAt": 0,
    "hasWebhookKey": false,
    "webhookOwnership": "PER_BINDING",
    "agentIds": [
      "string"
    ],
    "bindings": [
      {
        "agentId": "string",
        "parameterMappings": [],
        "environmentSlug": "string",
        "outputBindingId": null,
        "outputDestination": null,
        "defaultOutputDestinations": []
      }
    ]
  }
]
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
}