Attach a file to a project
Projects
Attach a File to a Project
Attach an already-uploaded file to a project. The file remains in its current folder; this only records the project link.
Requires write access to the project and read access to the file. Org-scoped keys can attach non-access-controlled files to non-access-controlled projects.
POST
Attach a file to a project
Authorizations
API key for authentication. Format: gcai_xxxxxxxxx
Create API keys in the GC AI app under Settings → API.
Path Parameters
The project ID
Body
application/json
ID of an already-uploaded file to attach to the project
Response
File attached (idempotent, repeat calls are no-ops)