openapi: 3.1.0
info:
title: API Reference subpackage_actions subpackage_prompts.subpackage_prompts/indicators API
version: 1.0.0
servers:
- url: http://localhost:8000
tags:
- name: subpackage_prompts.subpackage_prompts/indicators
paths:
/api/inference-runs/{id}/indicators/:
get:
operationId: list
summary: ✨ Get key indicators
description: " \n This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n \n
curl https://label-studio-host/api/projects -H "Authorization: Token [your-token]"'
required: true
schema:
type: string
responses:
'200':
description: Key indicators
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/ApiInferenceRunsIdIndicatorsGetResponsesContentApplicationJsonSchemaItems'
/api/inference-runs/{id}/indicators/{indicator_key}:
get:
operationId: get
summary: ✨ Get key indicator
description: "\n This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n
\ncurl https://label-studio-host/api/projects -H "Authorization: Token [your-token]"'
required: true
schema:
type: string
responses:
'200':
description: Key indicator
content:
application/json:
schema:
$ref: '#/components/schemas/LSEKeyIndicatorValue'
components:
schemas:
ApiInferenceRunsIdIndicatorsGetResponsesContentApplicationJsonSchemaItems:
type: object
properties:
title:
type: string
values:
$ref: '#/components/schemas/ApiInferenceRunsIdIndicatorsGetResponsesContentApplicationJsonSchemaItemsValues'
title: ApiInferenceRunsIdIndicatorsGetResponsesContentApplicationJsonSchemaItems
ApiInferenceRunsIdIndicatorsGetResponsesContentApplicationJsonSchemaItemsValues:
type: object
properties: {}
title: ApiInferenceRunsIdIndicatorsGetResponsesContentApplicationJsonSchemaItemsValues
LSEKeyIndicatorValue:
type: object
properties:
title:
type: string
description: The title for this metric, to be displayed to the user
values:
type: object
additionalProperties:
description: Any type
description: Dictionary of key-value pairs for the indicator values
required:
- title
- values
description: "Key indicator value for Label Studio Enterprise.\n\nAttributes:\n title: The title for this metric, to be displayed to the user\n values: Dictionary of key-value pairs for the indicator values"
title: LSEKeyIndicatorValue
securitySchemes:
Token:
type: apiKey
in: header
name: Authorization
description: '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]"'