Durable Functions

List a durable execution's messages from an application

Changed on

Lists the messages sent to and published by an execution, oldest first. Pass the last seq you read as after to read only what came next; that is how a client catches up after a live subscription reconnects.

Access follows the same rules as sending.

get/durable-functions/{functionId}/executions/{executionId}/messages

Request

  • Base URL
    https://api.volcano.dev
  • Auth
    • HTTP bearer
    • or HTTP bearer
    • or HTTP bearer

Path parameters

functionId, string required

Durable function ID, or its name within the project

executionId, string uuid required

Durable execution ID

Query parameters

direction, 'in' | 'out'

in is a message sent to the execution. out is one the execution published.

Return only messages travelling this way.

name, string

The name a workflow waits on or publishes under: up to 237 printable ASCII characters.

Return only messages with this name.

after, integer

Return only messages whose seq is greater than this.

limit, integer

Most messages to return.

Headers

X-Volcano-Client-Token, string

The client_token the execution's start returned. Lets an anon key, or a user who did not start the execution, reach it, and a service key scoped to a list without * read and stop it.

Response

Successful response

DurableMessageList required
data, DurableMessage[] required

Messages after after, oldest first.

has_more, boolean required

Whether more messages follow. Read them with after set to the last message's seq.

Changes