List pull request deployments
List the latest status of every environment the pull request has been deployed to.
Base URL
GET
List the latest status of every environment the pull request has been deployed to.
bearerAuth deployments:readheader
AuthorizationBearer <token>API key authentication. Use your API key as the bearer token.
Scope: deployments:read
owner*stringGitHub repository owner.
Length
1 <= lengthrepo*stringGitHub repository name.
Length
1 <= lengthpull_request_number*integerPull request number.
Format
int64Range
0 < valueDeployments for the pull request
application/json- response
data*array<>meta*curl -X GET 'https://app.inspect.com/api/v2/repositories/acme/web/pulls/1234/deployments'Example Response
{ "data": [ { "environment": "production", "status": "deployed", "url": "https://acme.com", "commit_sha": "8f3c2a1d9e7b6f5a4c3d2e1f0a9b8c7d6e5f4a3b", "last_succeeded_at": "2026-10-28T15:42:11.204Z", "error": null, "occurred_at": "2026-10-28T15:42:11.204Z" } ], "meta": { "next_cursor": "eyJ2IjoxLCJzIjoicHVibGlzaGVkX2F0X2Rlc2MiLCJrIjpbZmFsc2UsMTc5MzAyNDQ2NzMzMCwicjVqMWI4dDN5NnFlIl19", "previous_cursor": "eyJ2IjoxLCJzIjoicHVibGlzaGVkX2F0X2Rlc2MiLCJrIjpbZmFsc2UsMTc5MzIwMjEzMTIwNCwieDdrMm05cTRwMXphIl19", "has_next_page": true, "has_previous_page": false }}