List instances of one workflow
curl --request GET \
--url https://app.hookie.ai/admin/api/projects/{project_id}/workflows/{workflow_id}/instances \
--cookie hookie_session=const options = {method: 'GET', headers: {cookie: 'hookie_session='}};
fetch('https://app.hookie.ai/admin/api/projects/{project_id}/workflows/{workflow_id}/instances', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.hookie.ai/admin/api/projects/{project_id}/workflows/{workflow_id}/instances"
headers = {"cookie": "hookie_session="}
response = requests.get(url, headers=headers)
print(response.text){
"instances": [
{
"id": "<string>",
"state": "pending",
"current_step_index": 123,
"correlation_id": "<string>",
"last_error": "<string>",
"created_at": "<string>",
"updated_at": "<string>"
}
]
}{
"error": "<string>",
"retry_after": 123,
"upgrade_url": "<string>"
}{
"error": "<string>",
"retry_after": 123,
"upgrade_url": "<string>"
}{
"error": "<string>",
"retry_after": 123,
"upgrade_url": "<string>"
}{
"error": "<string>",
"retry_after": 123,
"upgrade_url": "<string>"
}{
"error": "<string>",
"retry_after": 123,
"upgrade_url": "<string>"
}Workflows
List instances of one workflow
GET
/
admin
/
api
/
projects
/
{project_id}
/
workflows
/
{workflow_id}
/
instances
List instances of one workflow
curl --request GET \
--url https://app.hookie.ai/admin/api/projects/{project_id}/workflows/{workflow_id}/instances \
--cookie hookie_session=const options = {method: 'GET', headers: {cookie: 'hookie_session='}};
fetch('https://app.hookie.ai/admin/api/projects/{project_id}/workflows/{workflow_id}/instances', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.hookie.ai/admin/api/projects/{project_id}/workflows/{workflow_id}/instances"
headers = {"cookie": "hookie_session="}
response = requests.get(url, headers=headers)
print(response.text){
"instances": [
{
"id": "<string>",
"state": "pending",
"current_step_index": 123,
"correlation_id": "<string>",
"last_error": "<string>",
"created_at": "<string>",
"updated_at": "<string>"
}
]
}{
"error": "<string>",
"retry_after": 123,
"upgrade_url": "<string>"
}{
"error": "<string>",
"retry_after": 123,
"upgrade_url": "<string>"
}{
"error": "<string>",
"retry_after": 123,
"upgrade_url": "<string>"
}{
"error": "<string>",
"retry_after": 123,
"upgrade_url": "<string>"
}{
"error": "<string>",
"retry_after": 123,
"upgrade_url": "<string>"
}Authorizations
sessionbearerAuth
The console's sealed session cookie, set by WorkOS AuthKit. Mutating requests also require the X-Requested-With CSRF header.
Query Parameters
Exact-match state filter. Unrecognized values simply return an empty list.
Available options:
pending, running, waiting, completed, failed, timed_out, cancelled Response
Instances, newest first, hard-capped at 500 rows. There is no pagination. context is not included here — use getWorkflowInstance.
Show child attributes
Show child attributes