Reference
Scheduler Service
Create Job Execution

Create Job Execution API

Use this API to trigger a job in a Flightcontrol managed scheduler service.

API Description

MethodPath
POST/v1/services/{serviceId}/job/{jobGivenId}/execution
Headers
Authorization[API key]
Parameters
ParameterTypeDescription
serviceIdstringThe service unique id.
jobGivenIdstringThe job given id.

Full Endpoint URL https://api.flightcontrol.dev/v1/services/{serviceGivenId}/job/{jobGivenId}/trigger

Body
ParameterRequiredTypeDescription
startCommandOptionalstring or string[]The job's configured startCommand will be used if not provided.

Response Example

{
  "jobExecutionId": "cl2kx7acm00003f6gobvidq2i"
}

The response will contain the jobExecutionId which is the id of the triggered job execution.

Response Conditions

Success

Errors