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