curl "https://api.crewship.dev/v1/deployments?project=my-crew" \ -H "Authorization: Bearer YOUR_API_KEY"
{ "data": [ { "id": "dep_abc123xyz", "project": "my-crew", "status": "active", "message": "Add PDF export feature", "created_at": "2024-01-15T10:30:00Z", "activated_at": "2024-01-15T10:32:15Z" }, { "id": "dep_xyz789abc", "project": "my-crew", "status": "superseded", "message": "Initial deployment", "created_at": "2024-01-14T09:00:00Z", "activated_at": "2024-01-14T09:02:30Z" } ], "pagination": { "total": 15, "page": 1, "per_page": 20, "has_more": false } }
List deployments for a project
pending
building
active
failed
superseded