Functions
List function secrets
Retrieve all secret names configured for this function. Secret values are NEVER included in list responses for security.
Secrets are injected as environment variables when your function executes. Use this endpoint to:
- Audit which secrets are configured
- Verify secret names before creating new ones
- Check secret types (text, json, inherited)
Important: If the function is not deployed, this endpoint returns an empty array. Secrets can only be managed for deployed functions.
Secret values are only returned once when creating a secret via POST /functions/{id}/secrets. After creation, values cannot be retrieved - only the secret name and type are visible.
get/functions/{function_id}/secrets
Request
- Base URLhttps://api.kapso.ai/platform/v1
- AuthAPI key in header X-API-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
Secrets retrieved successfully (values not included)
Changes
No recorded changes to this operation across all 1 revision of this API.