v1

latestOpenAPI 3.1.02026-07-22115189303.8 KB
Functions

Retrieve function

Get complete details for a serverless function including code, configuration, deployment status, and computed URLs.

Use this endpoint to:

  • Review function code before updating
  • Check deployment status and version
  • Get endpoint URL for external invocation
  • Retrieve runtime configuration
get/functions/{function_id}

Response

Function details retrieved successfully

Example response

{
  "data": {
    "slug": "calculate-shipping-cost",
    "endpoint_url": "https://api.kapso.ai/platform/v1/functions/{function_id}/invoke"
  }
}