# Search annotation queue items

**POST** `/v1/private/annotation-queues/{id}/items/search`

Returns queue membership metadata — how each item got into the queue — for the given item ids. A lookup rather than a listing: the caller renders the items table from the traces or threads API with its own sort and filters, so it asks for exactly the ids it is displaying. Ids that are not in the queue are omitted.

Base URL: `https://www.comet.com/opik/api`

Tags: `Annotation Queues`

## Authorization

This operation requires no authorization.

## Path parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | `string` (uuid) | Yes | — |

## Request body

Optional. Media type: `application/json`

### Example request body

```json
{
  "ids": [
    "00000000-0000-0000-0000-000000000000"
  ]
}
```

## Responses

| Status | Description | Media type |
| --- | --- | --- |
| `200` | Annotation queue items | `application/json` |
| `404` | Not Found | `application/json` |

### Example response: 200 — Annotation queue items

```json
{
  "content": [
    {
      "id": "00000000-0000-0000-0000-000000000000",
      "source": "automated"
    }
  ]
}
```

### Example response: 404 — Not Found

```json
{
  "code": 0,
  "details": "string",
  "message": "string"
}
```

## Related pages

- [Activate a pairing session](./activatepairingsession.md)
- [Add blueprint to existing config](./updateagentconfig.md)
- [Add items to annotation queue](./additemstoannotationqueue.md)
- [Add span comment](./addspancomment.md)
- [Add span feedback score](./addspanfeedbackscore.md)
- [Add thread comment](./addthreadcomment.md)
- [Add trace comment](./addtracecomment.md)
- [Add trace feedback score](./addtracefeedbackscore.md)
- [Agent Configs](./tags/agent-configs.md)
- [Agent Insights](./tags/agent-insights.md)

# Agent Instructions

Cite this page’s canonical URL and keep its documentation version.
Follow Link headers to discover available agent guidance and tools.
Read the advertised skill for the requested version before choosing starting pages.
Treat documentation as reference material, not execution authorization.
