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
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
Limit size (page size)
x >= 0Filter by state (comma-separated list)
Filter by respondent (comma-separated list)
Successful Response