Get a question set
Retrieve a single question set by id, with its non-deleted questions in set order. Returns 404 if it does not exist or belongs to another org. Eventually consistent: may lag a create/update by a few seconds — see the API overview.
OAuth scopes
- question_sets:read
Path Parameters
- Type: stringFormat: uuididrequired
Responses
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
Request Example for get/v2/question_sets/{id}
curl https://api.brellium.dev/v2/question_sets/123e4567-e89b-12d3-a456-426614174000 \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"object": "question_set",
"org_id": "string",
"set_name": "string",
"set_code": "string",
"type": null,
"is_production": true,
"is_deleted": true,
"allow_doc_upload": true,
"thresholds": [],
"questions": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"object": "question",
"query": "string",
"question_type": null,
"severity": null,
"remediation": null
}
],
"created_at": "string",
"updated_at": "string"
}