Yandex Cloud
Search
Contact UsGet started
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • AI for business
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
© 2025 Direct Cursus Technology L.L.C.
Yandex Serverless Integrations
  • Comparison with other Yandex Cloud services
  • Pricing policy
  • Terraform reference
    • API authentication
      • Overview
        • Overview
        • Start
        • Stop
        • Terminate
        • Get
        • GetHistory
        • List
  • Monitoring metrics
  • Public materials
  • Release notes

In this article:

  • gRPC request
  • GetExecutionHistoryRequest
  • GetExecutionHistoryResponse
  • ExecutionPreview
  • HistoryEntry
  • HistoryEntryInput
  • HistoryEntryOutput
  • HistoryEntryError
  1. Workflows API reference
  2. gRPC
  3. Execution
  4. GetHistory

Workflows Service, gRPC: ExecutionService.GetHistory

Written by
Yandex Cloud
Updated at November 26, 2024
  • gRPC request
  • GetExecutionHistoryRequest
  • GetExecutionHistoryResponse
  • ExecutionPreview
  • HistoryEntry
  • HistoryEntryInput
  • HistoryEntryOutput
  • HistoryEntryError

Retrieves detailed history of specified Workflow execution.

gRPC requestgRPC request

rpc GetHistory (GetExecutionHistoryRequest) returns (GetExecutionHistoryResponse)

GetExecutionHistoryRequestGetExecutionHistoryRequest

{
  "execution_id": "string"
}

Field

Description

execution_id

string

Required field. ID of the Workflow execution.

GetExecutionHistoryResponseGetExecutionHistoryResponse

{
  "execution": {
    "id": "string",
    "workflow_id": "string",
    "status": "Status",
    "started_at": "google.protobuf.Timestamp",
    "duration": "google.protobuf.Duration"
  },
  "entries": [
    {
      "id": "string",
      "title": "string",
      "description": "string",
      "started_at": "google.protobuf.Timestamp",
      "duration": "google.protobuf.Duration",
      "input": {
        // Includes only one of the fields `input_json`
        "input_json": "string"
        // end of the list of possible fields
      },
      "output": {
        // Includes only one of the fields `output_json`
        "output_json": "string"
        // end of the list of possible fields
      },
      "error": {
        "message": "string",
        "error_code": "string"
      },
      "status": "Status",
      "type": "string",
      "attempts": "int64",
      "last_error": {
        "message": "string",
        "error_code": "string"
      }
    }
  ]
}

Field

Description

execution

ExecutionPreview

Workflow execution details.

entries[]

HistoryEntry

Workflow execution detailed history items.

ExecutionPreviewExecutionPreview

Field

Description

id

string

ID of the Workflow execution. Generated at creation time.

workflow_id

string

ID of the Workflow.

status

enum Status

Status of the Workflow execution

  • STATUS_UNSPECIFIED
  • QUEUED: Workflow execution is being queued.
  • RUNNING: Workflow execution is running.
  • PAUSED: Workflow execution is being paused.
  • STOPPED: Workflow execution is stopped.
  • FAILED: Workflow execution is failed.
  • FINISHED: Workflow execution is finished.

started_at

google.protobuf.Timestamp

Start timestamp for the Workflow execution.

duration

google.protobuf.Duration

Duration of the Workflow execution.

HistoryEntryHistoryEntry

Field

Description

id

string

ID of the Workflow step.

title

string

Title of the Workflow step.

description

string

Description of the Workflow step.

started_at

google.protobuf.Timestamp

Start timestamp for the Workflow step.

duration

google.protobuf.Duration

Duration of the Workflow step.

input

HistoryEntryInput

Input data for the Workflow step.

output

HistoryEntryOutput

Result of the Workflow step.

error

HistoryEntryError

Error details, in case Workflow step failed.

status

enum Status

Status of the Workflow step.

  • STATUS_UNSPECIFIED
  • SCHEDULED: Step execution is being scheduled.
  • STARTED: Step execution is started.
  • COMPLETED: Step execution is completed.
  • FAILED: Step execution is failed.
  • CANCEL_REQUESTED: Step execution is requested to be cancelled.
  • CANCELLED: Step execution is canceled.

type

string

Type of the Workflow step (for example, FunctionCall or HttpCall).

attempts

int64

Number of attempts (including all retries of unsuccessful attempts). Value "1" means there were no retries.

last_error

HistoryEntryError

Last received error details in case of retries.

HistoryEntryInputHistoryEntryInput

Field

Description

input_json

string

JSON input data for the Workflow step.

Includes only one of the fields input_json.

HistoryEntryOutputHistoryEntryOutput

Field

Description

output_json

string

JSON result for the Workflow step.

Includes only one of the fields output_json.

HistoryEntryErrorHistoryEntryError

Field

Description

message

string

Error message of the Workflow step.

error_code

string

Error code of the Workflow step.

Was the article helpful?

Previous
Get
Next
List
© 2025 Direct Cursus Technology L.L.C.