QamaqQamaq
GET

List folders

/folders

Returns a list of folders in the knowledge base.

Parameters

Query Parameters

NameTypeDescription
parent_id
string

Filter by parent folder ID (null for root folders)

Code Examples

curl -X GET "https://api.qamaq.io/api/v1/folders" \
  -H "Authorization: Bearer qmq_your_api_key"

Responses

200List of folders

Response Body

[
{
id:string
name:string
parent_id:string| null
created_at:string (date-time)
}
]