Get Project Overview
Projects
Get Project Overview
Retrieve comprehensive project information including settings, domain, and last build details
GET
Get Project Overview
Authentication
This endpoint requires JWT authentication via theverifyJWT middleware. Include your access token in the Authorization header.
Path Parameters
The unique identifier of the project (MongoDB ObjectId)
Response
Indicates whether the request was successful
The project overview data
Information about the most recent build, or
null if no builds existExample Request
Example Response
Example Response (Node.js Project)
Error Responses
404 Not Found
Returned when:
- Project with the specified ID doesn’t exist
- Project doesn’t belong to the authenticated user
- Project has been deleted
500 Internal Server Error
Returned when a server error occurs
Implementation Notes
- Only returns projects owned by the authenticated user
- Excludes projects with status
deleted - Automatically calculates build duration from
startedAtandfinishedAttimestamps - Duration format: seconds shown as
{s}s, minutes shown as{m}m {s}s - Returns custom domain if
hascustomDomainis true, otherwise returns subdomain - Build information is fetched separately and joined with project data
Source Reference
backend/src/controllers/slices/Project/getProjectOverview.js:4