annotation

List Annotation Templates

Changed on

List all annotation templates for a project, each with its usage count.

Args: project_id: Project to list templates for, resolved from the URL. ctx: Async request context.

Returns: The project's annotation templates, including how many ratings reference each one.

get/v2/projects/{project_id}/annotation/templates

Request

  • Base URL
    https://api.galileo.ai
  • URL
    https://api.galileo.ai/v2/projects/{project_id}/annotation/templates
  • Auth
    • API key in header Splunk-AO-API-Key
    • or API key in header Galileo-API-Key
    • or OAuth 2
      Password
      Token URL: https://api.galileo.ai/login
    • or HTTP basic

Path parameters

project_idstring uuid4 required

Response

Successful Response

namestring required
include_explanationboolean required
criteriastring nullable
idstring uuid4 required
created_atstring date-time required
created_bystring uuid4 nullable required
positioninteger required
usage_countinteger required

Number of annotation ratings using the template.

Changes