Skip to main content
POST
Import a CSV of usage events

Authorizations

x-api-key
string
header
required

Enter your API key in the format x-api-key <api-key>*

Body

application/json

Import request

entity_type
enum<string>
required
Available options:
EVENTS,
PRICES,
CUSTOMERS,
FEATURES
file_provider
string
required
file_type
enum<string>
required
Available options:
CSV,
JSON
task_type
enum<string>
required
Available options:
IMPORT,
EXPORT
upload_id
string
required
file_name
string
metadata
object

Response

OK

message
string
run_id
string
workflow_id
string