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 a user-scoped API key (u:gcai_...) with write access to the project and read access to the file.
POST
Attach a file to a project
Documentation Index
Fetch the complete documentation index at: https://docs.gc.ai/llms.txt
Use this file to discover all available pages before exploring further.
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)