cURL
curl --request GET \ --url https://api.promptlayer.com/workflows/{workflow_id_or_name}/labels \ --header 'X-API-KEY: <x-api-key>'
{ "success": true, "release_labels": [ { "release_label": "<string>", "release_label_id": 123, "workflow_version_id": 123, "workflow_version_number": 123 } ] }
Your API key for authentication.
The agent ID or name.
Labels retrieved successfully
true
Show child attributes
Was this page helpful?