List all questionnaires
Returns a paginated list of all questionnaires across all vendors for the organization.
Required API key permissions: VendorRisk (select when creating API key in Account Settings)
Request
- Base URLhttps://cyber-risk.upguard.com/api/public
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Filter on vendor labels using the label’s name. By default, any matching vendor will be returned. Use vendor_label_ids_match_all to require all labels to be present. If the label does not exist, 422 will be returned.
If true, will only return vendors that match ALL of the provided label IDs. If false or omitted, vendors matching ANY of the provided labels will be returned.
If true, will include vendors that have no labels applied when vendor_label_ids is provided.
Filter vendors to those with a score greater than or equal to this value. Valid range: 0-950.
Filter vendors to those with a score less than or equal to this value. Valid range: 0-950.
Filter vendors whose name starts with the given prefix (case-insensitive).
Filter to only return vendors with the specified vendor IDs.
If true, will only return vendors that DO NOT match ANY of the provided label IDs. This is mutually exclusive with vendor_label_ids_match_all.
Filter watched vendors to those in the specified tiers. Valid values: 1-5.
Filter by portfolio IDs. Only vendors in these portfolios will be returned. If the portofilo does not exist, 422 will be returned.
If true, will return only vendors with a published assessment.
Filter by questionnaire type IDs. Only vendors with these questionnaire types will be returned. Available questionnaire types can be found at /api/public/vendor/questionnaire_types.
Start of date added range filter (RFC3339 format). Filters vendors added on or after this date.
End of date added range filter (RFC3339 format). Filters vendors added on or before this date.
If true, filter to vendors added before vendor_date_added_end.
If true, filter to vendors added between start and end dates.
Number of results per page (1-2000)
Token for the next page of results
Field to sort by. Allowed fields: date_due, vendor_name, name, status, date_created, date_completed.
Sort in descending order, sorts in ascending order if unset
Comma-separated list of statuses to filter by. Allowed values: sent, opened, returned, inreview, complete, cancelled, published.
If true, exclude archived questionnaires from results
Response
List of questionnaires across all vendors
Example response
{
"questionnaires": [
{
"archived": true,
"date_completed": "2022-04-15T10:30:00Z",
"due_date": "2022-04-20T00:00:00Z",
"id": 1,
"name": "iso27001",
"returned_at": "2022-03-20T23:23:37.228539Z",
"sent_at": "2022-03-20T21:42:53.821938Z",
"status": "complete",
"vendor_hostname": "example.com",
"vendor_id": 456,
"vendor_name": "Example Corp"
}
],
"total_results": 42
}Changes
No recorded changes to this operation across all 1 revision of this API.