v76

OpenAPI 3.0.3raw.githubusercontent.com2026-08-015764591.5 MB
Projects

✨ Get custom metric code

<Card href="https://humansignal.com/goenterprise"> <img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/> <p style="margin-top: 10px; font-size: 14px;"> This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise) </p> </Card> Get the custom metric function code for this project. The server routes to the active cloud provider (AWS Lambda or GCP Cloud Functions) based on the CUSTOM_METRIC_PROVIDER setting.
get/api/projects/{id}/custom-function

Path parameters

idinteger required

Response

Function code and deployment status

codestring required
status'NotDeployed' | 'Active' | 'Pending' | 'Failed' | 'NotFound' | 'Error' required