Skip to main content

list operations with filters

POST 

/org/:orgId/v2/operation/list

List or search Temporal workflow operations with flexible filter expressions.

Request

Path Parameters

    orgId stringrequired

    Organization ID

Body

required

Supports logical operators (and/or) and comparison operators (=, !=, in, not_in).

    oneOf

    filter

    object

    Filter expression for querying workflows. Supports nested logical operators (and/or) and comparison operators (=, !=, in, not_in). Example: {"operator": "and", "args": [{"operator": "=", "field": "SugerService", "value": "Marketplace"}, {"operator": "=", "field": "SugerPartner", "value": "AWS"}]}

    args undefined[]

    Args for logical operators (and, or)

    field TemporalWorkflowAttr (string)

    Possible values: [SugerOrgId, SugerScope, SugerPartner, SugerPartnerId, SugerService, SugerEntityId, SugerAction, ParentWorkflowId, ParentRunId, ExecutionStatus]

    Field is temporal workflow filter field

    operator string

    Operator: "=", "!=", "in", "not_in", "and", "or"

    value

    Value for single value operators (=, !=, etc)

    values undefined[]

    Values for array operators (in, not_in)

    limit integer

    Limit the number of results returned (1-100), default 100

    offsetToken string

    OffsetToken for pagination, use nextOffsetToken from previous response

Responses

OK

Schema

    offsetToken string

    operations

    object[]

  • Array [

  • childWorkflowOperations undefined[]

    Only populated if it has child workflows. Otherwise it is nil.

    endTime date-time
    id string

    Operation ID.

    memo

    object

    property name* any
    message string
    name string
    runId string

    Run ID.

    startTime date-time
    status string
    type OperationType (string)

    Possible values: [TemporalWorkflow]

  • ]

Loading...