curl --request POST \
--url https://app.aegister.com/api/v1/v-ciso/organizations/{organizationid}/workflows/{workflowid}/tasks/{taskid}/import \
--header 'Content-Type: application/json' \
--header 'X-Aegister-Token: <api-key>' \
--data '
{
"dry_run": true,
"rows": [
{
"asset_id": "HW-001",
"device_input": "Physical servers",
"criticality": "High"
}
]
}
'{
"error": 0,
"messages": [],
"data": {}
}{
"error": 1,
"messages": [
"Invalid data provided"
]
}{
"error": 1,
"messages": [
9153
]
}{
"error": 1,
"messages": []
}Tasks
Import into a task
Import into a task: table rows (JSON/XLSX) or question answers (JSON). dry_run validates and returns normalized data plus errors without saving; otherwise it validates, submits to scoring, and records a new evaluation. Requires the edit role.
POST
/
api
/
v1
/
v-ciso
/
organizations
/
{organizationid}
/
workflows
/
{workflowid}
/
tasks
/
{taskid}
/
import
curl --request POST \
--url https://app.aegister.com/api/v1/v-ciso/organizations/{organizationid}/workflows/{workflowid}/tasks/{taskid}/import \
--header 'Content-Type: application/json' \
--header 'X-Aegister-Token: <api-key>' \
--data '
{
"dry_run": true,
"rows": [
{
"asset_id": "HW-001",
"device_input": "Physical servers",
"criticality": "High"
}
]
}
'{
"error": 0,
"messages": [],
"data": {}
}{
"error": 1,
"messages": [
"Invalid data provided"
]
}{
"error": 1,
"messages": [
9153
]
}{
"error": 1,
"messages": []
}Authorizations
ApiKeyAuthApiKeyQueryParam
Query Parameters
Validate only and return rows+errors without writing.
Language for labels/validation (en|it).
Body
application/json
Response
Any value different from 0 indicates an error.
More details can be found in messages.
Required range:
0 <= x <= 0Example:
0
If error is 1, contains zero or more details on the error.
Example:
[]
dry_run → {columns, rows, errors, valid_count, error_count}; submit → {imported_rows, evaluation_id}

