Create a dataset
POST/api/v2/Dataset
Dataset processing occurs in the background and may take a few minutes to complete.
Request
Query Parameters
Use this param to override the culture of the response. Options: - en (default) - es
- multipart/form-data
Body
Possible values: <= 64 characters, Value must match regular expression ^[a-zA-Z0-9\-]*$
Unique identifier for the dataset. Must be alphanumeric with optional hyphens. Maximum 64 characters.
Possible values: <= 64 characters
Display name for the dataset. Maximum 64 characters.
Possible values: <= 4000 characters
Detailed description of the dataset. Maximum 4000 characters.
Optional subtenant identifier. Required if the user has subtenants.
Possible values: <= 64 characters, Value must match regular expression ^[a-zA-Z0-9\-]*$
Unique identifier for the table within the dataset. Must be alphanumeric with optional hyphens. Maximum 64 characters.
Possible values: <= 64 characters
Display name for the table. Maximum 64 characters.
Possible values: <= 4000 characters
Detailed description of the table. Maximum 4000 characters.
The data file to upload for the dataset (CSV, Excel, etc.).
Responses
- 200
- 400
- 401
- 403
- 500
Dataset created successfully and processing job scheduled.
If the request is invalid or business validation fails.
- application/json
- Schema
- Example (from schema)
Schema
- MOD1
- MOD2
Array [
]
Stable, machine-readable error code. Branch on this value, not on message.
Human-readable, localised summary of the error.
Link to the documentation section for this error code.
errors
object
nullable
Map of keys (an invalid request field or the rule that failed) to messages. Only present when the error has specific detail to report. Values are strings, except on input_validation_error, where each value is an array of messages for that field.
property name*
object
nullable
oneOf
string
string
{
"code": "string",
"message": "string",
"documentationUrl": "string",
"errors": {}
}
The user is unauthorized or the session expired
- application/json
- Schema
- Example (from schema)
Schema
Stable, machine-readable error code. Branch on this value, not on message.
Human-readable, localised summary of the error.
Link to the documentation section for this error code.
{
"code": "string",
"message": "string",
"documentationUrl": "string"
}
The user does not have permission
- application/json
- Schema
- Example (from schema)
Schema
Stable, machine-readable error code. Branch on this value, not on message.
Human-readable, localised summary of the error.
Link to the documentation section for this error code.
{
"code": "string",
"message": "string",
"documentationUrl": "string"
}
There was an unexpected error
- application/json
- Schema
- Example (from schema)
Schema
Stable, machine-readable error code. Branch on this value, not on message.
Human-readable, localised summary of the error.
Link to the documentation section for this error code.
{
"code": "string",
"message": "string",
"documentationUrl": "string"
}