Skip to main content

Get Tags from a Workflow Definition

Endpoint: GET /api/metadata/workflow/{name}/tags

Retrieves the tags associated with a workflow definition.

Path Parameters

ParameterDescriptionTypeRequired/ Optional
nameThe name of the workflow definition from which the tags are to be retrieved.stringRequired.

Response

Returns a JSON array of tag objects associated with the workflow definition. Each object includes:

  • key (string): The tag key.
  • value (string): The tag value.

Returns an empty array [] if no tags are associated with the workflow definition.

Examples

Get tags from a workflow definition

Request

curl -X 'GET' \
'https://<YOUR-CLUSTER>/api/metadata/workflow/stripe_webhook/tags' \
-H 'accept: application/json' \
-H 'X-Authorization: <TOKEN>'

Response

Returns a JSON array of tag objects associated with the workflow definition.

[
{
"key": "environment",
"value": "testing"
}
]