# Jobs

> Source: https://developers.cloud66.com/v3/endpoints/jobs/

## List Jobs

URL: https://developers.cloud66.com/v3/endpoints/jobs/#list
Endpoint: GET /stacks/:stack_id/jobs
OAuth scope: public

Get list of all jobs of a stack.

**Related models:** Job, Pagination

### Parameters

- `stack_id` (string, required) — The stack UID

### Response

```json
{
  "response": [
    {
      "id": 1,
      "name": "database_cleanup",
      "command": "bundle exec rake db:cleanup",
      "run_on": "all_servers",
      "created_at": "2014-08-29T17:21:25Z",
      "updated_at": "2014-08-29T17:21:25Z"
    }
  ],
  "count": 1,
  "pagination": {
    "previous": null,
    "next": null,
    "current": 1,
    "per_page": 30,
    "count": 1,
    "pages": 1
  }
}
```
