Setup
Put them in your environment or
.env; Data APIs covers the other ways.
Notes
- Calls act on the token’s own account unless teamId or slug names a team.
- Timestamps are JavaScript milliseconds. List calls return pagination.next, the timestamp (or, for projects, continuation token) to request the next page with; projects take it as from.
- Build events and runtime logs can stream (application/stream+json); for events, leave follow unset to get a finite JSON array.
- Only reads are named here; deploy, delete and settings changes are left out.
Endpoints
List deployments
Get a deployment
Get build logs
Get runtime logs
- Responds with application/stream+json: one JSON object per line.