Getting Started
API Reference
- GETPing Health
- GETGet Available Models
- POSTRetrieve Chunks
- POSTRetrieve Chunks Grouped
- POSTRetrieve Documents
- POSTBatch Get Documents
- POSTBatch Get Chunks
- POSTQuery Completion
- GETGet Chat History
- GETGet Available Models For Selection
- POSTAgent Query
- GETGet Usage Stats
- GETGet Recent Usage
- POSTGenerate Local Uri
- POSTGenerate Cloud Uri
- DELDelete Cloud App
- GETList Chat Conversations
- PATCHUpdate Chat Title
Documents
Folders
Workflows
model-config
Logs
Graph
Folders
List Folders
List all folders the user has access to.
Args: auth: Authentication context
Returns: List[Folder]: List of folders
GET
/
folders
JavaScript
Copy
Ask AI
import Morphik from 'morphik';
const client = new Morphik({
apiKey: 'My API Key',
});
const folders = await client.folders.list();
console.log(folders);
Copy
Ask AI
[
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"document_ids": [
"<string>"
],
"system_metadata": {},
"rules": [
{}
],
"workflow_ids": [
"<string>"
],
"app_id": "<string>",
"end_user_id": "<string>"
}
]
Headers
Response
200
application/json
Successful Response
The response is of type Folder · object[]
.
Was this page helpful?
JavaScript
Copy
Ask AI
import Morphik from 'morphik';
const client = new Morphik({
apiKey: 'My API Key',
});
const folders = await client.folders.list();
console.log(folders);
Copy
Ask AI
[
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"document_ids": [
"<string>"
],
"system_metadata": {},
"rules": [
{}
],
"workflow_ids": [
"<string>"
],
"app_id": "<string>",
"end_user_id": "<string>"
}
]
Assistant
Responses are generated using AI and may contain mistakes.