---
title: "Get durable function by ID or name"
method: GET
path: "/projects/{id}/durable-functions/{functionId}"
tags: ["Durable Functions"]
---

# Get durable function by ID or name

`GET /projects/{id}/durable-functions/{functionId}`

## Request

- Base URL: `https://api.volcano.dev`
- URL: `https://api.volcano.dev/projects/{id}/durable-functions/{functionId}`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

## Path parameters

- `id` string, uuid, required
- `functionId` string, required

## Response `200`

Successful response

- DurableFunction: A durable function. Separate from `Function` because a durable function is invoked only through its own execution endpoints, so it has no invocation mode, HTTP auth mode, OpenAPI document or invoke URL, and it carries a `durable` configuration that a standard function has no field for.
  - `id` string, uuid, required
  - `project_id` string, uuid, required
  - `name` string, required
  - `status` 'provisioning' | 'active' | 'failed' | 'deleting', required
  - `provisioning_started_at` string, date-time: Timestamp when the current provisioning phase started
  - `visibility` 'private' | 'authenticated' | 'public', required: Who may start executions of this function through `POST /durable-functions/{functionId}/executions`, and read and stop them through `GET /durable-functions/{functionId}/executions/{executionId}` and its `/stop`: service keys at every level (a scoped key needs `functions.invoke`), signed-in users of the project from `authenticated`, and anon keys holding `functions.invoke` only at `public`. On the read and stop routes a service key holding `*`, the default, reaches every execution. A service key scoped to a list without `*` and an anon key reach the ones whose client token they send, which the start returns, and a signed-in user also the ones they started. The project-scoped routes under `/projects/{id}/durable-functions` take the project owner's token or a project access token, whatever this is set to. Set it when the function is deployed. Durable functions have no update endpoint, so changing visibility later means redeploying. A durable function is startable, never invocable: it is not reachable through `POST /functions/{functionId}/invoke` or a function URL, which answer `404` at every level.
  - `is_public` boolean, required: Deprecated. `true` exactly when `visibility` is `public`.
  - `durable` DurableFunctionConfig, required: Execution limits the function was created with, derived from the project's plan. Fixed for the life of the function: changing them means creating a new one. The memory the function runs at, and the timeout on one attempt within an execution, also come from the plan but are not reported here: they are applied to the deployed function rather than recorded on it. Both are published per plan in the plans and limits guide.
    - `execution_timeout_seconds` integer, required: How long a whole execution may run, including time suspended in a wait. This is not a limit on one attempt: an execution outlives any single attempt by checkpointing and resuming, and the per-attempt timeout is the plan's own, smaller number.
    - `retention_days` integer, required: How long a finished execution's result and history are retained, for as long as the function exists. Deleting the function, or its project, ends retention early and takes the history with it. A result or error Volcano has just read is kept in memory for up to five minutes, so a read can still return it for up to five minutes after retention ends.
  - `deployed_regions` string[], required: Regions where this function is currently deployed
  - `runtime` string
  - `handler` string
  - `current_deployment_id` string, uuid: Identifier of the latest deployment operation
  - `pending_deployment_id` string, uuid: Newest queued deployment that will run after the current operation
  - `last_invoked_at` string, date-time: Most recent successful invocation timestamp
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `404`: Durable function not found

## Changes

- **2026-10-26** `4b0676e06128`: 1 info
  - the endpoint scheme security `ProjectAccessToken` was added to the API
- **2026-10-07** `23e7875e7c4c`: 2 info
  - response property `is_public` deprecated
  - added the required property `visibility` to the response with the `200` status
- **2026-09-19** `3a6f365f3f35`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/kong/apis/volcano-api/changes/projects/:id/durable-functions/:functionId/get.md)

---

[API](https://skmtc.dev/kong/apis/volcano-api.md) - [All operations](https://skmtc.dev/kong/apis/volcano-api/llms.txt) - [OpenAPI document](https://skmtc.dev/kong/apis/volcano-api/revisions/84c4488f91e9?raw)
