import Morphik from 'morphik';
const client = new Morphik({
apiKey: 'My API Key',
});
const response = await client.folders.listSummaries();
console.log(response);
[
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"doc_count": 0,
"updated_at": "<string>"
}
]
Return compact folder list (id, name, doc_count, updated_at).
import Morphik from 'morphik';
const client = new Morphik({
apiKey: 'My API Key',
});
const response = await client.folders.listSummaries();
console.log(response);
[
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"doc_count": 0,
"updated_at": "<string>"
}
]
Successful Response
The response is of type FolderSummary · object[]
.
Was this page helpful?