QamaqQamaq
GET

Obtenir un fichier

/knowledge/{file_id}

Renvoie les métadonnées d'un fichier par ID.

Paramètres

Paramètres de chemin

NomTypeDescription
file_idrequis
string

The file ID

Exemples de code

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

Réponses

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
}