Overview
/
Developer Tools
/
API Reference
/
Executor
/
Submit an execution job.

Submit an execution job

Billing: No usage charge

Header parameters

  • Idempotency-Key

    string
    //

HTTP Request

  • application/json

    //
    • :

      [[ ... ]
      //
      • string
      ],
    • compute_profile_id:

      string,
      //
    • runtime_id:

      string,
      //
    • timeout_seconds:

      numberint64,
      //
    • :

      {{ ... }
      //
      • [key]:

        string
      },
    • :

      [[ ... ]
      //
      • //
        • artifact_id:

          stringUUID,
          //
        • path:

          string
          //
        }
      ],
    • :

      [[ ... ]
      //
      • //
        • path:

          string,
          //
        • required:

          boolean
          //
        }
      ]
    }

Response

  • 201 Created
    • //
      • active_attempt:

        numberint64,
        //
      • completed_at:

        stringISO-8601,
        //
      • compute_profile_id:

        string,
        //
      • created_at:

        stringISO-8601,
        //
      • execution_ended_at:

        stringISO-8601,
        //
      • id:

        stringUUID,
        //
      • runtime_id:

        string,
        //
      • started_at:

        stringISO-8601,
        //
      • state_version:

        numberint64,
        //
      • timeout_seconds:

        numberint64,
        //
      • updated_at:

        stringISO-8601,
        //
      • status:

        "queued"+8â–¾
        • //Waiting for an orchestrator to claim the job.
          "queued"
        • //Allocating isolated compute and staging inputs.
          "provisioning"
        • //Customer code is running.
          "running"
        • //Cancellation has been requested and compute is being terminated.
          "canceling"
        • //Outputs, logs, and trusted usage are being finalized.
          "finalizing"
        • //The job was canceled.
          "canceled"
        • //The job exceeded its requested timeout.
          "timed_out"
        • //The command and output finalization succeeded.
          "succeeded"
        • //The job failed.
          "failed"
        //
      }

Examples

post
/execution/jobs
201 Created
Response