---
title: "Get Python Function Version"
method: GET
path: "/workflow/python-functions/{function_id}/versions/{version_hash}"
tags: ["workflow-python-functions"]
---

# Get Python Function Version

`GET /workflow/python-functions/{function_id}/versions/{version_hash}`

## Request

- Base URL: `https://api.anyreach.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.anyreach.ai/workflow/python-functions/{function_id}/versions/{version_hash}`
- Auth: HTTP bearer

One version, source included.

## Path parameters

- `function_id` string, uuid, required
- `version_hash` string, required

## Headers

- `x-anyreach-org` string, nullable: Organization ID for user PATs (pat_ prefix tokens)

## Response `200`

Successful Response

- PythonFunctionVersionSchema
  - `id` string, uuid, required
  - `function_id` string, uuid, required
  - `function_name` string, required
  - `hash` string, required
  - `dependencies` object
  - `packages` string[]
  - `signature` string, nullable
  - `parameters` string[]
  - `timeout_ms` integer, nullable
  - `memory_mb` integer, nullable
  - `status` 'active' | 'revoked', required
  - `effective_status` 'active' | 'revoked', required
  - `replaced_by` string, uuid, nullable
  - `revoked_by` string, nullable
  - `revoked_at` string, date-time, nullable
  - `revoked_reason` string, nullable
  - `revoked_until` string, date-time, nullable
  - `created_at` string, date-time, required
  - `created_by` string, nullable
  - `source` string, nullable

## Other responses

- `404`: Not found
- `422`: Validation Error

---

[API](https://skmtc.dev/anyreach/apis/anyreach-api.md) - [All operations](https://skmtc.dev/anyreach/apis/anyreach-api/llms.txt) - [OpenAPI document](https://skmtc.dev/anyreach/apis/anyreach-api/revisions/2eddf40c8c93?raw)
