Import a CSV of usage events
Use to submit a CSV of usage events for async ingestion. The CSV must already have been uploaded to the Flexprice-managed imports bucket (currently via CSV Box) — pass the upload_id and the backend fetches the file from S3 and streams rows into ClickHouse. Returns the task ID and Temporal workflow IDs for polling.
Request body
Response
OK
Changes
Changed in 7 of the 110 revisions of this API.242124
- ○
endpoint added
endpoint-added
- ○
- ▲
api removed without deprecation
api-removed-without-deprecation
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ●
added the new
not_implementedenum value to thecoderesponse property for the response status400response-property-enum-value-added
- ●
added the new
not_implementedenum value to thecoderesponse property for the response status500response-property-enum-value-added
- ●
- ▲
request property
file_typewas restricted to a list of enum valuesrequest-property-became-enum
- ▲
request property
task_typewas restricted to a list of enum valuesrequest-property-became-enum
- ▲
the
file_typerequest property type/format changed from/tostring/request-property-type-changed
- ▲
the
task_typerequest property type/format changed from/tostring/request-property-type-changed
- ▲
the
file_typeresponse's property type/format changed from/tostring/for status202response-property-type-changed
- ▲
the
statusresponse's property type/format changed from/tostring/for status202response-property-type-changed
- ▲
the
task_statusresponse's property type/format changed from/tostring/for status202response-property-type-changed
- ▲
the
task_typeresponse's property type/format changed from/tostring/for status202response-property-type-changed
- ●
added the new
COMPLETEDenum value to thetask_statusresponse property for the response status202response-property-enum-value-added
- ●
added the new
CSVenum value to thefile_typeresponse property for the response status202response-property-enum-value-added
- ●
added the new
EXPORTenum value to thetask_typeresponse property for the response status202response-property-enum-value-added
- ●
added the new
FAILEDenum value to thetask_statusresponse property for the response status202response-property-enum-value-added
- ●
added the new
IMPORTenum value to thetask_typeresponse property for the response status202response-property-enum-value-added
- ●
added the new
JSONenum value to thefile_typeresponse property for the response status202response-property-enum-value-added
- ●
added the new
PENDINGenum value to thetask_statusresponse property for the response status202response-property-enum-value-added
- ●
added the new
PROCESSINGenum value to thetask_statusresponse property for the response status202response-property-enum-value-added
- ●
added the new
archivedenum value to thestatusresponse property for the response status202response-property-enum-value-added
- ●
added the new
deletedenum value to thestatusresponse property for the response status202response-property-enum-value-added
- ●
added the new
publishedenum value to thestatusresponse property for the response status202response-property-enum-value-added
- ○
added the new
CSVenum value to the request propertyfile_typerequest-property-enum-value-added
- ○
added the new
EXPORTenum value to the request propertytask_typerequest-property-enum-value-added
- ○
added the new
IMPORTenum value to the request propertytask_typerequest-property-enum-value-added
- ○
added the new
JSONenum value to the request propertyfile_typerequest-property-enum-value-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
removed the enum value
CSVof the request propertyfile_typerequest-property-enum-value-removed
- ▲
removed the enum value
EXPORTof the request propertytask_typerequest-property-enum-value-removed
- ▲
removed the enum value
IMPORTof the request propertytask_typerequest-property-enum-value-removed
- ▲
removed the enum value
JSONof the request propertyfile_typerequest-property-enum-value-removed
- ▲
the
file_typerequest property type/format changed fromstring/to/request-property-type-changed
- ▲
the
task_typerequest property type/format changed fromstring/to/request-property-type-changed
- ▲
the
completed_atresponse's property type/format changed fromstring/date-timetostring/for status202response-property-type-changed
- ▲
the
created_atresponse's property type/format changed fromstring/date-timetostring/for status202response-property-type-changed
- ▲
the
failed_atresponse's property type/format changed fromstring/date-timetostring/for status202response-property-type-changed
- ▲
the
file_typeresponse's property type/format changed fromstring/to/for status202response-property-type-changed
- ▲
the
started_atresponse's property type/format changed fromstring/date-timetostring/for status202response-property-type-changed
- ▲
the
statusresponse's property type/format changed fromstring/to/for status202response-property-type-changed
- ▲
the
task_statusresponse's property type/format changed fromstring/to/for status202response-property-type-changed
- ▲
the
task_typeresponse's property type/format changed fromstring/to/for status202response-property-type-changed
- ▲
the
updated_atresponse's property type/format changed fromstring/date-timetostring/for status202response-property-type-changed
- ○
removed the
COMPLETEDenum value from thetask_statusresponse property for the response status202response-property-enum-value-removed
- ○
removed the
CSVenum value from thefile_typeresponse property for the response status202response-property-enum-value-removed
- ○
removed the
EXPORTenum value from thetask_typeresponse property for the response status202response-property-enum-value-removed
- ○
removed the
FAILEDenum value from thetask_statusresponse property for the response status202response-property-enum-value-removed
- ○
removed the
IMPORTenum value from thetask_typeresponse property for the response status202response-property-enum-value-removed
- ○
removed the
JSONenum value from thefile_typeresponse property for the response status202response-property-enum-value-removed
- ○
removed the
PENDINGenum value from thetask_statusresponse property for the response status202response-property-enum-value-removed
- ○
removed the
PROCESSINGenum value from thetask_statusresponse property for the response status202response-property-enum-value-removed
- ○
removed the
archivedenum value from thestatusresponse property for the response status202response-property-enum-value-removed
- ○
removed the
deletedenum value from thestatusresponse property for the response status202response-property-enum-value-removed
- ○
removed the
publishedenum value from thestatusresponse property for the response status202response-property-enum-value-removed
This revision also has 121 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ●
removed the optional property
detailsfrom the response with the400statusresponse-optional-property-removed
- ●
removed the optional property
detailsfrom the response with the500statusresponse-optional-property-removed
- ●
added the new
too_many_requestsenum value to thecoderesponse property for the response status400response-property-enum-value-added
- ●
added the new
too_many_requestsenum value to thecoderesponse property for the response status500response-property-enum-value-added
- ●
- ●
removed the optional property
errorfrom the response with the400statusresponse-optional-property-removed
- ●
removed the optional property
errorfrom the response with the500statusresponse-optional-property-removed
- ●
removed the optional property
successfrom the response with the400statusresponse-optional-property-removed
- ●
removed the optional property
successfrom the response with the500statusresponse-optional-property-removed
- ○
added the optional property
codeto the response with the400statusresponse-optional-property-added
- ○
added the optional property
codeto the response with the500statusresponse-optional-property-added
- ○
added the optional property
detailsto the response with the400statusresponse-optional-property-added
- ○
added the optional property
detailsto the response with the500statusresponse-optional-property-added
- ○
added the optional property
http_status_codeto the response with the400statusresponse-optional-property-added
- ○
added the optional property
http_status_codeto the response with the500statusresponse-optional-property-added
- ○
added the optional property
messageto the response with the400statusresponse-optional-property-added
- ○
added the optional property
messageto the response with the500statusresponse-optional-property-added
This revision also has 7 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●