Export Models Create
Saves a column selection under a name, so the same export can be repeated without picking the same columns again. Requires the export permission of the kind the model belongs to.
Request Body required
Name of the export model, shown in the picker.
An enumeration.
Keys of the columns to save, in the order they should appear. The mandatory identifier is not stored: an export writes it whether or not the model asks for it. Read the available keys from the fields endpoint of the same kind.
Post-processing script to offer with the model. It runs only when the model is used for a CSV export, and only if it is passed to the export request as script. Null or blank for none.
- 200
- 403
- 422
OK
Schema
- Array [
- ]
Unique identifier of the export model.
Name of the export model, shown in the picker.
An enumeration.
Post-processing script offered with the model, for CSV exports. Null when it has none.
Keys of the columns of the model, in the order they appear in the file. The mandatory identifier is not listed: an export writes it whether or not the model asks for it.
fields object[] required
Columns of the model, with their human-readable name.
Identifier of the column, as written in the file header.
Human-readable name of the column. Falls back to the key when the column no longer exists.
How many columns the model selects.
When the export model was created.
When the export model was last modified.
{
"id": 0,
"name": "string",
"kind": "SUPPORTERS",
"script": "string",
"field_keys": [
"string"
],
"fields": [
{
"key": "string",
"label": "string"
}
],
"fields_count": 0,
"create_date": "2026-11-20T20:19:36.595Z",
"update_date": "2026-11-20T20:19:36.595Z"
}
Forbidden
Schema
Why the request was refused.
{
"detail": "string"
}
Unprocessable Entity
Schema
- Array [
- ]
detail object[] required
The validation errors that prevented the request, the same the GraphQL userErrors carry.
Kind of error: BAD_INPUT, NOT_FOUND, NOT_UNIQUE or PROTECTED.
Input field the error is about. Null when it is about the request.
Human-readable explanation, in the language of the caller.
{
"detail": [
{
"code": "string",
"field": "string",
"message": "string"
}
]
}