QamaqQamaq
GET

Get file

/knowledge/{file_id}

Returns file metadata by ID.

Parameters

Path Parameters

NameTypeDescription
file_idrequired
string

The file ID

Code Examples

curl -X GET "https://api.qamaq.io/api/v1/knowledge/{file_id}" \
  -H "Authorization: Bearer qmq_your_api_key"

Responses

200File metadata

Response Body

{
id:string
name:string
original_filename:string
mime_type:string
size_bytes:integer
folder_id:string
folder_path:string
status:"uploaded" | "processing" | "processed" | "error"
uploadedprocessingprocessederror
processing_status:string
tags:string[]
description:string
created_at:string (date-time)
updated_at:string (date-time)
created_by:string
}