Executions_getExecution

Get an execution by id.

SecuritybearerAuth
Request
path Parameters
id
required
string

Execution id

query Parameters
sync
required
boolean

if true, wait for the execution to finish

Responses
200

Ok

get/executions/{id}
Request samples

service.executions.get(execution_id='execution_id')

# 
# Get Service execution object
# 
# **Prerequisites**: You must be in the role of an *owner* or *developer*. You must have a service.
# 
# :param str execution_id: execution id
# :param bool sync: if true, wait for the execution to finish
# :return: Service execution object
# :rtype: dtlpy.entities.execution.Execution
# 
# 
Response samples
application/json
{
  • "id": "string",
  • "url": "string",
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "creator": "string",
  • "attempts": 0,
  • "maxAttempts": 0,
  • "toTerminate": true,
  • "input": {
    },
  • "output": {
    },
  • "status": [
    ],
  • "statusLog": [
    ],
  • "latestStatus": {
    },
  • "duration": 0,
  • "projectId": "string",
  • "functionName": "string",
  • "serviceId": "string",
  • "triggerId": "string",
  • "serviceName": "string",
  • "moduleName": "string",
  • "packageId": "string",
  • "packageName": "string",
  • "packageRevision": { },
  • "serviceVersion": { },
  • "pipeline": {
    },
  • "model": {
    },
  • "syncReplyTo": {
    },
  • "eventContext": {
    }
}