import Morphik from 'morphik';
const client = new Morphik({
apiKey: process.env['MORPHIK_API_KEY'], // This is the default and can be omitted
});
const response = await client.graph.workflow.status('workflow_id');
console.log(response);
Copy
Ask AI
{}
Graph
Check Workflow Status
Check the status of a graph build/update workflow.
This endpoint polls the external graph API to check the status of an async operation.
GET
/
graph
/
workflow
/
{workflow_id}
/
status
JavaScript
Copy
Ask AI
import Morphik from 'morphik';
const client = new Morphik({
apiKey: process.env['MORPHIK_API_KEY'], // This is the default and can be omitted
});
const response = await client.graph.workflow.status('workflow_id');
console.log(response);