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
Create Folder
Create a new folder.
Args: folder_create: Folder creation request containing name and optional description auth: Authentication context
Returns: Folder: Created folder
POST
/
folders
JavaScript
Copy
Ask AI
import Morphik from 'morphik';
const client = new Morphik({
apiKey: 'My API Key',
});
const folder = await client.folders.create({ name: 'name' });
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
Body
application/json
Request model for folder creation
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.create({ name: 'name' });
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.