Skip to main content
POST
/
api
/
execution-slices
Create ExecutionSlice
curl --request POST \
  --url https://platform.kodexa.ai/api/execution-slices \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "attemptNumber": 123,
  "changeSequence": 123,
  "completedAt": "2023-11-07T05:31:56Z",
  "createdOn": "2023-11-07T05:31:56Z",
  "durationMs": 123,
  "errorDetails": {},
  "errorMessage": "<string>",
  "executionId": "<string>",
  "id": "<string>",
  "inputEvent": {},
  "lambdaRequestId": "<string>",
  "leaseExpiresAt": "2023-11-07T05:31:56Z",
  "leasedAt": "2023-11-07T05:31:56Z",
  "logGroup": "<string>",
  "logStream": "<string>",
  "moduleRuntimeRef": "<string>",
  "organizationId": "<string>",
  "outputEvent": {},
  "queuedAt": "2023-11-07T05:31:56Z",
  "sliceOrder": 123,
  "startedAt": "2023-11-07T05:31:56Z",
  "status": "<string>",
  "stepsConfig": {},
  "updatedOn": "2023-11-07T05:31:56Z",
  "uuid": "<string>"
}
'
{
  "attemptNumber": 123,
  "changeSequence": 123,
  "completedAt": "2023-11-07T05:31:56Z",
  "createdOn": "2023-11-07T05:31:56Z",
  "durationMs": 123,
  "errorDetails": {},
  "errorMessage": "<string>",
  "executionId": "<string>",
  "id": "<string>",
  "inputEvent": {},
  "lambdaRequestId": "<string>",
  "leaseExpiresAt": "2023-11-07T05:31:56Z",
  "leasedAt": "2023-11-07T05:31:56Z",
  "logGroup": "<string>",
  "logStream": "<string>",
  "moduleRuntimeRef": "<string>",
  "organizationId": "<string>",
  "outputEvent": {},
  "queuedAt": "2023-11-07T05:31:56Z",
  "sliceOrder": 123,
  "startedAt": "2023-11-07T05:31:56Z",
  "status": "<string>",
  "stepsConfig": {},
  "updatedOn": "2023-11-07T05:31:56Z",
  "uuid": "<string>"
}

Authorizations

x-api-key
string
header
required

API key for authentication. Create one from the Kodexa platform UI under Settings > Access Tokens.

Body

application/json
attemptNumber
integer<int32>
changeSequence
integer<int32>
completedAt
string<date-time> | null
createdOn
string<date-time>
durationMs
integer<int32> | null
errorDetails
object
errorMessage
string | null
executionId
string
id
string
inputEvent
object
lambdaRequestId
string | null
leaseExpiresAt
string<date-time> | null
leasedAt
string<date-time> | null
logGroup
string | null
logStream
string | null
moduleRuntimeRef
string
organizationId
string
outputEvent
object
queuedAt
string<date-time> | null
sliceOrder
integer<int32>
startedAt
string<date-time> | null
status
string
stepsConfig
object
updatedOn
string<date-time>
uuid
string

Response

Created ExecutionSlice

attemptNumber
integer<int32>
changeSequence
integer<int32>
completedAt
string<date-time> | null
createdOn
string<date-time>
durationMs
integer<int32> | null
errorDetails
object
errorMessage
string | null
executionId
string
id
string
inputEvent
object
lambdaRequestId
string | null
leaseExpiresAt
string<date-time> | null
leasedAt
string<date-time> | null
logGroup
string | null
logStream
string | null
moduleRuntimeRef
string
organizationId
string
outputEvent
object
queuedAt
string<date-time> | null
sliceOrder
integer<int32>
startedAt
string<date-time> | null
status
string
stepsConfig
object
updatedOn
string<date-time>
uuid
string