Amplitude · Schema

UpdateAnnotationRequest

UpdateAnnotationRequest schema from Amplitude Chart Annotations API

A/B TestingAnalyticsExperimentationFeature FlagsProduct AnalyticsUser Behavior

Properties

Name Type Description
label string The updated display label for the annotation.
date string The updated date in YYYY-MM-DD format.
end_date string The updated end date in YYYY-MM-DD format.
details string Updated additional details or notes.
category string The updated category.
chart_id integer The updated chart ID.
View JSON Schema on GitHub

JSON Schema

chart-annotations-api-update-annotation-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amplitude/refs/heads/main/json-schema/chart-annotations-api-update-annotation-request-schema.json",
  "title": "UpdateAnnotationRequest",
  "description": "UpdateAnnotationRequest schema from Amplitude Chart Annotations API",
  "type": "object",
  "properties": {
    "label": {
      "type": "string",
      "description": "The updated display label for the annotation.",
      "maxLength": 255
    },
    "date": {
      "type": "string",
      "format": "date",
      "description": "The updated date in YYYY-MM-DD format."
    },
    "end_date": {
      "type": "string",
      "format": "date",
      "description": "The updated end date in YYYY-MM-DD format."
    },
    "details": {
      "type": "string",
      "description": "Updated additional details or notes."
    },
    "category": {
      "type": "string",
      "description": "The updated category."
    },
    "chart_id": {
      "type": "integer",
      "description": "The updated chart ID."
    }
  }
}