# Workflow Run ## Get workflow run status `client.WorkflowRun.Status(ctx, runID) (*WorkflowRunStatusResponse, error)` **get** `/v1/workflowRun/{runId}/status` Returns the current status of a workflow run. ### Parameters - `runID string` Unique identifier of the workflow run. ### Returns - `type WorkflowRunStatusResponse struct{…}` - `Status string` Current status of the workflow run (e.g. `running`, `completed`, `failed`). ### Example ```go package main import ( "context" "fmt" "github.com/Lightfld/lightfield-go" "github.com/Lightfld/lightfield-go/option" ) func main() { client := githubcomlightfldlightfieldgo.NewClient( option.WithAPIKey("My API Key"), ) workflowRunStatusResponse, err := client.WorkflowRun.Status(context.TODO(), "runId") if err != nil { panic(err.Error()) } fmt.Printf("%+v\n", workflowRunStatusResponse.Status) } ``` #### Response ```json { "status": "status" } ``` ## Domain Types ### Workflow Run Status Response - `type WorkflowRunStatusResponse struct{…}` - `Status string` Current status of the workflow run (e.g. `running`, `completed`, `failed`).