> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tess.im/llms.txt
> Use this file to discover all available pages before exploring further.

# List Artifacts

> Lists the artifacts you created in the workspace, newest first. Paginated without a total: `meta.has_more` tells whether another page exists.

Authenticate with a Tess API token in the `Authorization: Bearer` header. See the [Artifacts API guide](https://docs.tess.im/en/artifacts-api.md) for the full flow, permissions and ownership rules.

### **Code Examples**

```http cURL theme={null}
curl --request GET \
  --url 'https://api.tess.im/artifacts' \
  --header 'Authorization: Bearer YOUR_API_KEY' \
  --header 'x-workspace-id: YOUR_WORKSPACE_ID'
```

```json Node.js theme={null}
const axios = require('axios');

const config = {
  method: 'get',
  url: 'https://api.tess.im/artifacts',
  headers: {
    'Authorization': 'Bearer YOUR_API_KEY',
    'x-workspace-id': 'YOUR_WORKSPACE_ID'
  }
};

try {
  const response = await axios(config);
  console.log(response.data);
} catch (error) {
  console.error(error);
}
```

```python Python theme={null}
import requests

url = "https://api.tess.im/artifacts"
headers = {
    "Authorization": "Bearer YOUR_API_KEY",
    "x-workspace-id": "YOUR_WORKSPACE_ID"
}

response = requests.get(url, headers=headers)
print(response.status_code)
print(response.json())
```

```php PHP theme={null}
<?php
$curl = curl_init();

curl_setopt_array($curl, [
  CURLOPT_URL => "https://api.tess.im/artifacts",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_CUSTOMREQUEST => "GET",
  CURLOPT_HTTPHEADER => [
    "Authorization: Bearer YOUR_API_KEY",
    "x-workspace-id: YOUR_WORKSPACE_ID"
  ]
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "Error: " . $err;
} else {
  echo $response;
}
```

```java Java theme={null}
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;

HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("https://api.tess.im/artifacts"))
    .header("Authorization", "Bearer YOUR_API_KEY")
    .header("x-workspace-id", "YOUR_WORKSPACE_ID")
    .GET()
    .build();

HttpResponse<String> response = client.send(request,
    HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
```

```go Go theme={null}
package main

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

func main() {
    client := &http.Client{}
    req, err := http.NewRequest("GET", "https://api.tess.im/artifacts", nil)
    if err != nil {
        fmt.Println(err)
        return
    }

    req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
    req.Header.Add("x-workspace-id", "YOUR_WORKSPACE_ID")

    resp, err := client.Do(req)
    if err != nil {
        fmt.Println(err)
        return
    }
    defer resp.Body.Close()

    body, err := ioutil.ReadAll(resp.Body)
    if err != nil {
        fmt.Println(err)
        return
    }

    fmt.Println(string(body))
}
```

```jsonnet .NET theme={null}
using System;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;

class Program
{
    static async Task Main(string[] args)
    {
        using (var client = new HttpClient())
        {
            client.DefaultRequestHeaders.Add("Authorization", "Bearer YOUR_API_KEY");
            client.DefaultRequestHeaders.Add("x-workspace-id", "YOUR_WORKSPACE_ID");

            var response = await client.GetAsync("https://api.tess.im/artifacts");
            string responseBody = await response.Content.ReadAsStringAsync();
            Console.WriteLine(responseBody);
        }
    }
}
```

```ruby Ruby theme={null}
require 'uri'
require 'net/http'
require 'json'

uri = URI('https://api.tess.im/artifacts')
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = true

request = Net::HTTP::Get.new(uri)
request['Authorization'] = 'Bearer YOUR_API_KEY'
request['x-workspace-id'] = 'YOUR_WORKSPACE_ID'

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

### **Query Parameters**

**page** `integer`

Page number for the first pages (default: 1, minimum: 1, maximum: 100). Use `cursor` to go deeper.

**per\_page** `integer`

Items per page (default: 15, minimum: 1, maximum: 50).

**cursor** `string`

`meta.next_cursor` from the previous page. When present, `page` is ignored.

### **Headers**

**x-workspace-id** `integer` *required*

Workspace ID. **Required as of 2026-09-01.** Until then, if omitted, the user's selected workspace is used (deprecated). After the cutoff, a missing header returns **422**.

### **Response**

**200**

```json theme={null}
{
  "data": [
    {
      "universal_id": "artifact_5d1f0c2e-8a3b-4c6d-9e7f-1a2b3c4d5e6f",
      "title": "Weekly pipeline",
      "version": 2,
      "created_at": "2026-11-17T14:02:11+00:00",
      "updated_at": "2026-11-17T14:05:40+00:00"
    },
    {
      "universal_id": "artifact_9b7e41a0-3c52-4d18-a6f4-0e5d2c8b1f37",
      "title": "Q4 board deck",
      "version": 1,
      "created_at": "2026-11-16T09:30:00+00:00",
      "updated_at": "2026-11-16T09:30:00+00:00"
    }
  ],
  "meta": {
    "current_page": 1,
    "per_page": 2,
    "has_more": true,
    "next_cursor": "artifact_9b7e41a0-3c52-4d18-a6f4-0e5d2c8b1f37"
  }
}
```

### **Response fields**

**data** `array`

Artifacts, newest first: `universal_id`, `title`, `version` (latest), `created_at`, `updated_at`.

**meta.current\_page** `integer`

Current page.

**meta.per\_page** `integer`

Items per page.

**meta.has\_more** `boolean`

Whether another page exists.

**meta.next\_cursor** `string | null`

Pass it as `cursor` to read the next page.

### **Errors**

| Status | Meaning |
| - | - |
| `401` | Missing or invalid API token. |
| `422` | Invalid pagination parameters. |
| `429` | Too many requests. Retry after a short wait. |


## OpenAPI

````yaml api-reference/tess-public-api.openapi.json GET /artifacts
openapi: 3.0.0
info:
  title: Tess API
  version: '0.1'
servers:
  - url: https://api.tess.im
security: []
paths:
  /artifacts:
    get:
      tags:
        - Artifacts
      summary: List artifacts
      description: >-
        Artifacts the token user created in the workspace, newest first.
        Paginated without a total: `meta.has_more` tells whether another page
        exists.
      operationId: 3de52bf17c6ec8ab1d3689adc06de70a
      parameters:
        - name: page
          in: query
          description: Offset paging for the first pages; use `cursor` to go deeper
          required: false
          schema:
            type: integer
            default: 1
            maximum: 100
            minimum: 1
        - name: cursor
          in: query
          description: >-
            `meta.next_cursor` of the previous page (keyset paging; `page` is
            then ignored)
          required: false
          schema:
            type: string
        - name: per_page
          in: query
          required: false
          schema:
            type: integer
            default: 15
            maximum: 50
            minimum: 1
        - name: x-workspace-id
          in: header
          description: >-
            Workspace id. If not provided, the user's selected workspace is
            used.
          required: false
          schema:
            type: integer
      responses:
        '200':
          description: One page of artifacts
          content:
            application/json:
              schema:
                properties:
                  data:
                    type: array
                    items:
                      properties:
                        universal_id:
                          type: string
                          example: artifact_0192f3a4-7b1c-7e2d-9a10-3c4d5e6f7a80
                        title:
                          type: string
                        version:
                          description: Head version
                          type: integer
                        created_at:
                          type: string
                          format: date-time
                          nullable: true
                        updated_at:
                          type: string
                          format: date-time
                          nullable: true
                      type: object
                  meta:
                    properties:
                      current_page:
                        type: integer
                      per_page:
                        type: integer
                      has_more:
                        type: boolean
                      next_cursor:
                        description: >-
                          Pass as `cursor` to get the next page; null on the
                          last page
                        type: string
                        nullable: true
                    type: object
                type: object
        '422':
          description: Invalid pagination parameters
        '429':
          description: Too many requests
      security:
        - token: []
components:
  securitySchemes:
    token:
      type: http
      bearerFormat: Bearer
      scheme: bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.