Executions
Get execution
GET
/
api
/
v2
/
public
/
execution
/
:execution_id
curl --request GET \
--url https://api.gocobalt.io/api/v2/public/execution/:execution_id \
--header 'linked_account_id: <linked_account_id>' \
--header 'x-api-key: <x-api-key>'
{
"_id": "65410cf6cdf931a12d7ab009",
"createdAt": "2023-10-31T14:19:34.788Z",
"name": "Retry for workflow 65200cfd01af0388e905ad92",
"associated_application": {
"icon": "https://cobalt-app-logos.s3.ap-south-1.amazonaws.com/slack/logo.png",
"name": "Slack",
"_id": "64f6d9f33234d3d6419cfdbc"
},
"status": "ERRORED",
"associated_workflow": {
"_id": "64f7258e35b72267edc02589",
"name": "Post message to a channel",
"icon": ""
},
"environment": "test",
"config_id": "12345",
"associated_event_id": "6523dfdeffed0fb7e2c3b90e"
}
This api fetches an execution’s details.
Request description
Headers
linked_account_id
string
requiredUnique customer identification id. For Eg: markwood@some_email.com
Path Parameters
execution_id
string
requiredResponse description
200
401
_id
string
Execution Id
createdAt
string
Creation time
name
string
Execution name
associated_application
object
Associated application object
icon
string
Application icon
name
string
Application Name
_id_
string
Application Id
status
string
Execution status
associated_workflow
object
Associated workflow object
icon
string
Workflow icon
name
string
Workflow Name
_id_
string
Workflow Id
environment
string
Expected values: test
or production
config_id
string
associated_event_id
string
Associated event id
curl --request GET \
--url https://api.gocobalt.io/api/v2/public/execution/:execution_id \
--header 'linked_account_id: <linked_account_id>' \
--header 'x-api-key: <x-api-key>'
{
"_id": "65410cf6cdf931a12d7ab009",
"createdAt": "2023-10-31T14:19:34.788Z",
"name": "Retry for workflow 65200cfd01af0388e905ad92",
"associated_application": {
"icon": "https://cobalt-app-logos.s3.ap-south-1.amazonaws.com/slack/logo.png",
"name": "Slack",
"_id": "64f6d9f33234d3d6419cfdbc"
},
"status": "ERRORED",
"associated_workflow": {
"_id": "64f7258e35b72267edc02589",
"name": "Post message to a channel",
"icon": ""
},
"environment": "test",
"config_id": "12345",
"associated_event_id": "6523dfdeffed0fb7e2c3b90e"
}