Druva Platform API
The Druva Cloud Platform administration API. Administrators, administrator roles, platform-level reports and the platform event stream shared across Druva products.
The Druva Cloud Platform administration API. Administrators, administrator roles, platform-level reports and the platform event stream shared across Druva products.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/platform"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
{"openapi":"3.0.1","info":{"title":"Platform","description":"Platform Public APIs","version":"1.0.0"},"servers":[{"url":"https://apis.druva.com/platform"}],"security":[{"Bearer":[]}],"tags":[{"name":"Reports"},{"name":"Events"},{"name":"Admin Roles"},{"name":"Administrators"},{"name":"Administration"}],"paths":{"/reporting/v1/reports":{"get":{"tags":["Reports"],"summary":"List Reports","description":"Returns the list of accessible reports for provided list of productIDs.","operationId":"GetReportsListRequest","parameters":[{"name":"productIDs","in":"query","description":"Provide comma-separated Product IDs. Possible values are 8193 - Endpoints, 8196 - Salesforce, 8197 - Data Governance, 12289 - Enterprise Workloads, 36880 - Cyber Resilience.","required":false,"style":"form","explode":true,"schema":{"type":"string","x-go-name":"ProductIDs"},"x-go-name":"ProductIDs"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetReportsListResponse"}}}},"400":{"description":"Bad Request","content":{}},"404":{"description":"The requested resource was not found.","content":{}},"500":{"description":"The request was not processed due to an internal error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}}}}}},"/reporting/{version}/reports/{reportID}":{"post":{"tags":["Reports"],"summary":"Get Report","description":"Returns the selected report. Use the report ID field to specify the report that you want to fetch. By default the report provides the data for last 24 hours if no date/time filters are selected. For more information, see [guides on the Reports API](/docs/getting-started-with-reports-api).","operationId":"GetReportDataRequest","parameters":[{"name":"reportID","in":"path","description":"Unique ID of report.","required":true,"style":"simple","explode":false,"schema":{"type":"string","enum":["dgDataProtectionRisk","dgRollbackActions","dgUnusualDataActivityAlerts","dgDataAccessEvents","dgAdminLoginEvents","dgQuarantineResources","dgMaliciousScanJob","dgCuratedSnapshots","dgeDiscoveryDownloadJobsReport","dgGlobalCustodianReport","dgNonCompliantFileReport","dgArchivedNonCompliantFileReport","dgNonCompliantEmailReport","dgArchivedNonCompliantEmailReport","dgDefensibleDeleteForFilesReport","dgDefensibleDeleteForEmailsReport","epAlert","epDeletedDevice","epInactiveDevices","epLastBackupStatus","epLicenseUsage","epPreservedUsersDatasources","epRestoreActivity","epSharedDevices","epUpgradeActivity","epUserProvisioning","epUserRollout","epUsers","epStorageConsumption","ewAdminAuditTrails","ewAlertHistory","ewBackupActivity","ewDisasterRecoveryFailbackActivity","ewDisasterRecoveryFailoverActivity","ewDisasterRecoveryReplicationActivity","ewResourceStatus","ewRestoreActivity","ewStorageConsumptionbyBackupSets","m365SharePointSiteDiscovery","m365TeamsDiscovery","m365GroupsDiscovery","m365Alerts","m365LicenseUsage","m365PreservedUsersDatasources","m365StorageConsumption","m365UserCountAndStatus","m365UserLastBackupStatus","m365UserProvisioning","m365UserRestoreActivity","m365UserWorkload","m365SharePointBackupActivity","m365SharePointRestoreActivity","m365TeamsBackupActivity","m365TeamsRestoreActivity","m365GroupsBackupActivity","m365GroupsRestoreActivity","m365PublicFolderBackupActivity","m365PublicFolderRestoreActivity","googleAlerts","googleLicenseUsage","googlePreservedUsersDatasources","googleStorageConsumption","googleUserCountAndStatus","googleUserLastBackupStatus","googleUserProvisioning","googleUserRestoreActivity","googleUserWorkload","googleSharedDriveBackupActivity","googleSharedDriveRestoreActivity","sfdcArchivalActivity","sfdcArchivalRestoreActivity","sfdcBackupActivity","sfdcDataRestoreActivity","sfdcSandboxSeedingActivity"]}},{"name":"version","in":"path","description":"Version of report.\n<br>Note: With API enhancements in V2, you may see additional fields in the response over time. Avoid enforcing overly strict schema enforcement to ensure smooth integration.","required":true,"style":"simple","explode":false,"schema":{"type":"string","default":"v2","enum":["v1","v2"]}},{"name":"Content-Type","in":"header","description":"Request content type header","required":true,"style":"simple","explode":false,"schema":{"type":"string","enum":["application/json"]}}],"requestBody":{"description":"Request body","content":{"application/json":{"schema":{"$ref":"#/components/schemas/reports_reportID_body"}}},"required":true},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetReportDataResponse"}}}},"400":{"description":"Bad Request","content":{}},"404":{"description":"The requested resource was not found.","content":{}},"500":{"description":"The request was not processed due to an internal error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}}}},"x-codegen-request-body-name":"requestBody"}},"/eventmanagement/{version}/events":{"get":{"tags":["Events"],"summary":"List Events","description":"This API returns a list of events based on pageToken or filters.\n<br>You can query using the pageToken or filters; you cannot provide both simultaneously.\n<br>When using the pageToken parameter, the initial request should not include any pageToken value. The response will contain a list of events and a nextPageToken. For subsequent API calls, include the pageToken parameter with the value of nextPageToken received from the previous API response. This ensures that you retrieve the next page of events.\n<br>For example\n <br> /events?pageToken=qwwzsx1qwer0efjdvfhuvuvvuvu\n <br> /events?pageSize=150&productID=12289&syslogSeverity=5\n","operationId":"ListEventsRequest","parameters":[{"name":"version","in":"path","description":"Version of report. In v1, the `details` field of the response provides a string. In v2 and v3 it provides a json object. In v1 and v2, feature and type fields are in camel case. In v3 they are title case.","required":true,"style":"simple","explode":false,"schema":{"type":"string","enum":["v1","v2","v3"],"default":"v3"}},{"name":"pageToken","in":"query","description":"Specify the token to access the next page of results. Keep this field blank in the first request. Use the token value received in the previous response's parameter 'nextPageToken'.","required":false,"style":"form","explode":true,"schema":{"type":"string"}},{"name":"pageSize","in":"query","description":"Specify the maximum number of records that should returned in a response. Maximum limit is 500 records. Default pageSize is 500.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"productID","in":"query","description":"Provide productID. Use 12289 for Enterprise Workloads.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"category","in":"query","description":"Provide category. Use EVENT.","required":false,"style":"form","explode":true,"schema":{"type":"string"}},{"name":"type","in":"query","description":"Provide the type of action/incident that occurred on a particular entity. For example, Login, Logout, LicenseExpired, etc.","required":false,"style":"form","explode":true,"schema":{"type":"string","minLength":1,"maxLength":128}},{"description":"Provide the feature for which you want to retrieve events. For example, Job, Admin, Customer, Client etc.","in":"query","name":"feature","schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"syslogSeverity","in":"query","description":"Specify the severity code as follows:\n<br>For Emergency use 0\n<br>For Alert (action must be taken immediately) use 1\n<br>For Critical (critical conditions) use 2\n<br>For Error (error conditions) use 3\n<br>For Warning (warning conditions) use 4\n<br>For Notice (normal but significant condition) use 5\n<br>For Informational (informational messages) use 6\n<br>For Debug (debug-level messages) use 7\n","required":false,"style":"form","explode":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ListEventsResponse"},{"$ref":"#/components/schemas/ListEventsResponseTwo"},{"$ref":"#/components/schemas/ListEventsResponseThree"}]}}}},"400":{"description":"Bad Request","content":{}},"404":{"description":"The requested resource was not found.","content":{}},"500":{"description":"The request was not processed due to an internal error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}}}}}},"/console/v1/roles/{productID}":{"get":{"tags":["Admin Roles"],"summary":"List roles","description":"Returns the list of Product Administrator Roles and the resources they can access.","operationId":"ListRolesRequest","parameters":[{"name":"productID","in":"path","description":"Possible values are 8193 - Endpoints and SaaS Apps, 12289 - Enterprise Workloads","required":true,"style":"simple","explode":false,"schema":{"type":"integer","enum":[8193,12289]}},{"name":"Content-Type","in":"header","description":"Request content type header","required":true,"style":"simple","explode":false,"schema":{"type":"string","enum":["application/json"]}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListRolesResponse"}}}},"400":{"description":"Bad Request","content":{}},"404":{"description":"The requested resource was not found.","content":{}},"500":{"description":"The request was not processed due to an internal error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}}}}}},"/console/v1/admins":{"get":{"tags":["Administrators"],"summary":"List all administrators","description":"Returns the details of existing administrators in the Cloud Console. \n > 📘 Note \n To use this API endpoint, enable the [Administrator API from Druva Cloud settings](/reference/administrators).","operationId":"ListAdminsRequest","parameters":[{"name":"Content-Type","in":"header","description":"Request content type header","required":true,"style":"simple","explode":false,"schema":{"type":"string","enum":["application/json"]}},{"name":"pageSize","in":"query","description":"Specify the maximum number of records that should be returned in a response.","required":false,"style":"form","explode":true,"schema":{"minimum":1,"type":"integer","default":100}},{"name":"pageNumber","in":"query","description":"Specify the desired page number","required":false,"style":"form","explode":true,"schema":{"minimum":1,"type":"integer","default":1}},{"name":"pageToken","in":"query","description":"Specify the page token to access the next page of results. Keep this field blank in the first request. Use the token value received in the previous response's parameter 'nextPageToken'. \n NOTE: pageNumber and pageToken cannot be used together.</i>","required":false,"style":"form","explode":true,"schema":{"type":"string"}},{"name":"sortBy","in":"query","description":"Specify the field to sort the admins on","required":false,"style":"form","explode":true,"schema":{"type":"string","default":"adminName","enum":["adminName","email","lastLogin"]}},{"name":"sortOrder","in":"query","description":"Specify the order in which the admins has to be sorted","required":false,"style":"form","explode":true,"schema":{"type":"string","default":"ASC","enum":["ASC","DESC"]}},{"name":"searchString","in":"query","description":"Specify the string to be searched on adminName","required":false,"style":"form","explode":true,"schema":{"type":"string"}},{"name":"filters","in":"query","description":"Specify the filters to be applied\n```json\n{\n \"lastLogin\": 1234567,\n \"productId\": [4097,8193,12289],\n \"adminState\": [\n \"ACTIVE\",\"DISABLED\"\n ],\n \"provisioningMode\": [\n \"Manual\",\"AD_LDAP\"\n ]\n}\n```\n**Filters Structure:**\n- `lastLogin` (float): Specify the last login time on which the admins has to be filtered\n- `productId` (array of integers): Specify the productID(s) on which the admins has to be filtered. Allowed values:\n 4097 - DruvaCloud admins,\n 8193 - Insync Product admins,\n 12289 - Enterprise Workloads' Product admins\n- `adminState` (array of strings): Specify the list of admin states on which the admins has to be filtered. Allowed values:\n ACTIVE, DISABLED\n- `provisioningMode` (array of strings): Specify the list of creation modes on which the admins has to be filtered. Allowed values:\n Manual, AD_LDAP\n","required":false,"style":"form","explode":true,"schema":{"type":"string","example":"{ \"lastLogin\": 1234567, \"productId\": [4097,8193,12289], \"adminState\": [ \"ACTIVE\",\"DISABLED\" ], \"provisioningMode\": [ \"Manual\",\"AD_LDAP\" ] }"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListAdminsResponse"}}}},"400":{"description":"Bad Request","content":{}},"404":{"description":"The requested resource was not found.","content":{}},"500":{"description":"The request was not processed due to an internal error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}}}}},"post":{"tags":["Administrators"],"summary":"Create an administrator","description":"Creates an administrator in the Druva Console.\n > 📘 **Note** \n To use this API endpoint, enable the [Administrator API from Druva Cloud settings](/reference/administrators).","operationId":"CreateAdminRequest","parameters":[{"name":"Content-Type","in":"header","description":"Request content type header","required":true,"style":"simple","explode":false,"schema":{"type":"string","enum":["application/json"]}}],"requestBody":{"description":"Request body","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v1_admins_body"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateAdminResponse"}}}},"400":{"description":"Bad Request","content":{}},"404":{"description":"The requested resource was not found.","content":{}},"500":{"description":"The request was not processed due to an internal error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}}}}}},"/console/v1/admins/{globalAdminID}":{"get":{"tags":["Administrators"],"summary":"Get administrator details","description":"Returns the details of the specified administrator. \n > 📘 **Note** \n To use this API endpoint, enable the [Administrator API from Druva Cloud settings](/reference/administrators).","operationId":"GetAdminRequest","parameters":[{"name":"globalAdminID","in":"path","description":"The global ID of the admin on which the action has to be performed. Get the global ID of the administrator using the [List all administrators](/reference/listadminsrequest) API.","required":true,"style":"simple","explode":false,"schema":{"type":"string"}},{"name":"Content-Type","in":"header","description":"Request content type header","required":true,"style":"simple","explode":false,"schema":{"type":"string","enum":["application/json"]}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetAdminResponse"}}}},"400":{"description":"Bad Request","content":{}},"404":{"description":"The requested resource was not found.","content":{}},"500":{"description":"The request was not processed due to an internal error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}}}}},"delete":{"tags":["Administrators"],"summary":"Delete an administrator","description":"Deletes the specified administrator account from the Cloud Console. \n > 📘 **Note** \n To use this API endpoint, enable the [Administrator API from Druva Cloud settings](/reference/administrators ).","operationId":"DeleteAdminRequest","parameters":[{"name":"globalAdminID","in":"path","description":"The global ID of the admin on which the action has to be performed. Get the global ID of the administrator using the [List all administrators](/reference/listadminsrequest) API.","required":true,"style":"simple","explode":false,"schema":{"type":"string"}},{"name":"Content-Type","in":"header","description":"Request content type header","required":true,"style":"simple","explode":false,"schema":{"type":"string","enum":["application/json"]}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteAdminResponse"}}}},"400":{"description":"Bad Request","content":{}},"404":{"description":"The requested resource was not found.","content":{}},"500":{"description":"The request was not processed due to an internal error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}}}}},"patch":{"tags":["Administrators"],"summary":"Update administrator details","description":"Modify Administrator attributes, like Administrator Name, Timezone, and Status (either Active or Disabled). \n > 📘 **Note** \n To use this API endpoint, enable the [Administrator API from Druva Cloud settings](/reference/administrators).","operationId":"UpdateAdminRequest","parameters":[{"name":"globalAdminID","in":"path","description":"The global ID of the admin on which the action has to be performed. Get the global ID of the administrator using the [List all administrators](/reference/listadminsrequest) API.","required":true,"style":"simple","explode":false,"schema":{"type":"string"}},{"name":"Content-Type","in":"header","description":"Request content type header","required":true,"style":"simple","explode":false,"schema":{"type":"string","enum":["application/json"]}}],"requestBody":{"description":"Request body","content":{"application/json":{"schema":{"$ref":"#/components/schemas/admins_globalAdminID_body"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateAdminResponse"}}}},"400":{"description":"Bad Request","content":{}},"404":{"description":"The requested resource was not found.","content":{}},"500":{"description":"The request was not processed due to an internal error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}}}}}},"/console/v1/admins/{globalAdminID}/role":{"put":{"tags":["Administrators"],"summary":"Update administrator role","description":"Change the role and product-level access control configuration for the specified administrator. The request body must contain the complete desired role configuration. Any existing role settings not included in the request will be removed.\n<br>**Role behavior:**\n<br>- **Druva Cloud** - The administrator gets full access across all products. The productAccessControls field is ignored.\n<br>- **Product** - The productAccessControls field is required and defines per-product role and resource-level access.\n<br>\n<br>The available product roles and access controls applicable for a role can be fetched using the [List roles](/reference/listrolesrequest) API. \n > 📘 **Note** \n To use this API endpoint, enable the [Administrator API from Druva Cloud settings](/reference/administrators).","operationId":"UpdateAdminRoleRequest","parameters":[{"name":"globalAdminID","in":"path","description":"The global ID of the admin on which the action has to be performed. Get the global ID of the administrator using the [List all administrators](/reference/listadminsrequest) API.","required":true,"style":"simple","explode":false,"schema":{"type":"string"}},{"name":"Content-Type","in":"header","description":"Request content type header","required":true,"style":"simple","explode":false,"schema":{"type":"string","enum":["application/json"]}}],"requestBody":{"description":"Request body","content":{"application/json":{"schema":{"$ref":"#/components/schemas/admins_globalAdminID_role_body"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateAdminRoleResponse"}}}},"400":{"description":"Bad Request","content":{}},"404":{"description":"The requested resource was not found.","content":{}},"500":{"description":"The request was not processed due to an internal error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}}}}}},"/console/v1/admin/password":{"post":{"tags":["Administrators"],"summary":"Change an administrator's password","description":"Changes an adiminstrator's password.","operationId":"ChangeAdminPassword","parameters":[{"name":"Content-Type","in":"header","description":"Request content type header","required":true,"style":"simple","explode":false,"schema":{"type":"string","enum":["application/json"]}}],"requestBody":{"description":"Request body","content":{"application/json":{"schema":{"$ref":"#/components/schemas/admin_password_body"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangePasswordResponse"}}}},"403":{"description":"User is not authorized to access this resource with an explicit deny","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}}},"404":{"description":"The requested resource was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}}},"422":{"description":"Could be one of: \n - Password does not match password policy. Please check password policy. \n - Incorrect current password.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}}},"500":{"description":"The request was not processed due to an internal error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}}}}}},"/auth/v3/customers/safemode/activate":{"post":{"tags":["Administration"],"summary":"Activate Safe mode","description":"This API initiates Safe Mode on your Cloud Console, imposing critical restrictions to mitigate active threats. It enables granular control by restricting administrator logins, blocking specified API credentials, and halting all backup operations, restores, and downloads.\n * This operation requires API credentials with the Druva Cloud Administrator role.\n * Safe Mode is activated immediately upon successful API call.","operationId":"CreateSafeModeActivationSettings","parameters":[{"name":"Content-Type","in":"header","description":"Request content type header","required":true,"style":"simple","explode":false,"schema":{"type":"string","enum":["application/json"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"activationInfo":{"type":"object","description":"Configuration details for activating Safe Mode.","properties":{"activationFor":{"type":"object","description":"Defines the specific restrictions to enforce when Safe Mode is activated. At least one restriction must be set to 'true'.","properties":{"restrictAdminLogin":{"type":"boolean","description":"If 'true', restricts administrator login access to the Cloud Console. Only administrators specified in allowedAdminIds will be permitted to log in."},"restrictApiCredentials":{"type":"boolean","description":"If 'true', restricts all API credential access. Only client credentials specified in allowedClientCredentialIds will be able to authenticate."},"stopBackup":{"type":"boolean","description":"If 'true', halts all scheduled backup operations across the customer environment."},"stopRestoreDownload":{"type":"boolean","description":"If 'true', prevents all data restore and download operations."}},"required":["restrictAdminLogin","restrictApiCredentials","stopBackup","stopRestoreDownload"],"additionalProperties":false},"allowedAdminIds":{"type":"array","description":"List of administrator global IDs that will retain login access when restrictAdminLogin is 'true'.\n * Get the global Admin ID of the administrator using the [List all administrators](/reference/listadminsrequest) API.\n * This parameter is required only if restrictAdminLogin is 'true'.","items":{"type":"string","description":"Global admin ID"},"uniqueItems":true},"allowedClientCredentialIds":{"type":"array","description":"List of client credential IDs that will retain API access when restrictApiCredentials is 'true'.\n * You can get the Client Credential ID from Integration Center > API Credentials > Client ID column.\n * This parameter is required only if restrictApiCredentials is 'true'.","items":{"type":"string","description":"Client credential ID"},"uniqueItems":true},"notificationEmailRecipients":{"type":"array","description":"A list of email addresses to notify about Safe Mode activation. Druva Cloud Administrator emails are included by default (no need to provide in input). Maximum of 20 recipients allowed.","items":{"type":"string","format":"email","description":"Email address of notification recipient"},"maxItems":20,"uniqueItems":true}},"required":["activationFor","allowedAdminIds","allowedClientCredentialIds","notificationEmailRecipients"],"additionalProperties":false}},"required":["activationInfo"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateSafeModeActivationSettingsResponse"}}}},"403":{"description":"User is not authorized to access this resource with an explicit deny","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}}},"404":{"description":"The requested resource was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}}},"422":{"description":"Could be one of: \n - Password does not match password policy. Please check password policy. \n - Incorrect current password.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}}},"500":{"description":"The request was not processed due to an internal error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}}}}}}},"components":{"schemas":{"APIError":{"type":"object","properties":{"code":{"type":"string","x-go-name":"Code"},"data":{"type":"object","additionalProperties":{"type":"object"},"x-go-name":"Data"},"message":{"type":"string","x-go-name":"Message"},"retryable":{"type":"boolean","x-go-name":"Retry"}},"description":"APIError defines an application error result format","x-go-package":"druva.com/godevkit/errortype"},"GetReportsListResponse":{"title":"GetReportsListResponse ...","type":"object","properties":{"reports":{"type":"array","items":{"$ref":"#/components/schemas/Report"},"x-go-name":"Report"}},"x-go-package":"git.druva.org/druva.com/dcp-reporting-service/spec/api"},"Report":{"title":"Report ...","type":"object","properties":{"reportID":{"type":"string","description":"The unique ID given for the report.","example":"dgRollbackActions","x-go-name":"ReportID"},"reportName":{"type":"string","description":"The name of the report.","example":"Rollback Actions Report","x-go-name":"ReportName"},"reportDescription":{"type":"string","description":"The description of the report.","example":"Details of deleted, rolled back, and permanently deleted entities.","x-go-name":"ReportDescription"},"productName":{"type":"string","description":"The name of the associated product.","example":"Cyber Resilience","x-go-name":"ProductName"},"version":{"type":"string","description":"The version supported for the report. Example - v1","example":"v1","x-g-name":"Version"}},"x-go-package":"git.druva.org/druva.com/dcp-reporting-service/spec/api"},"GetReportDataResponse":{"title":"GetReportDataResponse ...","type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/ReportData"},"x-go-name":"Data"},"lastSyncTimestamp":{"type":"string","description":"Time stamp until which report data is returned in the API. The time is in the UTC time zone.","format":"date-time","x-go-name":"LastSyncTimestamp"},"filters":{"type":"object","properties":{},"description":"Filters applied on the report."},"nextPageToken":{"type":"string","description":"The token to access the next page of results. This parameter will be empty for the last page of the results. This token is valid for 5 minutes.","example":"YTBDNDk6Rjk1MmViY1FpTVpBejNFTU9lSWxzUT09OjA=","x-go-name":"NextPageToken"}},"x-go-package":"git.druva.org/druva.com/dcp-reporting-service/spec/api"},"ReportData":{"title":"ReportData ...","type":"object","additionalProperties":true,"description":"The actual data of the report. For example, if you fetch an alert report, this object contains the data of an alert.","x-go-package":"git.druva.org/druva.com/dcp-reporting-service/spec/api"},"ListEventsResponse":{"title":"ListEventsResponse (API v1)","type":"object","properties":{"events":{"type":"array","items":{"$ref":"#/components/schemas/EventResponse"}}},"x-go-package":"git.druva.org/dcp/dcp_event_manager/spec/req_resp"},"ListEventsResponseTwo":{"title":"ListEventsResponse (API v2)","type":"object","properties":{"events":{"type":"array","items":{"$ref":"#/components/schemas/EventResponseTwo"}}},"x-go-package":"git.druva.org/dcp/dcp_event_manager/spec/req_resp"},"ListEventsResponseThree":{"title":"ListEventsResponse (API v3)","type":"object","properties":{"events":{"type":"array","items":{"$ref":"#/components/schemas/EventResponseThree"}}},"x-go-package":"git.druva.org/dcp/dcp_event_manager/spec/req_resp"},"EventResponse":{"title":"EventResponse (API v1)","type":"object","properties":{"category":{"type":"string","description":"category represents one of the [EVENT, ALERT, AUDIT]."},"details":{"type":"string","description":"details represents the product specific event details."},"feature":{"type":"string","description":"feature represents the feature by which event was generated."},"globalID":{"type":"string","description":"globalID represents the global ID of the customer or global ID of theMSP."},"timeStamp":{"type":"integer","description":"Time at which event occurred.","format":"integer"},"productID":{"type":"integer","description":"productID represents the id of the product that generated the event.","format":"integer"},"syslogFacility":{"type":"integer","description":"Fixed values based on event source category.","format":"integer"},"syslogSeverity":{"type":"integer","description":"syslogSeverity represents the severity(0-7) of the event. <br>For Emergency 0 <br>For Alert (action must be taken immediately) 1 <br>For Critical (critical conditions) 2 <br>For Error (error conditions) 3 <br>For Warning (warning conditions) 4 <br>For Notice (normal but significant condition) 5 <br>For Informational (informational messages) 6 <br>For Debug (debug-level messages) 7"},"type":{"type":"string","description":"type represents the type of the event e.g - Login,Logout,LicenseExpired,BackupStatus etc."}},"x-go-package":"git.druva.org/dcp/dcp_event_manager/spec/req_resp"},"EventResponseTwo":{"title":"EventResponse (API v2)","type":"object","properties":{"category":{"type":"string","description":"category represents one of the [EVENT, ALERT, AUDIT]."},"details":{"type":"object","description":"details represents the product specific event details. For more information on events that DCP publishes, see [Druva Cloud Platform events](/reference/druva-cloud-platform-events)."},"feature":{"type":"string","description":"feature represents the feature by which event was generated."},"globalID":{"type":"string","description":"globalID represents the global ID of the customer or global ID of theMSP."},"timeStamp":{"type":"integer","description":"Time at which event occurred.","format":"integer"},"productID":{"type":"integer","description":"productID represents the id of the product that generated the event.","format":"integer"},"syslogFacility":{"type":"integer","description":"Fixed values based on event source category.","format":"integer"},"syslogSeverity":{"type":"integer","description":"syslogSeverity represents the severity(0-7) of the event. <br>For Emergency 0 <br>For Alert (action must be taken immediately) 1 <br>For Critical (critical conditions) 2 <br>For Error (error conditions) 3 <br>For Warning (warning conditions) 4 <br>For Notice (normal but significant condition) 5 <br>For Informational (informational messages) 6 <br>For Debug (debug-level messages) 7"},"type":{"type":"string","description":"type represents the type of the event e.g - Login,Logout,LicenseExpired,BackupStatus etc."}},"x-go-package":"git.druva.org/dcp/dcp_event_manager/spec/req_resp"},"EventResponseThree":{"title":"EventResponse (API v3)","type":"object","properties":{"category":{"type":"string","description":"category represents one of the [EVENT, ALERT, AUDIT]."},"details":{"type":"object","description":"details represents the product specific event details. For more information
# --- truncated at 32 KB (67 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/druva/refs/heads/main/openapi/druva-platform-openapi.json