> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.morphiaone.ai/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.morphiaone.ai/_mcp/server.

# List the caller's Jobs

GET https://api.morphiaone.ai/v1/jobs

Summaries of the caller's jobs, newest first: `(created_at, id)` descending, a
total order. The window is the jobs `GET /v1/jobs/{job_id}` still answers:
accepted, not deleted, and not past `expires_at` -- the last 24 hours by
default. Older history is in `GET /v1/usage`. A `JobListItem` carries no
`output`; read a job's result with `GET /v1/jobs/{job_id}`. The list is served
from the durable job record and may trail the poll briefly; the poll is
authoritative. `status` and `operation` repeat (`status=queued&status=running`);
every other parameter appears at most once. Pages are chained with
`next_cursor`, which is opaque and bound to this query's filters and to the
caller: send it back with the same filters (any `limit`), or the answer is
`400 INVALID_CURSOR`. An unknown or repeated parameter, or a value out of range,
is `400 INVALID_REQUEST` naming the parameter. Served only where list endpoints
are enabled for your environment. Requires no product scope.

Reference: https://docs.morphiaone.ai/api-reference/endpoints/jobs/list

## Authentication

- `X-API-Key` header (required) — API key for one environment of your account. Keep server-side; never expose in browser clients.

## Request

### Query parameters

- `limit` (string, optional, nullable) — Page size, an integer 1-100 (default 20).
- `cursor` (string, optional, nullable) — `next_cursor` of the previous page.
- `status` (list of string, optional, nullable) — Only jobs in this status; repeatable.
- `operation` (list of string, optional, nullable) — Only jobs of this operation; repeatable.
- `created_gte` (string, optional, nullable) — Created at or after this RFC 3339 instant.
- `created_lt` (string, optional, nullable) — Created before this RFC 3339 instant.
- `idempotency_key` (string, optional, nullable) — Only the job this Idempotency-Key created.
- `asset_id` (string, optional, nullable) — Only jobs with this asset among their inputs.

## Response

### 200

A page of the caller's jobs, newest first

- `data` (list of JobListItem, required)
- `has_more` (boolean, required)
- `next_cursor` (string, required, nullable)

## Errors

### 400 Bad Request Error

Invalid list parameter or cursor

- `error` (ErrorDetail, required)

### 401 Unauthorized Error

Missing API key

- `error` (ErrorDetail, required)

### 403 Forbidden Error

Invalid API key

- `error` (ErrorDetail, required)

### 429 Too Many Requests Error

Rate limited

- `error` (ErrorDetail, required)

### 500 Internal Server Error

Unexpected server error

- `error` (ErrorDetail, required)

### 503 Service Unavailable Error

Durable job record unavailable

- `error` (ErrorDetail, required)

## Types

### JobListItem

One `GET /v1/jobs` item: a summary of a Job, never the Job. No `output` and therefore no `href`: full detail is `GET /v1/jobs/{id}`. The list may trail the poll briefly; the poll is authoritative. `completed_at` is nullable without a state invariant on purpose: a terminal status whose completion instant the durable row has not recorded yet is a list item with `completed_at` null, never a 500. `error_code` is the failed job's public code, null when it is not known yet.

- `completed_at` (datetime, required, nullable)
- `created_at` (datetime, required)
- `error_code` (string, required, nullable)
- `expires_at` (datetime, required)
- `id` (string, required)
- `inputs` (list of JobInputRef, required)
- `operation` (string, required)
- `status` (enum, required)
  - Allowed values: `queued`, `running`, `succeeded`, `failed`, `cancelled`
- `updated_at` (datetime, required)
- `livemode` (boolean, optional)

### ErrorDetail

- `code` (string, required)
- `message` (string, required)
- `request_id` (string, required)
- `details` (ErrorDetailDetails, optional)
- `doc_url` (string, optional, nullable)
- `retryable` (boolean, optional, nullable)

### JobInputRef

One input as a job reports it: an open role and a tolerant shape.

- `asset_id` (string, required)
- `role` (string, required)

### ErrorDetailDetails

## Examples

**Response**

```json
{
  "data": [
    {
      "completed_at": "2026-10-04T09:14:07.410000Z",
      "created_at": "2026-10-04T09:14:03.120000Z",
      "error_code": null,
      "expires_at": "2026-10-05T09:14:03.120000Z",
      "id": "job_01j9zk3q8xw7v2m4n6p0r5t1ab",
      "inputs": [
        {
          "asset_id": "asset_31j9zk2v5s0q8r3t6w9y1b4c7d",
          "role": "source"
        }
      ],
      "operation": "makeup.apply",
      "status": "succeeded",
      "updated_at": "2026-10-04T09:14:07.410000Z"
    },
    {
      "completed_at": "2026-10-04T09:02:13.900000Z",
      "created_at": "2026-10-04T09:02:11Z",
      "error_code": "INPUT_UNPROCESSABLE",
      "expires_at": "2026-10-05T09:02:11Z",
      "id": "job_01j9zjz1d4f6h8k0m2p4r6t8vw",
      "inputs": [
        {
          "asset_id": "asset_31j9zjyx0a2c4e6g8j0k2n4q6s",
          "role": "source"
        }
      ],
      "operation": "skin.analyze",
      "status": "failed",
      "updated_at": "2026-10-04T09:02:13.900000Z"
    }
  ],
  "has_more": true,
  "next_cursor": "c1.eyJmIjoiMDAyMjJjMzQ0NjIyZDViYyIsImsiOiJqb2JfMDFqOXpqejFkNGY2aDhrMG0ycDRyNnQ4dnciLCJzIjoiMjAyNi0xMC0wNFQwOTowMjoxMS4wMDAwMDBaIn0"
}
```

**SDK Code**

```python Jobs_list_example
import requests

url = "https://api.morphiaone.ai/v1/jobs"

headers = {"X-API-Key": "<apiKey>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript Jobs_list_example
const url = 'https://api.morphiaone.ai/v1/jobs';
const options = {method: 'GET', headers: {'X-API-Key': '<apiKey>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Jobs_list_example
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.morphiaone.ai/v1/jobs"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("X-API-Key", "<apiKey>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Jobs_list_example
require 'uri'
require 'net/http'

url = URI("https://api.morphiaone.ai/v1/jobs")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<apiKey>'

response = http.request(request)
puts response.read_body
```

```java Jobs_list_example
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.morphiaone.ai/v1/jobs")
  .header("X-API-Key", "<apiKey>")
  .asString();
```

```php Jobs_list_example
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.morphiaone.ai/v1/jobs', [
  'headers' => [
    'X-API-Key' => '<apiKey>',
  ],
]);

echo $response->getBody();
```

```csharp Jobs_list_example
using RestSharp;

var client = new RestClient("https://api.morphiaone.ai/v1/jobs");
var request = new RestRequest(Method.GET);
request.AddHeader("X-API-Key", "<apiKey>");
IRestResponse response = client.Execute(request);
```

```swift Jobs_list_example
import Foundation

let headers = ["X-API-Key": "<apiKey>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.morphiaone.ai/v1/jobs")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```