https://api.bitsighttech.com/ratings/v1/portfolio/risk-vectors/grades
Get risk vector grades of organizations in your portfolio..
Parameters
See query parameters for details on the following parameters:
limit
(default: ↻100
)offset
(default: ↻0
)
Parameter | Values |
---|---|
company.guid [Query] Filter by company. |
[String] Company unique identifier [entity_guid ]. See GET: Portfolio Details. |
folder [Query] Filter by folder. |
[String] Folder unique identifier [folder_guid ]. See GET: Folder Details. |
period [Query] Set a time period. |
[String]
|
tier [Query] Filter by tier. |
[String] Tier unique identifier [tier_guid ]. See GET: Tiers. |
Example Request
curl https://api.bitsighttech.com/ratings/v1/portfolio/risk-vectors/grades -u api_token:
Example Response
{ { "company":{ "guid":"a5e23bf0-38d4-4cea-aa50-19ee75da481d", "name":"Black Hills Technologies" }, "grades":[ { "date":"2021-10-15", "risk_vectors":[ { "risk_vector":{ "name":"Botnet Infections", "slug":"botnet", "risk_category":"Compromised Systems" }, "grade":"A", "percentile":100.0 } ] } ] }, […] ] }
Response Attributes
Field | Description | |||||
---|---|---|---|---|---|---|
companyObject |
Information about the queried company. | |||||
guidString [ entity_guid ] |
The company’s unique identifier. | |||||
nameString |
The company’s name. | |||||
gradesArray |
Risk vector grades grouped by date. | |||||
Object | Risk vector grades on the specified date. | |||||
dateString [ YYYY-MM-DD ] |
The date when this grade was calculated. | |||||
risk_vectorsArray |
Grades grouped by risk vector. | |||||
Object | Risk vector grade data. | |||||
risk_vectorObject |
Risk vector information. | |||||
nameString |
This risk vector’s name. | |||||
slugString |
This risk vector’s slug name. | |||||
risk_categoryString |
This risk vector’s risk category. | |||||
gradeString |
The letter grade assigned to this risk vector. | |||||
percentileDecimal |
The percentile this company is placed in, based on its rating within the industry. |
Response Codes
See common errors and status codes.
Code | Description |
---|---|
200 – Okay |
Everything worked as expected. |
400 – Bad Data |
This can often be due to missing a required parameter. |
401 – Unauthorized |
You do not have permission to access this resource. |
404 – Not Found |
The specified resource was not found or does not exist. |
- November 21, 2022: Added
folder
andtier
parameters. - June 27, 2022: Added
limit
,offset
, &company.guid
parameters; Added400
,401
, &404
status codes.
Feedback
0 comments
Please sign in to leave a comment.