---
title: "Function Run Get Metadata"
method: GET
path: "/functions/{function_id}/runs/{run_id}"
tags: ["functions"]
---

# Function Run Get Metadata

`GET /functions/{function_id}/runs/{run_id}`

## Path parameters

- `run_id` string, required
- `function_id` string, required

## Headers

- `x-notte-request-origin` string, nullable
- `x-notte-sdk-version` string, nullable

## Response `200`

Successful Response

- GetFunctionRunResponse
  - `function_id` string, required — The ID of the function
  - `function_run_id` string, required — The ID of the function run
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `status` 'closed' | 'active' | 'failed', required
  - `session_id` string, nullable — The ID of the session
  - `logs` string[] — The logs of the workflow run
  - `variables` object, nullable — The variables of the workflow run
  - `result` string, nullable — The result of the workflow run (if any)
  - `local` boolean — Whether the workflow has been run locally or on the cloud
  - `workflow_id` string, required
  - `workflow_run_id` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/notte/apis/notte-api.md) · [All operations](https://skmtc.net/notte/apis/notte-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/notte/notte-api/versions/8dda4e3d49cc/schema)
