Inspect one workflow run
curl --request GET \
--url https://julian.11x.ai/api/v1/workflows/{agentId}/run \
--header 'x-api-key: <api-key>'import requests
url = "https://julian.11x.ai/api/v1/workflows/{agentId}/run"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://julian.11x.ai/api/v1/workflows/{agentId}/run', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"workflowRunId": "<string>",
"status": "queued",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"terminalNodes": [
{
"nodeName": "<string>",
"status": "succeeded"
}
]
}Workflows
Inspect one workflow run
Returns a small status projection. terminalNodes contains the last executed node on each ending branch, with its name and succeeded/failed state. Raw input, node IDs/types, outputs and traces are not returned. A found failed run still returns HTTP 200.
GET
/
workflows
/
{agentId}
/
run
Inspect one workflow run
curl --request GET \
--url https://julian.11x.ai/api/v1/workflows/{agentId}/run \
--header 'x-api-key: <api-key>'import requests
url = "https://julian.11x.ai/api/v1/workflows/{agentId}/run"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://julian.11x.ai/api/v1/workflows/{agentId}/run', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"workflowRunId": "<string>",
"status": "queued",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"terminalNodes": [
{
"nodeName": "<string>",
"status": "succeeded"
}
]
}Authorizations
Organization API key. Get it from the 11x team or from the platform.
Path Parameters
ID of the agent, e.g. agent.abc123.
Query Parameters
workflowRunId returned by POST.
Minimum string length:
1Response
Run status.