cURL
curl --request GET \ --url https://api.us.poly.ai/v1/agents/{agentId}/deployments \ --header 'x-api-key: <api-key>'
{ "deployments": [ { "id": "<string>", "accountId": "<string>", "agentId": "<string>", "environment": "<string>", "artifactVersion": "<string>", "version": "<string>", "createdBy": "<string>", "createdAt": "<string>", "metadata": {} } ] }
Environment to list deployments for (sandbox, pre-release, live)
sandbox
pre-release
live
Max number of deployments to return
Successful response
Deployments for the requested environment, ordered newest first.
Show child attributes
Was this page helpful?