> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Workflow

Gets a specific workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.

<Note>
  External Documentation

  To learn more, visit the [GitHub documentation](https://docs.github.com/rest/reference/actions#get-a-workflow).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter   | Description                                                                                                                                    |
  | ----------- | ---------------------------------------------------------------------------------------------------------------------------------------------- |
  | Owner       | The account owner of the repository. The name is not case sensitive.                                                                           |
  | Repo        | The name of the repository. The name is not case sensitive.                                                                                    |
  | Workflow ID | The ID of the workflow. You can also pass the workflow file name as a string.<br />Can be obtained via the `List Repository Workflows` action. |
</div>

## Example Output

```json theme={"dark"}
{
	"id": 83958502,
	"node_id": "<string>",
	"name": "<string>",
	"path": "<string>",
	"state": "<string>",
	"created_at": "2021-10-28T16:05:50Z",
	"updated_at": "2021-10-28T16:05:50Z",
	"url": "<string>",
	"html_url": "<string>",
	"badge_url": "<string>"
}
```

## Workflow Library Example

[Get Workflow with Github and Send Results Via Email](https://library.blinkops.com/workflows/get-workflow-with-github-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/get-workflow-with-github-and-send-results-via-email/canvas" />
</div>
