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

const client = new Morphik({
  apiKey: 'My API Key',
});

const folders = await client.folders.list();

console.log(folders);
[
  {
    "id": "<string>",
    "name": "<string>",
    "description": "<string>",
    "document_ids": [
      "<string>"
    ],
    "system_metadata": {},
    "rules": [
      {}
    ],
    "workflow_ids": [
      "<string>"
    ],
    "app_id": "<string>",
    "end_user_id": "<string>"
  }
]

Headers

authorization
string

Response

Successful Response

name
string
required
id
string
description
string | null
document_ids
string[] | null
system_metadata
object
rules
Rules · object[]
workflow_ids
string[]

List of workflow IDs to run on document ingestion

app_id
string | null
end_user_id
string | null
I