Uploadsv1Customer Documents
Get customer upload history counts
Returns blame row counts per upload id for documents the caller may read.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
customer_id*string
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/uploads/customer/497f6eca-6276-4993-bfeb-53cbbbba6f08/history-counts"{
"counts": {
"property1": 0,
"property2": 0
}
}{
"status": 401,
"message": "Unauthorized",
"code": "common.unauthorized",
"class": "business"
}{
"status": 403,
"message": "No access to the record",
"code": "common.rbac_no_rec_access",
"class": "business"
}{
"status": 429,
"message": "Rate limit for 203.0.113.7 to /v1/uploads exceeded.",
"code": "rate_limits_m.exceeded",
"class": "temporary",
"retryable": true
}{
"status": 500,
"message": "Internal server error",
"code": "common.server_error",
"class": "business"
}{
"overall_status": "unhealthy",
"message": "Service is shutting down",
"timestamp": "2026-08-27T15:04:05Z"
}Get customer files of a specific type. The filter is read from the QUERY parameter file_type — GetAllFileInfoByCustomerIDAndFileType calls r.URL.Query().Get("file_type") and never reads the path segment, so a caller that fills only the path sends an empty filter. The path segment is still required by the route pattern.
Upload a new file