annotation_queues

Get the annotation queue item count

Changed on

Returns the number of annotation queue items in one status bucket. The two time windows are independent: start_time/end_time bound when an item was archived, min_start_time/max_start_time bound when its trace ran. Items with no trace start time are excluded when either of the latter is set.

get/api/v1/platform/annotation-queues/{queue_id}/items/count

Request

  • Base URL
    https://api.smith.langchain.com
  • URL
    https://api.smith.langchain.com/api/v1/platform/annotation-queues/{queue_id}/items/count
  • Auth
    • API key in header X-API-Key
    • or API key in header X-Tenant-Id
    • or HTTP bearer

Path parameters

queue_idstring required

Queue ID

Query parameters

statusstring required

Count bucket: all, needs_my_review, needs_others_review, or archived.

start_timestring

Archived strictly after this time. Only used when status=archived

end_timestring

Archived strictly before this time. Only used when status=archived

min_start_timestring date-time

Trace started at or after this time

max_start_timestring date-time

Trace started at or before this time

Response

OK

countinteger

Changes