Get runs
curl --request GET \
--url https://api.edges.run/v1/runs \
--header 'X-API-Key: <api-key>'const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.edges.run/v1/runs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.edges.run/v1/runs"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)[
{
"id": 123,
"uid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"scheduled_run_name": "<string>",
"action_id": 123,
"action_name": "<string>",
"retry_count": 0,
"user_uid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"workspace_uid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"execution_mode": "LIVE",
"last_error": {
"label": "<string>",
"message": "<string>",
"params": {}
},
"parameters": {
"sync_mode": "full"
},
"callback": {
"url": "<string>"
},
"status": "CREATED",
"output_count": 0,
"scheduled_run_uid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"started_at": "<string>",
"finished_at": "<string>",
"created_at": "<string>",
"updated_at": "<string>"
}
]{
"error_label": "<string>",
"error_scope": "input",
"error_ref": "ERR-12345",
"message": "<string>",
"status_code": 123,
"params": {},
"data": {}
}{
"error_label": "<string>",
"error_scope": "input",
"error_ref": "ERR-12345",
"message": "<string>",
"status_code": 123,
"params": {},
"data": {}
}Runs
List Runs
List runs in the workspace, filtered by status, action or execution mode.
GET
/
runs
Get runs
curl --request GET \
--url https://api.edges.run/v1/runs \
--header 'X-API-Key: <api-key>'const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.edges.run/v1/runs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.edges.run/v1/runs"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)[
{
"id": 123,
"uid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"scheduled_run_name": "<string>",
"action_id": 123,
"action_name": "<string>",
"retry_count": 0,
"user_uid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"workspace_uid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"execution_mode": "LIVE",
"last_error": {
"label": "<string>",
"message": "<string>",
"params": {}
},
"parameters": {
"sync_mode": "full"
},
"callback": {
"url": "<string>"
},
"status": "CREATED",
"output_count": 0,
"scheduled_run_uid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"started_at": "<string>",
"finished_at": "<string>",
"created_at": "<string>",
"updated_at": "<string>"
}
]{
"error_label": "<string>",
"error_scope": "input",
"error_ref": "ERR-12345",
"message": "<string>",
"status_code": 123,
"params": {},
"data": {}
}{
"error_label": "<string>",
"error_scope": "input",
"error_ref": "ERR-12345",
"message": "<string>",
"status_code": 123,
"params": {},
"data": {}
}uid is used for all the endpoints and Run manipulation.The id is an internal identifier returned to smooth and improve speed and accuracy if you have questions about your runs you will want
to submit to the team.Query Parameters
Response
Returns the runs
