Javascript
import Morphik from 'morphik'; const client = new Morphik({ apiKey: 'My API Key', }); const folder = await client.folders.create({ name: 'name' }); console.log(folder.id);
{ "id": "<string>", "name": "<string>", "description": "<string>", "document_ids": [ "<string>" ], "system_metadata": {}, "rules": [ {} ], "workflow_ids": [ "<string>" ], "app_id": "<string>", "end_user_id": "<string>" }
Create a new folder.
Args: folder_create: Folder creation request containing name and optional description auth: Authentication context
Returns: Folder: Created folder
Request model for folder creation
Successful Response
Represents a folder that contains documents
List of workflow IDs to run on document ingestion
Was this page helpful?