External Triggers

Submit trigger

post/v1/triggers

Request

  • Base URL
    https://docs.grepr.ai (the document declares no server; this is the origin it was published from)
  • Auth
    API key in header GREPR-API-KEY

Request body

jobIdstring required

ID of the job that the trigger is meant for.

logsRuleEngineNamestring required

Name of the rule engine that will process the trigger. This must exist in the corresponding Grepr job graph.

triggerIdstring required

ID of the external source trigger that should be triggered. This must exist in the Logs Rule Engine configuration of the corresponding job

variablesobject

Variables needed by the conditions that get activated when the corresponding triggers gets fired.

Example request

{
  "jobId": "ABC0123D4",
  "logsRuleEngineName": "logs-rule-engine",
  "triggerId": "trigger-1",
  "variables": {
    "__application": "app1",
    "__service": "service1"
  }
}

Response

Accepted

Changes

No recorded changes to this operation across all 1 revision of this API.