Stream automation events
curl --request GET \
--url https://api.arg.ai/api/automation/poll/{jobId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.arg.ai/api/automation/poll/{jobId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.arg.ai/api/automation/poll/{jobId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{}{
"detail": "<string>"
}Automations
Stream automation events
Server-sent events for a run in progress.
GET
/
api
/
automation
/
poll
/
{jobId}
Stream automation events
curl --request GET \
--url https://api.arg.ai/api/automation/poll/{jobId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.arg.ai/api/automation/poll/{jobId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.arg.ai/api/automation/poll/{jobId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{}{
"detail": "<string>"
}