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/projects/{id}/files
Request
- Base URLhttps://app.gc.ai/api/external/v1
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring uuid required
The project ID
Request body
Response
File attached (idempotent, repeat calls are no-ops)
Changes
No recorded changes to this operation across all 1 revision of this API.