curl --request POST \
--url https://app.aegister.com/api/v1/v-ciso/organizations/{organizationid}/workflows/{workflowid}/framework/controls-import \
--header 'Content-Type: application/json' \
--header 'X-Aegister-Token: <api-key>' \
--data '
{
"dry_run": true,
"answers": {
"nis2-req-E - 2.1.1": "Implemented"
}
}
'{
"error": 0,
"messages": [],
"data": {}
}{
"error": 1,
"messages": [
"Invalid data provided"
]
}{
"error": 1,
"messages": [
9153
]
}{
"error": 1,
"messages": []
}Framework Controls
Submit a framework step's control answers
Submit framework control answers for one step: JSON {answers, dry_run?} with ?step=<stepId>. dry_run validates without writing; otherwise it validates then submits via /evaluate (Aegister scores and persists), exactly like saving a step in the web app. Requires the edit role.
POST
/
api
/
v1
/
v-ciso
/
organizations
/
{organizationid}
/
workflows
/
{workflowid}
/
framework
/
controls-import
curl --request POST \
--url https://app.aegister.com/api/v1/v-ciso/organizations/{organizationid}/workflows/{workflowid}/framework/controls-import \
--header 'Content-Type: application/json' \
--header 'X-Aegister-Token: <api-key>' \
--data '
{
"dry_run": true,
"answers": {
"nis2-req-E - 2.1.1": "Implemented"
}
}
'{
"error": 0,
"messages": [],
"data": {}
}{
"error": 1,
"messages": [
"Invalid data provided"
]
}{
"error": 1,
"messages": [
9153
]
}{
"error": 1,
"messages": []
}Authorizations
ApiKeyAuthApiKeyQueryParam
Query Parameters
Validate only; return errors without writing.
Language for labels/validation (en|it).
Restrict to a single framework step id.
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 → {answers, errors, valid_count, error_count}; submit → {submitted, evaluation_id}

