Galileo Annotations API

The Annotations API from Galileo — 2 operation(s) for annotations.

Documentation

Specifications

Other Resources

OpenAPI Specification

galileo-ai-annotations-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Galileo Public Annotations API
  version: v2
  description: 'Best-effort OpenAPI 3.1 description of the Galileo (galileo.ai) public

    REST API for projects, datasets, experiments, traces, prompts, integrations,

    annotations, and groups. Generated from the public OpenAPI index at

    https://api.galileo.ai/public/v2/openapi.json; not an official copy.

    '
  contact:
    name: Galileo Developer Docs
    url: https://docs.galileo.ai/
servers:
- url: https://api.galileo.ai
  description: Galileo hosted production
security:
- apiKeyHeader: []
- bearerAuth: []
- basicAuth: []
tags:
- name: Annotations
paths:
  /v2/projects/{project_id}/annotation/templates:
    parameters:
    - $ref: '#/components/parameters/ProjectId'
    get:
      tags:
      - Annotations
      operationId: listAnnotationTemplates
      responses:
        '200':
          $ref: '#/components/responses/Ok'
    post:
      tags:
      - Annotations
      operationId: createAnnotationTemplate
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Object'
      responses:
        '201':
          $ref: '#/components/responses/Ok'
  /v2/projects/{project_id}/annotation/ratings:
    parameters:
    - $ref: '#/components/parameters/ProjectId'
    post:
      tags:
      - Annotations
      operationId: createAnnotationRatings
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Object'
      responses:
        '200':
          $ref: '#/components/responses/Ok'
components:
  responses:
    Ok:
      description: Successful response
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Object'
  schemas:
    Object:
      type: object
      additionalProperties: true
  parameters:
    ProjectId:
      in: path
      name: project_id
      required: true
      schema:
        type: string
  securitySchemes:
    apiKeyHeader:
      type: apiKey
      in: header
      name: Galileo-API-Key
    bearerAuth:
      type: http
      scheme: bearer
      description: OAuth 2.0 password bearer (JWT) issued by /v2/token
    basicAuth:
      type: http
      scheme: basic