---
title: "Its threads on every version"
---

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

Path: Pando API › artifacts

`GET /v1/monorepos/{owner}/{monorepo}/artifacts/{id}/comments`

## Authentication

Requires one of the following:

- `credential`, http, header `Authorization`
- `session`, apiKey, in cookie

## Path parameters

- `listArtifactThreads.path.owner` (string, required) — The monorepo's owner, a namespace (a person's login or an organization). Matched without case.
  - pattern `^[a-z0-9](?:[a-z0-9]|-(?=[a-z0-9])){0,38}$`
- `listArtifactThreads.path.monorepo` (string, required) — The monorepo's name within its owner (or an old name). Matched without case.
  - pattern `^[a-z0-9](?:[a-z0-9._]|-(?!-)){0,38}$`
- `listArtifactThreads.path.id` (string, required)

## Query parameters

- `listArtifactThreads.query.state` (string, optional)
  - one of `"open"`, `"resolved"`, `"all"`; default `"all"`

## Code samples

### cURL

```curl
curl --request GET \
  --url https://app.gitpando.com/v1/monorepos/string/string/artifacts/string/comments \
  --header 'Authorization: Bearer <token>'
```

### TypeScript

```typescript
const url = 'https://app.gitpando.com/v1/monorepos/string/string/artifacts/string/comments';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://app.gitpando.com/v1/monorepos/string/string/artifacts/string/comments"

headers = {"Authorization": "Bearer <token>"}

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

print(response.text)
```

## Responses

### 200

Threads oldest first; counts are of all

#### Example

```json
{
  "threads": [
    {
      "id": "string",
      "artifact": "string",
      "version": 0,
      "thread": "string",
      "in_reply_to": "string",
      "anchor": null,
      "body": "string",
      "body_version": 0,
      "author": "string",
      "machine": "string",
      "mentions": [
        "string"
      ],
      "state": "open",
      "resolved_by": "string",
      "resolved_at": "2019-08-24T14:15:22Z",
      "created_at": "2019-08-24T14:15:22Z",
      "updated_at": "2019-08-24T14:15:22Z",
      "replies": [
        {
          "id": "string",
          "artifact": "string",
          "version": 0,
          "thread": "string",
          "in_reply_to": "string",
          "anchor": null,
          "body": "string",
          "body_version": 0,
          "author": "string",
          "machine": "string",
          "mentions": [
            "string"
          ],
          "state": "open",
          "resolved_by": "string",
          "resolved_at": "2019-08-24T14:15:22Z",
          "created_at": "2019-08-24T14:15:22Z",
          "updated_at": "2019-08-24T14:15:22Z"
        }
      ]
    }
  ],
  "counts": {
    "open": 0,
    "resolved": 0
  }
}
```

- `listArtifactThreads.response.200.threads` (array<unknown>, required)
  - `listArtifactThreads.response.200.threads.id` (string, required)
  - `listArtifactThreads.response.200.threads.artifact` (string, required)
  - `listArtifactThreads.response.200.threads.version` (integer, required) — The version it was made on.
  - `listArtifactThreads.response.200.threads.thread` (string, required) — The root's id.
  - `listArtifactThreads.response.200.threads.in_reply_to` (string | null, required)
  - `listArtifactThreads.response.200.threads.anchor` (unknown, required) — Plannotator's placing fields and Pando's context, opaque; null: the whole artifact. Roots only.
  - `listArtifactThreads.response.200.threads.body` (string | null, required) — Null once deleted.
  - `listArtifactThreads.response.200.threads.body_version` (integer, required)
  - `listArtifactThreads.response.200.threads.author` (string, required)
  - `listArtifactThreads.response.200.threads.machine` (string | null, required)
  - `listArtifactThreads.response.200.threads.mentions` (array<string>, required)
  - `listArtifactThreads.response.200.threads.state` (string, required)
    - one of `"open"`, `"resolved"`
  - `listArtifactThreads.response.200.threads.resolved_by` (string | null, required)
  - `listArtifactThreads.response.200.threads.resolved_at` (string | null, required)
    - format `date-time`
  - `listArtifactThreads.response.200.threads.created_at` (string, required)
    - format `date-time`
  - `listArtifactThreads.response.200.threads.updated_at` (string, required)
    - format `date-time`
  - `listArtifactThreads.response.200.threads.replies` (array<object>, required)
    - `listArtifactThreads.response.200.threads.replies.id` (string, required)
    - `listArtifactThreads.response.200.threads.replies.artifact` (string, required)
    - `listArtifactThreads.response.200.threads.replies.version` (integer, required) — The version it was made on.
    - `listArtifactThreads.response.200.threads.replies.thread` (string, required) — The root's id.
    - `listArtifactThreads.response.200.threads.replies.in_reply_to` (string | null, required)
    - `listArtifactThreads.response.200.threads.replies.anchor` (unknown, required) — Plannotator's placing fields and Pando's context, opaque; null: the whole artifact. Roots only.
    - `listArtifactThreads.response.200.threads.replies.body` (string | null, required) — Null once deleted.
    - `listArtifactThreads.response.200.threads.replies.body_version` (integer, required)
    - `listArtifactThreads.response.200.threads.replies.author` (string, required)
    - `listArtifactThreads.response.200.threads.replies.machine` (string | null, required)
    - `listArtifactThreads.response.200.threads.replies.mentions` (array<string>, required)
    - `listArtifactThreads.response.200.threads.replies.state` (string, required)
      - one of `"open"`, `"resolved"`
    - `listArtifactThreads.response.200.threads.replies.resolved_by` (string | null, required)
    - `listArtifactThreads.response.200.threads.replies.resolved_at` (string | null, required)
      - format `date-time`
    - `listArtifactThreads.response.200.threads.replies.created_at` (string, required)
      - format `date-time`
    - `listArtifactThreads.response.200.threads.replies.updated_at` (string, required)
      - format `date-time`
- `listArtifactThreads.response.200.counts` (object, required)
  - `listArtifactThreads.response.200.counts.open` (integer, required)
  - `listArtifactThreads.response.200.counts.resolved` (integer, required)


Source: https://docs.gitpando.com/api/artifacts/listArtifactThreads/index.md
