[Документация Yandex Cloud](../../../../../index.md) > [Yandex Serverless Integrations](../../../../index.md) > Справочник API Workflows > [gRPC (англ.)](../index.md) > [Workflow](index.md) > Get

# Workflows Service, gRPC: WorkflowService.Get

Retrieves specified Workflow.

## gRPC request

**rpc Get ([GetWorkflowRequest](#yandex.cloud.serverless.workflows.v1.GetWorkflowRequest)) returns ([GetWorkflowResponse](#yandex.cloud.serverless.workflows.v1.GetWorkflowResponse))**

## GetWorkflowRequest {#yandex.cloud.serverless.workflows.v1.GetWorkflowRequest}

```json
{
  "workflow_id": "string"
}
```

#|
||Field | Description ||
|| workflow_id | **string**

Required field. ID of the Workflow. ||
|#

## GetWorkflowResponse {#yandex.cloud.serverless.workflows.v1.GetWorkflowResponse}

```json
{
  "workflow": {
    "id": "string",
    "folder_id": "string",
    "specification": {
      // Includes only one of the fields `spec_yaml`
      "spec_yaml": "string"
      // end of the list of possible fields
    },
    "created_at": "google.protobuf.Timestamp",
    "name": "string",
    "description": "string",
    "labels": "map<string, string>",
    "status": "Status",
    "log_options": {
      "disabled": "bool",
      // Includes only one of the fields `log_group_id`, `folder_id`
      "log_group_id": "string",
      "folder_id": "string",
      // end of the list of possible fields
      "min_level": "Level"
    },
    "network_id": "string",
    "service_account_id": "string",
    "express": "bool",
    "schedule": {
      "cron_expression": "string",
      "timezone": "string"
    },
    "is_public": "bool",
    "execution_url": "string"
  }
}
```

#|
||Field | Description ||
|| workflow | **[Workflow](#yandex.cloud.serverless.workflows.v1.Workflow)**

Required field. Workflow properties. ||
|#

## Workflow {#yandex.cloud.serverless.workflows.v1.Workflow}

#|
||Field | Description ||
|| id | **string**

Required field. ID of the Workflow. Generated at creation time. ||
|| folder_id | **string**

Required field. ID of the folder that the Workflow belongs to. ||
|| specification | **[WorkflowSpecification](#yandex.cloud.serverless.workflows.v1.WorkflowSpecification)**

Required field. Specification of the Workflow ||
|| created_at | **[google.protobuf.Timestamp](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#timestamp)**

Required field. Creation timestamp for the Workflow. ||
|| name | **string**

Required field. Name of the Workflow. The name is unique within the folder. ||
|| description | **string**

Description of the Workflow. ||
|| labels | **object** (map<**string**, **string**>)

Workflow labels as `key:value` pairs. ||
|| status | enum **Status**

Required field. Status of the Workflow.

- `CREATING`: Workflow is being created.
- `ACTIVE`: Workflow is ready for use.
- `UPDATING`: Workflow is being updated.
- `DELETING`: Workflow is being deleted.
- `ERROR`: Workflow failed. The only allowed action is delete. ||
|| log_options | **[LogOptions](#yandex.cloud.serverless.workflows.v1.LogOptions)**

Options for logging from the Workflow. ||
|| network_id | **string**

ID of the VPC network Workflow will be executed in, in order to access private resources. ||
|| service_account_id | **string**

ID of the Service Account which will be used for resource access in Workflow execution. ||
|| express | **bool**

Express execution mode. ||
|| schedule | **[WorkflowSchedule](#yandex.cloud.serverless.workflows.v1.WorkflowSchedule)**

Workflow schedule settings. ||
|| is_public | **bool**

Ability of the Workflow to be executed without authentication. ||
|| execution_url | **string**

Execution URL of the Workflow. ||
|#

## WorkflowSpecification {#yandex.cloud.serverless.workflows.v1.WorkflowSpecification}

#|
||Field | Description ||
|| spec_yaml | **string**

Workflow specification in YAML format.

Includes only one of the fields `spec_yaml`. ||
|#

## LogOptions {#yandex.cloud.serverless.workflows.v1.LogOptions}

#|
||Field | Description ||
|| disabled | **bool**

Is logging from Workflow disabled. ||
|| log_group_id | **string**

ID of the logging group which should be used for Workflows logs.

Includes only one of the fields `log_group_id`, `folder_id`. ||
|| folder_id | **string**

ID of the folder which default logging group should be used for Workflows.

Includes only one of the fields `log_group_id`, `folder_id`. ||
|| min_level | enum **Level**

Minimum logs level.
See [LogLevel.Level](../../../../../logging/api-ref/grpc/Export/get.md#yandex.cloud.logging.v1.LogLevel.Level) for details.

- `TRACE`: Trace log level.
Possible use case: verbose logging of some business logic.
- `DEBUG`: Debug log level.
Possible use case: debugging special cases in application logic.
- `INFO`: Info log level.
Mostly used for information messages.
- `WARN`: Warn log level.
May be used to alert about significant events.
- `ERROR`: Error log level.
May be used to alert about errors in infrastructure, logic, etc.
- `FATAL`: Fatal log level.
May be used to alert about unrecoverable failures and events. ||
|#

## WorkflowSchedule {#yandex.cloud.serverless.workflows.v1.WorkflowSchedule}

#|
||Field | Description ||
|| cron_expression | **string**

Required field. Cron expression for the Workflow schedule.

The maximum string length in characters is 100. ||
|| timezone | **string**

Required field. Timezone for the Workflow schedule. ||
|#