Skip to main content
The file service is mounted at /api/v1/files and fronts Google Cloud Storage for binary uploads. All routes require an Auth0 Bearer token.

Supported media

  • Images: JPEG, PNG, GIF, WebP (≤10 MB)
  • PDFs: application/pdf (≤20 MB)

Surface area

ActionEndpointDescription
UploadPOST /files/uploadAccepts multipart/form-data and stores the file in GCS plus MongoDB metadata
ListGET /filesReturns the caller’s uploads with optional conversation filtering
InspectGET /files/{fileId}Loads metadata for a single upload
DeleteDELETE /files/{fileId}Removes both the GCS object and the Mongo record after verifying ownership
See the endpoint pages for request bodies, parameter constraints, and example responses pulled directly from the OpenAPI schema.