Skip to navigation

✨ Get GCP custom metric code

Get the GCP Cloud Function code for the custom metric configured for this project.

Authentication

AuthorizationToken

The token (or API key) must be passed as a request header. You can find your user token on the User Account page in Label Studio. Example:

curl https://label-studio-host/api/projects -H "Authorization: Token [your-token]"

Path parameters

idintegerRequired

Response

Cloud Function code and deployment status
codestring
statusenum