List uploaded files for a consultation
Returns every file attached to a consultation, newest first (by createdAt). Each file carries its current analysis status and, when extraction failed, the error message. Use this endpoint to render a file list or to poll for the analyzing → analyzed transition after finalizeUpload. Files whose upload was initialized but never finalized are listed with status uploaded. Any member of the workspace can list the files.
Request
- Base URLhttps://vetnio.com/api/v2
- URLhttps://vetnio.com/api/v2/workspaces/{workspaceId}/consultations/{consultationId}/uploaded-files
- AuthHTTP bearer
Path parameters
Opaque identifier of the Vetnio workspace (veterinary clinic) that owns the resource. Scopes every request — callers can only access files under workspaces they are a member of.
Identifier of the consultation (a single veterinary visit) the file is attached to. The consultation must belong to the same workspace as the authenticated caller.
Response
List of files attached to the consultation. An empty array means no files have been uploaded yet.
Example response
[
{
"fileName": "8f1c4a60-7e3b-4b6f-9a9d-6d9f3c8b2e4a",
"originalFileName": "xray_bella_2024-06-12.pdf",
"mimeType": "application/pdf",
"sizeBytes": 184320,
"status": "analyzed",
"createdAt": "2026-09-14T08:42:10.000Z"
}
]Changes
No recorded changes to this operation across all 1 revision of this API.