For the complete documentation index, see llms.txt. This page is also available as Markdown.

GET /v2/providers/{provider_id}/triggers/{trigger_id}

Get Provider Trigger

get

Get a provider trigger, including its input and output parameters.

How to use

Read the trigger-specific parameter contract for configuration in the supported workflow interface. This endpoint only reads a descriptor.

Authentication and permissions

Required permissions: connections.read. Resource and owner access checks also apply.

Authorizations
AuthorizationstringRequired

Personal API key (sk_...) or supported user access JWT. See Authentication and authorization for endpoint restrictions and scopes. Use exactly one Authorization header.

Path parameters
provider_idstringRequired
trigger_idstringRequired
Responses
200

Successful Response

application/json
response_codestring · nullableOptional

Machine-readable response code, when provided.

get/v2/providers/{provider_id}/triggers/{trigger_id}
curl
curl --fail-with-body -sS \
  "$STACKAI_BASE_URL/v2/providers/${PROVIDER_ID}/triggers/${TRIGGER_ID}" \
  -H "Authorization: Bearer $STACKAI_API_KEY"
{
  "response_code": "text",
  "meta": {
    "ANY_ADDITIONAL_PROPERTY": "anything"
  },
  "data": {
    "trigger_id": "text",
    "provider_id": "text",
    "trigger_type": "polling",
    "name": "text",
    "description": "text",
    "tags": [
      "text"
    ],
    "input_parameters": [
      {
        "name": "text",
        "type": "string",
        "label": "text",
        "description": "text",
        "required": false,
        "default": null,
        "options": [
          {
            "value": "text",
            "label": "text"
          }
        ],
        "has_dynamic_options": false,
        "depends_on": [
          "text"
        ],
        "minimum": 1,
        "maximum": 1
      }
    ],
    "output_parameters": [
      {
        "name": "text",
        "type": "string",
        "label": "text",
        "description": "text"
      }
    ]
  }
}

Last updated

Was this helpful?