Progress of the latest daily run
curl --request GET \
--url https://api.seomator.com/v1/projects/{id}/runs/latest \
--header 'x-api-key: <api-key>'const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.seomator.com/v1/projects/{id}/runs/latest', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.seomator.com/v1/projects/{id}/runs/latest"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"run": {
"runDate": "<string>",
"firstRun": true,
"status": "running",
"planned": 123,
"collected": 123,
"analyzed": 123,
"failed": 123,
"open": 123,
"analyzing": 123,
"assistants": [
{
"assistant": "chatgpt",
"planned": 123,
"collected": 123,
"analyzed": 123,
"failed": 123,
"open": 123,
"analyzing": 123
}
]
}
}{
"error": {
"code": "bad_request",
"message": "<string>",
"requestId": "<string>"
}
}Progress of the latest daily run
Counts of the answers planned for the latest run date: collected (returned by the assistant), analyzed (counted in the reports), failed (failed or of unknown outcome) and open (still being collected), in total and per assistant. run is null before the first run. status is running while any answer is open.
GET
/
v1
/
projects
/
{id}
/
runs
/
latest
Progress of the latest daily run
curl --request GET \
--url https://api.seomator.com/v1/projects/{id}/runs/latest \
--header 'x-api-key: <api-key>'const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.seomator.com/v1/projects/{id}/runs/latest', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.seomator.com/v1/projects/{id}/runs/latest"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"run": {
"runDate": "<string>",
"firstRun": true,
"status": "running",
"planned": 123,
"collected": 123,
"analyzed": 123,
"failed": 123,
"open": 123,
"analyzing": 123,
"assistants": [
{
"assistant": "chatgpt",
"planned": 123,
"collected": 123,
"analyzed": 123,
"failed": 123,
"open": 123,
"analyzing": 123
}
]
}
}{
"error": {
"code": "bad_request",
"message": "<string>",
"requestId": "<string>"
}
}