Run
Retrieve the statuses of your automation runs.
v1 of the REST API is now deprecated. Please refer to v2 for the latest endpoints and features.
Gets the status and any outputs of an automation run.
Authorizations
Path parameters
worker_idstringRequired
The worker_id is retrieved by making a request to /v1/invoke/{share_id}.
Responses
200
Successful operation
application/json
400
Mismatch department
application/json
403
Invalid API key
application/json
404
Invalid worker id
application/json
500
Internal server error
application/json
get
GET /v1/run/{worker_id} HTTP/1.1
Host: rest-api.app.kognitos.com
x-api-key: YOUR_API_KEY
Accept: */*
{
"state": "done",
"answer": "{json having key and value of each output}"
}
Last updated
Was this helpful?