curl --request GET \
--url https://api.leen.dev/v1/grc/assessments \
--header 'X-API-KEY: <api-key>' \
--header 'X-CONNECTION-ID: <api-key>'{
"items": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"template_id": "<string>",
"template_name": "<string>",
"vendor_attributes": {
"id": "<string>",
"vendor": "<string>",
"data": {}
},
"state": "NEW",
"respondent": "<string>",
"control_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"questions": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"question": "<string>",
"question_type": "<string>",
"vendor_attributes": {
"id": "<string>",
"vendor": "<string>",
"data": {}
},
"description": "<string>",
"question_type_metadata": {
"type": "RADIO",
"options": [
{
"label": "<string>",
"value": "<string>"
}
]
},
"mandatory": false,
"parent_vendor_id": "<string>",
"response": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"sub_questions": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"question": "<string>",
"question_type": "<string>",
"vendor_attributes": {
"id": "<string>",
"vendor": "<string>",
"data": {}
},
"description": "<string>",
"question_type_metadata": {
"type": "RADIO",
"options": [
{
"label": "<string>",
"value": "<string>"
}
]
},
"mandatory": false,
"parent_vendor_id": "<string>",
"response": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"sub_questions": "<unknown>",
"condition": {
"value": "<string>",
"operator": "EQ"
}
}
]
}
]
}
],
"next_cursor": "<string>",
"previous_cursor": "<string>"
}List all GRC assessments for a given connection.
curl --request GET \
--url https://api.leen.dev/v1/grc/assessments \
--header 'X-API-KEY: <api-key>' \
--header 'X-CONNECTION-ID: <api-key>'{
"items": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"template_id": "<string>",
"template_name": "<string>",
"vendor_attributes": {
"id": "<string>",
"vendor": "<string>",
"data": {}
},
"state": "NEW",
"respondent": "<string>",
"control_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"questions": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"question": "<string>",
"question_type": "<string>",
"vendor_attributes": {
"id": "<string>",
"vendor": "<string>",
"data": {}
},
"description": "<string>",
"question_type_metadata": {
"type": "RADIO",
"options": [
{
"label": "<string>",
"value": "<string>"
}
]
},
"mandatory": false,
"parent_vendor_id": "<string>",
"response": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"sub_questions": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"question": "<string>",
"question_type": "<string>",
"vendor_attributes": {
"id": "<string>",
"vendor": "<string>",
"data": {}
},
"description": "<string>",
"question_type_metadata": {
"type": "RADIO",
"options": [
{
"label": "<string>",
"value": "<string>"
}
]
},
"mandatory": false,
"parent_vendor_id": "<string>",
"response": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"sub_questions": "<unknown>",
"condition": {
"value": "<string>",
"operator": "EQ"
}
}
]
}
]
}
],
"next_cursor": "<string>",
"previous_cursor": "<string>"
}Sort by field Sort by field
Datetime filter, only return items updated since this datetime. Example format: 2021-01-01T00:00:00+00:00
Datetime filter, only return items updated since this datetime. Example format: 2021-01-01T00:00:00+00:00
Skip token to continue from the last item in the previous page Skip token to continue from the last item in the previous page
Limit size (page size) Limit size (page size)
x >= 0Filter by state (comma-separated list) Filter by state (comma-separated list)
Filter by respondent (comma-separated list) Filter by respondent (comma-separated list)
Successful Response
List of items returned in the response
Show child attributes
Leen's UUID for the GRC assessment
Identifier for the assessment template
Name of the assessment template
Current state of the assessment
NEW, IN_PROGRESS, COMPLETED, CANCELLED Name or identifier of the respondent for the assessment
Identifier of the associated GRC control
Timestamp when the assessment was created
Timestamp when the assessment was last updated
List of questions along with their responses
Show child attributes
Leen's UUID for the GRC assessment question
The text of the assessment question
Type of the question (e.g., Boolen etc...)
Detailed description or context for the question
Show child attributes
RADIO, MULTIPLE_SELECTION, DROPDOWN Indicates if the question is mandatory
Vendor-specific identifier for the parent question
The response provided for the assessment question
Timestamp when the assessment was created
Timestamp when the assessment was last updated
List of child questions if any
Show child attributes
Leen's UUID for the GRC assessment question
The text of the assessment question
Type of the question (e.g., Boolen etc...)
Detailed description or context for the question
Show child attributes
RADIO, MULTIPLE_SELECTION, DROPDOWN Indicates if the question is mandatory
Vendor-specific identifier for the parent question
The response provided for the assessment question
Timestamp when the assessment was created
Timestamp when the assessment was last updated
List of child questions if any
Skip token to continue from the last item in the previous page
Skip token to continue from the first item in the previous page