Skip to main content
GET
/
folders
/
summary
JavaScript
import Morphik from 'morphik';

const client = new Morphik({
  apiKey: process.env['MORPHIK_API_KEY'], // This is the default and can be omitted
});

const folderSummaries = await client.folders.listSummaries();

console.log(folderSummaries);
[
  {
    "id": "<string>",
    "name": "<string>",
    "full_path": "<string>",
    "depth": 123,
    "description": "<string>",
    "doc_count": 0,
    "updated_at": "<string>"
  }
]

Headers

authorization
string

Response

Successful Response

id
string
required
name
string
required
full_path
string | null
depth
integer | null
description
string | null
doc_count
integer
default:0
updated_at
string | null