GYTPOL Customer API (1.0)
Download OpenAPI specification:
GYTPOL customer API
Get All Remediable Misconfigurations
Fetches the full list of currently active and remediable misconfigurations in the system. These represent security or configuration issues detected on client devices. Used in: The initial step to display what can be remediated.
Authorizations:
query Parameters
limit |
integer
Example: limit=1000
Limit |
cursor |
string
Cursor |
Request Body schema: application/json
Request
object (filter.FilterBody)
|
Responses
OK
Bad Request
Internal Server Error
Request samples
- Payload
{
-
"filter": {
-
"clientVer": "string",
-
"device": "string",
-
"domain": "string",
-
"groupId": 0,
-
"ip": "string",
-
"label": "string",
-
"os": "string",
-
"ou": "string",
-
"severity": "string"
-
}
Response samples
- 200
- 400
- 500
{
-
"data": [
-
{
-
"alertsCount": 0,
-
"description": "string",
-
"devicesCount": 0,
-
"instanceValueCategory": "string",
-
"instancesCount": 0,
-
"misconfigurationId": "string",
-
"scores": {
-
"cvss": 0
-
-
"severity": "string",
-
"title": "string"
-
-
-
"nextCursor": "string"
}
List Affected Device
Fetches devices affected by a specific misconfiguration or its instance. May be optionally filtered by group, OU, label, domain, etc. Used in: To retrieve the specific devices that can be remediated.
Authorizations:
query Parameters
limit |
integer
Example: limit=1000
Limit |
cursor |
string
Cursor |
misconfigurationId
required
|
string
Example: misconfigurationId=exampleMisconfigurationId
Misconfiguration ID |
instanceId |
string
Example: instanceId=exampleInstanceId
Instance ID |
Request Body schema: application/json
Request
object (filter.DeviceFilterBody)
|
Responses
OK
Bad Request
Internal Server Error
Request samples
- Payload
{
-
"filter": {
-
"clientVer": "string",
-
"device": "string",
-
"domain": "string",
-
"groupId": 0,
-
"ip": "string",
-
"label": "string",
-
"os": "string",
-
"ou": "string"
-
}
Response samples
- 200
- 400
- 500
{
-
"data": [
-
{
-
"device": "string",
-
"deviceId": 0,
-
"instanceId": "string",
-
"ip": "string",
-
"mac": "string",
-
"os": "string"
-
-
-
"desc": "string",
-
"filter": {
-
"clientVer": "string",
-
"device": "string",
-
"domain": "string",
-
"groupId": 0,
-
"ip": "string",
-
"label": "string",
-
"os": "string",
-
"ou": "string"
-
-
"instanceValueCategory": "string",
-
"misconfigurationId": "string",
-
"nextCursor": "string",
-
"severity": "string",
-
"title": "string"
}
List Misconfiguration Instances
Returns all known instance values associated with a specific misconfiguration. For example, if a misconfiguration is "Adobe Reader Version", this will return the affected versions detected on devices. Used in: Second step to show the different context values the misconfiguration takes across devices.
Authorizations:
query Parameters
limit |
integer
Example: limit=1000
Limit |
cursor |
string
Cursor |
misconfigurationId
required
|
string
Example: misconfigurationId=exampleMisconfigurationId
Misconfiguration ID |
Request Body schema: application/json
Request
object (filter.DeviceFilterBody)
|
Responses
OK
Bad Request
Internal Server Error
Request samples
- Payload
{
-
"filter": {
-
"clientVer": "string",
-
"device": "string",
-
"domain": "string",
-
"groupId": 0,
-
"ip": "string",
-
"label": "string",
-
"os": "string",
-
"ou": "string"
-
}
Response samples
- 200
- 400
- 500
{
-
"data": [
-
{
-
"alertsCount": 0,
-
"devicesCount": 0,
-
"instanceId": "string"
-
-
-
"instanceValueCategory": "string",
-
"nextCursor": "string"
}
Get Available Filters
Returns the available filter options (OS, Group, OU, etc.) that can be used to scope down which devices should be considered when fetching applicable devices or scheduling actions. Used in: Optional, depending on whether the user selects a filtering strategy.
Authorizations:
query Parameters
limit |
integer
Example: limit=1000
Limit |
cursor |
string
Cursor |
type
required
|
string
Enum: "group" "os" "ou" "domain" "device" "version" "ip" "label"
Filter type |
Responses
OK
Bad Request
Internal Server Error
Response samples
- 200
- 400
- 500
{
-
"data": [
-
null
-
-
"nextCursor": "string"
}
Get Action Log
Retrieves the Log of a action.
Authorizations:
query Parameters
limit |
integer
Example: limit=1000
Limit |
cursor |
string
Cursor |
actionId
required
|
integer
Example: actionId=2000
Action ID |
Responses
OK
Bad Request
Internal Server Error
Response samples
- 200
- 400
- 500
{
-
"data": [
-
{
-
"byUser": {
-
"DisplayName": "string",
-
"Title": "string",
-
"UserName": "string"
-
-
"date": "string",
-
"notes": "string",
-
"operation": "string"
-
-
-
"nextCursor": "string"
}
Schedule a Remediation Action
Schedules an immediate or future remediation action to fix the misconfiguration on selected devices. Used in: Final step when the user decides to remediate.
Authorizations:
query Parameters
misconfigurationId
required
|
string
Example: misconfigurationId=exampleMisconfigurationId
Misconfiguration ID |
instanceId |
string
Example: instanceId=exampleInstanceId
Instance ID |
Request Body schema: application/json
Request
object (filter.DeviceFilterBody)
|
|
remark |
string
User-provided comment or note about the action |
Responses
OK
Bad Request
Internal Server Error
Request samples
- Payload
{
-
"filter": {
-
"clientVer": "string",
-
"device": "string",
-
"domain": "string",
-
"groupId": 0,
-
"ip": "string",
-
"label": "string",
-
"os": "string",
-
"ou": "string"
-
-
"remark": "string"
}
Response samples
- 200
- 400
- 500
{
-
"actionId": 0
}
Check Action Status
Retrieves the current status of an action, including how many devices succeeded, failed, or are pending. Used in: After scheduling, used to monitor progress.
Authorizations:
query Parameters
limit |
integer
Example: limit=1000
Limit |
cursor |
string
Cursor |
actionId
required
|
integer
Example: actionId=2000
Action ID |
Responses
OK
Bad Request
Internal Server Error
Response samples
- 200
- 400
- 500
{
-
"actionDatum": "string",
-
"actionId": 0,
-
"actionProgress": {
-
"cancelled": 0,
-
"failed": 0,
-
"pending": 0,
-
"revertCancelled": 0,
-
"revertFailed": 0,
-
"reverted": 0,
-
"reverting": 0,
-
"success": 0,
-
"total": 0
-
-
"actionType": "string",
-
"afterTime": 0,
-
"applyScheme": "string",
-
"data": [
-
{
-
"device": "string",
-
"deviceId": 0,
-
"instanceId": "string",
-
"state": "string"
-
-
-
"devices": 0,
-
"nextCursor": "string",
-
"remark": "string",
-
"state": "string",
-
"timezone": 0,
-
"weekDay": "string",
-
"window": 0
}
Get Actions
Retrieves the list of actions which were created or changed in the last 3 months.
Authorizations:
query Parameters
limit |
integer
Example: limit=1000
Limit |
cursor |
string
Cursor |
Responses
OK
Bad Request
Internal Server Error
Response samples
- 200
- 400
- 500
{
-
"data": [
-
{
-
"actionDatum": "string",
-
"actionType": "string",
-
"afterTime": 0,
-
"applyScheme": "string",
-
"devices": 0,
-
"exclusionStart": 0,
-
"exclusionWeekDay": "string",
-
"exclusionWindow": 0,
-
"expiration": "string",
-
"id": 0,
-
"lastChangedBy": "string",
-
"latestChange": "string",
-
"progress": {
-
"cancelled": 0,
-
"failed": 0,
-
"pending": 0,
-
"revertCancelled": 0,
-
"revertFailed": 0,
-
"reverted": 0,
-
"reverting": 0,
-
"success": 0,
-
"total": 0
-
-
"remark": "string",
-
"state": "string",
-
"timezone": 0,
-
"weekDay": "string",
-
"window": 0
-
-
-
"nextCursor": "string"
}
Get Sensor Download Links
Allows you to get a list of all sensor types download links.
Authorizations:
Responses
OK
Bad Request
Internal Server Error
Response samples
- 200
- 400
- 500
{
-
"data": [
-
{
-
"clientType": "string",
-
"clientVer": "string",
-
"url": "string",
-
"urlExpire": "string"
-
-
}