Skip to navigation

Get a project

Retrieves the details of a project by its unique ID. The role field indicates your role in the project and determines which actions you can perform. For example, only users with the collaborator or admin role can create files.

Use the include parameter as described in List projects to include stats or latestContribution.

Required permission: Viewer or higher in the project.

Authentication

AuthorizationBearer
An API key associated with your user account and workspace. API requests inherit your existing workspace permissions.
OR
AuthorizationBearer
The session token of a user signed in to the CAD ROOMS app. Every endpoint accepts it in place of an API key.

Path parameters

projectIdstringRequired
Unique identifier of the project.

Query parameters

includelist of enumsOptional
Optional data to add to the project. Repeat the parameter for each value.
Allowed values:

Response headers

Request-IdstringOptional

Request-Id. Unique identifier for the request. Every response, success or error, returns it. Error bodies carry the same value in requestId. Include it when contacting CAD ROOMS support.

Response

Returns the requested project's details.
idstring
Unique identifier for the project.
workspaceIdstring
ID of the workspace containing the project.
namestring
Project name displayed in the CAD ROOMS app.
slugstring

URL-friendly identifier used in the project’s app URL.

descriptionstring or null

Project description, or null if none is provided.

createdAtdatetime
Timestamp when the project was created.
updatedAtdatetime
Timestamp when the project was last updated.
roleenum

Your role in the project. Workspace owners and admins have admin in every project.

Allowed values:
statsobjectOptional

Returned when you send include=stats.

latestContributionobject or nullOptional

The project’s latest contribution, or null if it has none. Returned when you send include=latestContribution.

Errors

401
Unauthorized Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error