LogoLogo
About
  • Home
  • Guides
  • BDK
  • REST API
  • Release Notes
  • Overview
    • REST API Overview
  • API Reference
    • Invoke
    • Run
    • Upload
Powered by GitBook
On this page

Was this helpful?

Export as PDF
  1. API Reference

Run

Retrieve the statuses of your automation runs.

Last updated 2 months ago

Was this helpful?

Get the status of an automation run

get

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}"
}