Add runs to an annotation queue with the specified queue ID.
The second argument is either:
RunKey[] (preferred): each entry carries the run's full lookup key, so
it can be located directly without a scan. Required for workspaces served
by SmithDB; routes to POST /runs/by-key.string[]: a plain list of run IDs. Deprecated: this path will be
removed after Jan 31, 2027; prefer the key form. Routes to POST /runs.
See https://docs.langchain.com/langsmith/smithdb-sdk-migration#annotation-queues-add-runs.If every element is a string (or the list is empty) it is treated as run
IDs; otherwise the list is treated as RunKey objects.
| Name | Type | Description |
|---|---|---|
queueId* | string | The ID of the annotation queue |
runs* | string[] | RunKey[] | Either a list of run IDs (deprecated) or a list of run keys. |