annotation
Create Annotation Template
Changed onCreate an annotation template for a GenAI project.
Args: project: The project to create the template in, resolved from the URL. annotation_template_create: Name, criteria, and rating constraints for the template. ctx: Async request context.
Returns: The created annotation template.
Raises: HTTPException: 400 if the project is not a GenAI project, or if a template with this name already exists for the project.
post/v2/projects/{project_id}/annotation/templates
Request
- Base URLhttps://api.galileo.ai
- URLhttps://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 2PasswordToken URL: https://api.galileo.ai/login
- or HTTP basic
Path parameters
project_idstring uuid4 required
Request body
Response
Successful Response
Changes
- info
the endpoint scheme security
ClassicAPIKeyHeaderwas added to the API
- info