GET /v2/providers/{provider_id}/triggers/{trigger_id}
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.
422
Validation Error
application/json
get/v2/providers/{provider_id}/triggers/{trigger_id}
curlcurl --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"
}
]
}
}PreviousGET /v2/providers/{provider_id}/triggers
NextPOST /v2/providers/{provider_id}/actions/{action_id}/run
Last updated
Was this helpful?

