Get workflow run status
const options = {method: 'GET'};
fetch('http://localhost:4010/v1/atlas/example-workflow/{runId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "http://localhost:4010/v1/atlas/example-workflow/{runId}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}curl --request GET \
--url http://localhost:4010/v1/atlas/example-workflow/{runId}import requests
url = "http://localhost:4010/v1/atlas/example-workflow/{runId}"
response = requests.get(url)
print(response.text){
"success": true,
"data": {
"id": "<string>",
"type": "<string>",
"status": "<string>",
"startedAt": "<string>",
"completedAt": "<string>",
"durationMs": 123
},
"meta": {
"requestId": "<string>",
"timestamp": "<string>"
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
},
"meta": {
"requestId": "<string>",
"timestamp": "<string>"
}
}Workflows
Get workflow run status
Retrieves the status of a workflow run by its ID
GET
/
v1
/
atlas
/
example-workflow
/
{runId}
Get workflow run status
const options = {method: 'GET'};
fetch('http://localhost:4010/v1/atlas/example-workflow/{runId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "http://localhost:4010/v1/atlas/example-workflow/{runId}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}curl --request GET \
--url http://localhost:4010/v1/atlas/example-workflow/{runId}import requests
url = "http://localhost:4010/v1/atlas/example-workflow/{runId}"
response = requests.get(url)
print(response.text){
"success": true,
"data": {
"id": "<string>",
"type": "<string>",
"status": "<string>",
"startedAt": "<string>",
"completedAt": "<string>",
"durationMs": 123
},
"meta": {
"requestId": "<string>",
"timestamp": "<string>"
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
},
"meta": {
"requestId": "<string>",
"timestamp": "<string>"
}
}Was this page helpful?