Skip to main content
POST
/
functions
/
{function_id}
/
deploy
Deploy or redeploy a function
curl --request POST \
  --url https://app.kapso.ai/api/v1/functions/{function_id}/deploy \
  --header 'X-API-Key: <api-key>'
{
  "message": "Deployment started",
  "function_id": "function-123abc",
  "status": "deployed"
}

Authorizations

X-API-Key
string
header
required

API key required for all endpoints

Path Parameters

function_id
string<uuid>
required

Response

Deployment initiated successfully

message
string

Status message indicating deployment or redeployment

Example:

"Deployment started"

function_id
string<uuid>
Example:

"function-123abc"

status
enum<string>

Current status of the function

Available options:
draft,
deployed,
error
Example:

"deployed"

I