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
Get Folder
Get a folder by ID.
Args: folder_id: ID of the folder auth: Authentication context
Returns: Folder: Folder if found and accessible
GET
/
folders
/
{folder_id}
JavaScript
Copy
Ask AI
import Morphik from 'morphik';
const client = new Morphik({
apiKey: 'My API Key',
});
const folder = await client.folders.retrieve('folder_id');
console.log(folder.id);
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
Path Parameters
Response
200
application/json
Successful Response
Represents a folder that contains documents
Was this page helpful?
JavaScript
Copy
Ask AI
import Morphik from 'morphik';
const client = new Morphik({
apiKey: 'My API Key',
});
const folder = await client.folders.retrieve('folder_id');
console.log(folder.id);
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.