Query
Variables
Headers
Response
1query GetDeployments ($limit: Int = 5) {
2 deployments($limit) {
3 id
4 name
5 url
6 status
7 createdAt
8 repository {
9 name
10 branches
11 }
12 }
13}
1{
2 "limit": 5,
3 "repositoryId": "repo_8x92k1m3",
4 "env": "production"
5}
1{
2 "Authorization": "Bearer <your_api_key>",
3 "Content-Type": "application/json",
4 "X-.git-Version": "2025-04"
5}
{\n "data": {\n "deployments": [\n {\n "id": "dep_9a2b3c4d",\n "name": "main",\n "url": "https://app.git.dev/prod",\n "status": "SUCCESS",\n "createdAt": "2025-06-15T10:32:00Z",\n "repository": {\n "name": "core-platform",\n "branches": ["main", "develop", "staging"]\n }\n },\n {\n "id": "dep_1e5f6g7h",\n "name": "feature/auth",\n "url": "https://app.git.dev/preview/124",\n "status": "PENDING",\n "createdAt": "2025-06-15T11:15:00Z",\n "repository": {\n "name": "core-platform",\n "branches": ["main", "develop", "staging"]\n }\n }\n ]\n }\n}