Skip to main content
GET
https://api.crewship.dev
/
v1
/
deployments
/
{id}
curl https://api.crewship.dev/v1/deployments/dep_abc123xyz \
  -H "Authorization: Bearer YOUR_API_KEY"
{
  "data": {
    "id": "dep_abc123xyz",
    "project": "my-crew",
    "status": "active",
    "message": "Add PDF export feature",
    "git_sha": "a1b2c3d4e5f6",
    "created_at": "2024-01-15T10:30:00Z",
    "activated_at": "2024-01-15T10:32:15Z",
    "build_logs_url": "https://api.crewship.dev/v1/deployments/dep_abc123xyz/logs"
  }
}

Path Parameters

id
string
required
Deployment ID (e.g., dep_abc123xyz)

Response

id
string
Deployment ID
project
string
Project name
status
string
Deployment status: pending, building, active, failed, superseded
message
string
Deployment message
git_sha
string
Git commit SHA
created_at
string
ISO 8601 timestamp
activated_at
string
When the deployment became active (ISO 8601)
build_logs_url
string
URL to fetch build logs
curl https://api.crewship.dev/v1/deployments/dep_abc123xyz \
  -H "Authorization: Bearer YOUR_API_KEY"
{
  "data": {
    "id": "dep_abc123xyz",
    "project": "my-crew",
    "status": "active",
    "message": "Add PDF export feature",
    "git_sha": "a1b2c3d4e5f6",
    "created_at": "2024-01-15T10:30:00Z",
    "activated_at": "2024-01-15T10:32:15Z",
    "build_logs_url": "https://api.crewship.dev/v1/deployments/dep_abc123xyz/logs"
  }
}