import Morphik from 'morphik';
const client = new Morphik({
apiKey: 'My API Key',
});
const workflows = await client.workflows.list();
console.log(workflows);
[
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"owner_id": "<string>",
"user_id": "<string>",
"app_id": "<string>",
"steps": [
{
"action_id": "<string>",
"parameters": {}
}
],
"system_metadata": {}
}
]
List workflows visible to the caller.
import Morphik from 'morphik';
const client = new Morphik({
apiKey: 'My API Key',
});
const workflows = await client.workflows.list();
console.log(workflows);
[
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"owner_id": "<string>",
"user_id": "<string>",
"app_id": "<string>",
"steps": [
{
"action_id": "<string>",
"parameters": {}
}
],
"system_metadata": {}
}
]
Successful Response
The response is of type Workflow · object[]
.
Was this page helpful?