# Files > For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://docs.cadrooms.com/api-reference/files/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.cadrooms.com/_mcp/server. A file represents a CAD file or any other file stored within a project. Each file has a unique path and includes information about its latest state, such as its current revision (including its ID, major and minor values), file size, and the contribution that last modified it. The API also allows you to explore relationships between files, similar to the Components and Referenced By panels in the CAD ROOMS app: * **List dependencies:** Returns the files that a file uses, such as the parts within an assembly. * **List references:** Returns the files that use a file, such as the assemblies that contain a part. To list files within a project, use `/projects/{projectId}/files`. To retrieve an individual file, use `/projects/{projectId}/files?path=...`. ## Check-outs A check-out reserves a file for a single user, preventing others from modifying it. Because CAD files cannot be merged, check-outs prevent multiple users from making conflicting changes to the same file. Other users cannot modify the file until it is checked in. You can check out individual files by path or all files within a project. You can also specify a purpose, which is visible to other users. To release a check-out, call [Check in files](/api-reference/files/delete-check-outs) or set `checkIn` when you [create a contribution](/api-reference/projects/create-contribution). ## Changes Changes are edits within a project that have not yet been contributed. Each user maintains their own set of changes within a project, which is not visible to other users. * [Completing an upload](/api-reference/files/complete-uploads) adds a file to your changes. * [Creating changes](/api-reference/files/create-changes) marks a file for deletion or renames it. * [Creating a contribution](/api-reference/projects/create-contribution) saves your changes as new revisions. * [Discarding changes](/api-reference/files/discard-changes) undoes your changes. ## Uploads An upload transfers new file content to a project using signed URLs. CAD ROOMS provides the signed URLs, and you upload the content directly to storage. Uploaded files appear in your changes until you create a contribution. To upload files: 1. Call [Create uploads](/api-reference/files/create-uploads) with the path, content type, size, and SHA-256 hash of each file. CAD ROOMS automatically checks out each new file to you. 2. Send the content of each file using `PUT` to its `uploadUrl`. For large files, the response contains `multipart` instead. Upload each part to its corresponding URL. 3. Call [Complete uploads](/api-reference/files/complete-uploads), including the `parts` for any large files. CAD ROOMS starts CAD processing and adds the files to your changes. 4. Call [Create a contribution](/api-reference/projects/create-contribution) to save your changes as new revisions. If CAD ROOMS already stores identical file content, the upload contains neither `uploadUrl` nor `multipart`. Skip step 2 for that file. ## Imports An import groups multiple uploads from a single source, such as a folder on your computer. CAD ROOMS tracks the status of each file within the import, allowing interrupted imports to resume. To add files to an import, [create uploads](/api-reference/files/create-uploads) with `importId` and each file's `sourcePath`. ## Starred files Starring a file highlights it within a project. Each file has a single star status shared by all project members. The `starred` field on each file indicates whether it is starred. To star or unstar a file, call [Update files](/api-reference/files/update-files). To list starred files within a project, use `starred=true` on List files. To list starred files across all projects within a workspace, use [List starred files](/api-reference/files/list-starred-files). ## Shares A share grants an individual user access to a specific version of a file. If the user is not already a member of the workspace, they join it as a guest. [List shares](/api-reference/files/list-shares) returns either the users a file is shared with or the files shared with a specific guest. ## API Docs - [List files](https://docs.cadrooms.com/api-reference/files/list-files.md): Files - [Update files](https://docs.cadrooms.com/api-reference/files/update-files.md): Files - [Search files](https://docs.cadrooms.com/api-reference/files/search-files.md): Files - [Create download URLs](https://docs.cadrooms.com/api-reference/files/create-revision-download-urls.md): Files - [List starred files](https://docs.cadrooms.com/api-reference/files/list-starred-files.md): Files - [List dependencies](https://docs.cadrooms.com/api-reference/files/list-dependencies.md): Dependencies and references - [List references](https://docs.cadrooms.com/api-reference/files/list-references.md): Dependencies and references - [List check-outs](https://docs.cadrooms.com/api-reference/files/list-check-outs.md): Check-outs and changes - [Check out files](https://docs.cadrooms.com/api-reference/files/create-check-outs.md): Check-outs and changes - [Check in files](https://docs.cadrooms.com/api-reference/files/delete-check-outs.md): Check-outs and changes - [List changes](https://docs.cadrooms.com/api-reference/files/list-changes.md): Check-outs and changes - [Create changes](https://docs.cadrooms.com/api-reference/files/create-changes.md): Check-outs and changes - [Discard changes](https://docs.cadrooms.com/api-reference/files/discard-changes.md): Check-outs and changes - [Create uploads](https://docs.cadrooms.com/api-reference/files/create-uploads.md): Uploads and imports - [Complete uploads](https://docs.cadrooms.com/api-reference/files/complete-uploads.md): Uploads and imports - [Create an import](https://docs.cadrooms.com/api-reference/files/create-import.md): Uploads and imports - [Update an import](https://docs.cadrooms.com/api-reference/files/update-import.md): Uploads and imports - [List import files](https://docs.cadrooms.com/api-reference/files/list-import-files.md): Uploads and imports - [List shares](https://docs.cadrooms.com/api-reference/files/list-shares.md): Shares - [Share a file](https://docs.cadrooms.com/api-reference/files/create-shares.md): Shares - [Remove shares](https://docs.cadrooms.com/api-reference/files/delete-shares.md): Shares ## OpenAPI Specification - [OpenAPI JSON](https://docs.cadrooms.com/openapi.json): raw OpenAPI 3.1 specification for this API, JSON format - [OpenAPI YAML](https://docs.cadrooms.com/openapi.yaml): raw OpenAPI 3.1 specification for this API, YAML format