Get deployment statistics
GET
/api/v1/deployments/stats
const url = 'http://localhost:3000/api/v1/deployments/stats';const options = {method: 'GET', headers: {'X-API-Key': '<X-API-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:3000/api/v1/deployments/stats \ --header 'X-API-Key: <X-API-Key>'Retrieves deployment statistics for the organization.
Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”Deployment statistics retrieved successfully
Forbidden — caller lacks required permission