---
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` GithubComThandIoAgentInternalModelsIdentity[]
      - `group` GithubComThandIoAgentInternalModelsGroup
        - `email` string — Email is the email address associated with the group (e.g., a mailing list).
        - `id` string — ID is the unique identifier for the group.
        - `name` string — Name is the human-readable name of the group.
        - `parent` string — Parent is the ID of the parent group, if any.
      - `id` string — ID is the unique identifier for this identity. This will most likely be an email for users or a group name for groups. This will be used to tie identities across providers.
      - `label` string — Label is a human-readable name or description for this identity.
      - `providers` object — The providers this identity is associated with Format is map[provider_name]provider_type
      - `tenant` string — Tenant represents the tenant or organization this identity belongs to. This is useful for multi-tenant systems where identities are scoped to specific tenants.
      - `user` GithubComThandIoAgentInternalModelsUser
        - `email` string — Email is the user's email address, often used as a primary identifier.
        - `groups` string[] — Groups is a list of group names or IDs that this user belongs to.
        - `id` string — ID is the unique identifier for the user.
        - `name` string — Name is the user's full display name.
        - `source` string — Source identifies the identity provider or system where this user originated.
        - `username` string — Username is the user's login name or handle.
        - `verified` boolean — Verified indicates whether the user's identity has been verified.
    - `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.net/thand-io/apis/thand-agent-api.md) · [All operations](https://skmtc.net/thand-io/apis/thand-agent-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/thand-io/thand-agent-api/revisions/62befb178368/schema)
