Javascript
import Morphik from 'morphik'; const client = new Morphik({ apiKey: 'My API Key', }); const folder = await client.folders.retrieve('folder_id'); 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>" }
Get a folder by ID.
Args: folder_id: ID of the folder auth: Authentication context
Returns: Folder: Folder if found and accessible
Successful Response
Represents a folder that contains documents
List of workflow IDs to run on document ingestion
Was this page helpful?