# create_annotation_queue

> **Method** in `langsmith`

📖 [View in docs](https://reference.langchain.com/python/langsmith/client/Client/create_annotation_queue)

Create an annotation queue on the LangSmith API.

## Signature

```python
create_annotation_queue(
    self,
    *,
    name: str,
    description: Optional[str] = None,
    queue_id: Optional[ID_TYPE] = None,
    rubric_instructions: Optional[str] = None,
    rubric_items: Optional[list[ls_schemas.AnnotationQueueRubricItem]] = None,
) -> ls_schemas.AnnotationQueueWithDetails
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `name` | `str` | Yes |  The name of the annotation queue. |
| `description` | `Optional[str]` | No |  The description of the annotation queue. (default: `None`) |
| `queue_id` | `Optional[Union[UUID, str]]` | No |  The ID of the annotation queue. (default: `None`) |
| `rubric_instructions` | `Optional[str]` | No |  The rubric instructions for the annotation queue. (default: `None`) |
| `rubric_items` | `Optional[list[AnnotationQueueRubricItem]]` | No |  The feedback configs to assign to this queue's rubric. Each item specifies a feedback_key and optional per-queue customization like description and value_descriptions. (default: `None`) |

## Returns

`ls_schemas.AnnotationQueueWithDetails`

The created annotation queue object.

---

[View source on GitHub](https://github.com/langchain-ai/langsmith-sdk/blob/ce9e9e8973442b33e98ec3ce1b9c2dd3f58a43a7/python/langsmith/client.py#L8256)