# jobs (/ats/reference/queries/jobs)

The workspace's jobs, oldest first.

```graphql
jobs(
  after: String
  before: String
  filter: JobFilter
  first: Int
  last: Int
): JobConnection!
```

### Arguments [#arguments]

#### [`jobs.after`](#after) · [`String`](/ats/reference/scalars/string) `scalar` [#after]
Return the rows that follow this cursor.

#### [`jobs.before`](#before) · [`String`](/ats/reference/scalars/string) `scalar` [#before]
Return the rows that come before this cursor.

#### [`jobs.filter`](#filter) · [`JobFilter`](/ats/reference/inputs/job-filter) `input` [#filter]
Narrow the list. Left out, every job is returned, whatever its status.

#### [`jobs.first`](#first) · [`Int`](/ats/reference/scalars/int) `scalar` [#first]
How many rows to return, from the start or from `after`. 50 when left out, 200 at most.

#### [`jobs.last`](#last) · [`Int`](/ats/reference/scalars/int) `scalar` [#last]
How many rows to return, counting back from the end or from `before`. 200 at most.

### Type [#type]

#### [`JobConnection`](/ats/reference/objects/job-connection) `object` [#jobconnection-object]
A page of jobs.