Skip to content

Reads safe Auto history in newest-first order, using an authorized same-Queue opaque row Id cursor.

GET
/api/workspace/tasks/runtime/queues/{queueId}/selection/operations
curl --request GET \
--url 'https://example.com/api/workspace/tasks/runtime/queues/example/selection/operations?limit=25' \
--header 'Authorization: Bearer <token>'
queueId
required
string
before
string
limit
integer format: int32
default: 25
access_token
string

Optional access token for clients that cannot set Authorization headers. Prefer Authorization: Bearer <token> when possible.

OK

Media typeapplication/json
object
Data

A bounded safe Auto history page. NextCursor is an opaque row Id from this authorized Queue.

object
Items
Array<object>
nullable

Safe Queue operation summary. Task, Worker, selector context and payload identities are deliberately absent.

object
Id
string
nullable
Status

Durable Queue selection operation state. Pending includes bounded scan continuations.

integer format: int32
Allowed values: 0 1 2 3 4
Cause
string
nullable
PublishedVersionId
string
nullable
CorrelationId
string
nullable
ReasonCode
string
nullable
AttemptCount
integer format: int32
CanRetry
boolean
RequestedAtUtc
string format: date-time
CompletedAtUtc
string format: date-time
nullable
NextCursor
string
nullable
Errors
Array<object>
nullable
object
Code
required
string
nullable
Message
required
string
nullable
Target
string
nullable
Field
string
nullable
Metadata
object
key
additional properties
string
nullable
Type
integer format: int32
Allowed values: 0 1 2
Severity
integer format: int32
Allowed values: 0 1 2
Warnings
Array<object>
nullable
object
Code
required
string
nullable
Message
required
string
nullable
Target
string
nullable
Field
string
nullable
Metadata
object
key
additional properties
string
nullable
Type
integer format: int32
Allowed values: 0 1 2
Severity
integer format: int32
Allowed values: 0 1 2
Success
boolean
Example
{
"Data": {
"Items": [
{
"Status": 0
}
]
},
"Errors": [
{
"Type": 0,
"Severity": 0
}
],
"Warnings": [
{
"Type": 0,
"Severity": 0
}
]
}