---
title: "Function Download Url"
method: GET
path: "/functions/{function_id}"
tags: ["functions"]
---

# Function Download Url

`GET /functions/{function_id}`

## Path parameters

- `function_id` string, required

## Query parameters

- `version` string, nullable
- `decryption_key` string, nullable — The decryption key for the function

## Headers

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

## Response `200`

Successful Response

- FunctionWithLinkResponse
  - `url` string, required — URL to download file from
  - `function_id` string, required — The ID of the function
  - `variables` ParameterInfo[], nullable — The variables to run the workflow with
    - `name` string, required
    - `type` string, nullable
    - `default` string, nullable
  - `created_at` string, date-time, required — The creation time of the workflow
  - `updated_at` string, date-time, required — The last update time of the workflow
  - `latest_version` string, required — The version of the workflow
  - `versions` string[], required — The versions of the workflow
  - `status` string, required — The status of the workflow
  - `name` string, nullable — The name of the workflow
  - `description` string, nullable — The description of the workflow
  - `shared` boolean — Whether the workflow is public and can beshared with other users
  - `reference_workflow_id` string, nullable — The ID of the reference workflow (i.e wether the workflow was forked from another workflow or not)
  - `published` boolean
  - `required_secrets` string[]
  - `workflow_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/246f6d21de0c/schema)
