---
title: "List Functions"
method: GET
path: "/functions"
tags: ["functions"]
---

# List Functions

`GET /functions`

## Query parameters

- `page` integer — Page number
- `page_size` integer — Number of items per page
- `only_active` boolean — Whether to only return active sessions
- `only_current_token` boolean — Whether to only return sessions for the current token (apikey)
- `include_system` boolean — Whether to include internal system sessions

## Headers

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

## Response `200`

Successful Response

- PaginatedResponseFunctionResponse
  - `items` FunctionResponse[], required
    - `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
  - `page` integer, required
  - `page_size` integer, required
  - `has_next` boolean, required
  - `has_previous` boolean, 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/revisions/246f6d21de0c/schema)
