---
title: "Get workflow execution"
method: GET
path: "/execution/{id}"
tags: ["executions"]
---

# Get workflow execution

`GET /execution/{id}`

Retrieve detailed information about a specific workflow execution

## Path parameters

- `id` string, required

## Response `200`

Workflow execution details

- DaemonExecutionStatePageData
  - `execution` GithubComThandIoAgentInternalModelsWorkflowExecutionInfo
    - `approved` boolean — nil = pending approval, true = approved, false = denied
    - `context` unknown
    - `duration` integer — Duration in seconds
    - `finished_at` string
    - `history` string[] — History of state transitions
    - `id` string
    - `identities` string[]
    - `input` unknown
    - `name` string — SearchAttributes are the custom search attributes associated with the workflow
    - `output` unknown
    - `providers` string[]
    - `reason` string
    - `role` string
    - `run` string
    - `started_at` string
    - `status` string
    - `task` string
    - `user` string
  - `workflow` ModelWorkflow
    - `do` ModelTaskItem[], required
    - `document` ModelDocument, required
      - `dsl` string, required
      - `metadata` object
      - `name` string, required
      - `namespace` string, required
      - `summary` string
      - `tags` object
      - `title` string
      - `version` string, required
    - `input` ModelInput
      - `from` ModelObjectOrRuntimeExpr
      - `schema` ModelSchema
        - `document` unknown
        - `format` string
        - `resource` ModelExternalResource
          - `endpoint` ModelEndpoint, required
          - `name` string
    - `output` ModelOutput
      - `as` ModelObjectOrRuntimeExpr
      - `schema` ModelSchema
        - `document` unknown
        - `format` string
        - `resource` ModelExternalResource
          - `endpoint` ModelEndpoint, required
          - `name` string
    - `schedule` ModelSchedule
      - `after` ModelDuration
      - `cron` string
      - `every` ModelDuration
      - `on` ModelEventConsumptionStrategy
        - `all` ModelEventFilter[]
          - `correlate` object — Keyed correlation filters
          - `with` ModelEventProperties, required
            - `datacontenttype` string
            - `dataschema` ModelURITemplateOrRuntimeExpr
            - `id` string
            - `source` ModelURITemplateOrRuntimeExpr
            - `subject` string
            - `time` ModelStringOrRuntimeExpr
            - `type` string
        - `any` ModelEventFilter[]
          - `correlate` object — Keyed correlation filters
          - `with` ModelEventProperties, required
            - `datacontenttype` string
            - `dataschema` ModelURITemplateOrRuntimeExpr
            - `id` string
            - `source` ModelURITemplateOrRuntimeExpr
            - `subject` string
            - `time` ModelStringOrRuntimeExpr
            - `type` string
        - `one` ModelEventFilter
          - `correlate` object — Keyed correlation filters
          - `with` ModelEventProperties, required
            - `datacontenttype` string
            - `dataschema` ModelURITemplateOrRuntimeExpr
            - `id` string
            - `source` ModelURITemplateOrRuntimeExpr
            - `subject` string
            - `time` ModelStringOrRuntimeExpr
            - `type` string
        - `until` ModelEventConsumptionUntil
    - `timeout` ModelTimeoutOrReference
    - `use` ModelUse
      - `authentications` object
      - `catalogs` object
      - `errors` object
      - `extensions` ModelExtensionItem[]
      - `functions` ModelNamedTaskMap
      - `retries` object
      - `secrets` string[]
      - `timeouts` object

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `500` — Internal server error

---

[API](https://skmtc.dev/thand-io/apis/thand-agent-api.md) · [All operations](https://skmtc.dev/thand-io/apis/thand-agent-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/thand-io/thand-agent-api/revisions/e76e9fea1cf9/schema)
