operationId: functions_get_trigger
summary: Get Trigger
description: >-
Gets the trigger details.
To get the trigger details, send a GET request to `/v2/functions/namespaces/$NAMESPACE_ID/triggers/$TRIGGER_NAME`.
parameters:
- $ref: 'parameters.yml#/namespace_id'
- $ref: 'parameters.yml#/trigger_name'
tags:
- Functions
responses:
'200':
$ref: 'responses/trigger_response.yml'
'401':
$ref: '../../shared/responses/unauthorized.yml'
'404':
$ref: 'responses/trigger_not_found.yml'
'429':
$ref: '../../shared/responses/too_many_requests.yml'
'500':
$ref: '../../shared/responses/server_error.yml'
default:
$ref: '../../shared/responses/unexpected_error.yml'
x-codeSamples:
- $ref: 'examples/curl/get_trigger.yml'
- $ref: 'examples/python/get_trigger.yml'
security:
- bearer_auth:
- 'function:read'
- 'function:admin'