---
title: "One comment, whole"
---

> 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}/artifact-comments/{id}`

## Authentication

Requires one of the following:

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

## Path parameters

- `getArtifactComment.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}$`
- `getArtifactComment.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}$`
- `getArtifactComment.path.id` (string, required)

## Code samples

### cURL

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

### TypeScript

```typescript
const url = 'https://app.gitpando.com/v1/monorepos/string/string/artifact-comments/string';
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/artifact-comments/string"

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

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

print(response.text)
```

## Responses

### 200

The comment

#### Example

```json
{
  "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"
}
```

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


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