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/public/v2/projects/{project_id}/annotation/templates
Request
- Base URLhttps://api.galileo.ai
- Auth
- API key in header Splunk-AO-API-Key
- or API key in header Galileo-API-Key
- or OAuth 2PasswordToken URLhttps://api.galileo.ai/login
- or HTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
project_idstring uuid4 required
Request body
Response
Successful Response
Changes
- info
the endpoint scheme security
ClassicAPIKeyHeaderwas added to the API
- info