Amplitude · JSON Structure

Http V2 Api Upload Response Structure

UploadResponse schema from Amplitude HTTP V2 API

Type: object Properties: 4
A/B TestingAnalyticsExperimentationFeature FlagsProduct AnalyticsUser Behavior

UploadResponse is a JSON Structure definition published by Amplitude, describing 4 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

code events_ingested payload_size_bytes server_upload_time

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amplitude/refs/heads/main/json-structure/http-v2-api-upload-response-structure.json",
  "name": "UploadResponse",
  "description": "UploadResponse schema from Amplitude HTTP V2 API",
  "type": "object",
  "properties": {
    "code": {
      "type": "int32",
      "description": "The HTTP status code of the response.",
      "example": 200
    },
    "events_ingested": {
      "type": "int32",
      "description": "The number of events successfully ingested."
    },
    "payload_size_bytes": {
      "type": "int32",
      "description": "The size of the request payload in bytes."
    },
    "server_upload_time": {
      "type": "int64",
      "description": "The time the server received the upload in milliseconds since epoch."
    }
  }
}