client.jobs.post_runs

A method of the Jobs endpoint.

post_runs(id: int) Response

Run a job

API URL: POST /jobs/{id}/runs

import civis
client = civis.APIClient()
response = client.jobs.post_runs(...)
Parameters:
idint

The ID for this job.

Returns:
civis.Response
  • id : int

  • statestr

    The state of the run. One of queued, running, succeeded, failed or cancelled.

  • created_atstr (time)

    The time that the run was queued.

  • started_atstr (time)

    The time that the run started.

  • finished_atstr (time)

    The time that the run completed.

  • errorstr

    The error message for this run, if present.