Get durable function by ID or name
Changed onRequest
- Base URLhttps://api.volcano.dev
- Auth
- HTTP bearer
- or HTTP bearer
Path parameters
Project ID
Durable function ID, or its name within the project
Response
Successful response
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.
Timestamp when the current provisioning phase started
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.
Deprecated. true exactly when visibility is public.
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.
Regions where this function is currently deployed
Identifier of the latest deployment operation
Newest queued deployment that will run after the current operation
Most recent successful invocation timestamp
Changes
- info
the endpoint scheme security
ProjectAccessTokenwas added to the API
- info
- info
response property
is_publicdeprecated - info
added the required property
visibilityto the response with the status
- info