API referenceEndpoints
Replace project file
Requires an authenticated tenant principal. Generated from the production route registered in `internal/features/rag/inbound/http.go`.
POST
/v1/projects/{id}/files/{fileId}/replaceRequires an authenticated tenant principal. Generated from the production route registered in internal/features/rag/inbound/http.go.
Authorization
bearerAuth AuthorizationBearer <token>
Engine-issued API key or tenant-signed JWT.
In: header
Path Parameters
id*string
Format
uuidfileId*string
Format
uuidRequest Body
multipart/form-data
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/projects/497f6eca-6276-4993-bfeb-53cbbbba6f08/files/497f6eca-6276-4993-bfeb-53cbbbba6f08/replace" \ -F file="string"{}