# job

From **GitHub v3 REST API**.

Information of a job execution in a workflow run

- Type: `object`

## Properties

### `check_run_url`

- Required: true
- Type: `string`
- Example: `https://api.github.com/repos/github/hello-world/check-runs/4`

### `completed_at`

- Required: true
- Type: `string`
- Format: `date-time`
- Nullable: true
- Example: `2019-08-08T08:00:00-07:00`

The time that the job finished, in ISO 8601 format.

### `conclusion`

- Required: true
- Type: `string`
- Nullable: true
- Example: `success`

The outcome of the job.

### `head_sha`

- Required: true
- Type: `string`
- Example: `009b8a3a9ccbb128af87f9b1c0f4c62e8a304f6d`

The SHA of the commit that is being run.

### `html_url`

- Required: true
- Type: `string`
- Nullable: true
- Example: `https://github.com/github/hello-world/runs/4`

### `id`

- Required: true
- Type: `integer`
- Example: `21`

The id of the job.

### `name`

- Required: true
- Type: `string`
- Example: `test-coverage`

The name of the job.

### `node_id`

- Required: true
- Type: `string`
- Example: `MDg6Q2hlY2tSdW40`

### `run_attempt`

- Required: false
- Type: `integer`
- Example: `1`

Attempt number of the associated workflow run, 1 for first attempt and higher if the workflow was re-run.

### `run_id`

- Required: true
- Type: `integer`
- Example: `5`

The id of the associated workflow run.

### `run_url`

- Required: true
- Type: `string`
- Example: `https://api.github.com/repos/github/hello-world/actions/runs/5`

### `started_at`

- Required: true
- Type: `string`
- Format: `date-time`
- Example: `2019-08-08T08:00:00-07:00`

The time that the job started, in ISO 8601 format.

### `status`

- Required: true
- Type: `string`
- Example: `queued`
- Allowed values: `"queued"`, `"in_progress"`, `"completed"`

The phase of the lifecycle that the job is currently in.

### `steps`

- Required: false
- Type: `array`

Steps in this job.

### `url`

- Required: true
- Type: `string`
- Example: `https://api.github.com/repos/github/hello-world/actions/jobs/21`

## JSON Schema

```json
{"description":"Information of a job execution in a workflow run","properties":{"check_run_url":{"example":"https://api.github.com/repos/github/hello-world/check-runs/4","type":"string"},"completed_at":{"description":"The time that the job finished, in ISO 8601 format.","example":"2019-08-08T08:00:00-07:00","format":"date-time","nullable":true,"type":"string"},"conclusion":{"description":"The outcome of the job.","example":"success","nullable":true,"type":"string"},"head_sha":{"description":"The SHA of the commit that is being run.","example":"009b8a3a9ccbb128af87f9b1c0f4c62e8a304f6d","type":"string"},"html_url":{"example":"https://github.com/github/hello-world/runs/4","nullable":true,"type":"string"},"id":{"description":"The id of the job.","example":21,"type":"integer"},"name":{"description":"The name of the job.","example":"test-coverage","type":"string"},"node_id":{"example":"MDg6Q2hlY2tSdW40","type":"string"},"run_attempt":{"description":"Attempt number of the associated workflow run, 1 for first attempt and higher if the workflow was re-run.","example":1,"type":"integer"},"run_id":{"description":"The id of the associated workflow run.","example":5,"type":"integer"},"run_url":{"example":"https://api.github.com/repos/github/hello-world/actions/runs/5","type":"string"},"started_at":{"description":"The time that the job started, in ISO 8601 format.","example":"2019-08-08T08:00:00-07:00","format":"date-time","type":"string"},"status":{"description":"The phase of the lifecycle that the job is currently in.","enum":["queued","in_progress","completed"],"example":"queued","type":"string"},"steps":{"description":"Steps in this job.","items":{"properties":{"completed_at":{"description":"The time that the job finished, in ISO 8601 format.","example":"2019-08-08T08:00:00-07:00","format":"date-time","nullable":true,"type":"string"},"conclusion":{"description":"The outcome of the job.","example":"success","nullable":true,"type":"string"},"name":{"description":"The name of the job.","example":"test-coverage","type":"string"},"number":{"example":1,"type":"integer"},"started_at":{"description":"The time that the step started, in ISO 8601 format.","example":"2019-08-08T08:00:00-07:00","format":"date-time","nullable":true,"type":"string"},"status":{"description":"The phase of the lifecycle that the job is currently in.","enum":["queued","in_progress","completed"],"example":"queued","type":"string"}},"required":["name","status","conclusion","number"],"type":"object"},"type":"array"},"url":{"example":"https://api.github.com/repos/github/hello-world/actions/jobs/21","type":"string"}},"required":["id","node_id","run_id","run_url","head_sha","name","url","html_url","status","conclusion","started_at","completed_at","check_run_url"],"title":"Job","type":"object"}
```
