cURL
curl --request GET \ --url https://app.kapso.ai/api/v1/functions/{function_id}/secrets \ --header 'X-API-Key: <api-key>'
{ "data": { "secrets": [ { "name": "API_KEY", "type": "secret_text" }, { "name": "DATABASE_URL", "type": "secret_text" } ] } }
Lists all secrets configured for a function. Only secret names are returned - values are never exposed. The function must be deployed to have secrets.
API key required for all endpoints
List of secrets
Show child attributes