Navigation
This version of the documentation is archived and no longer supported. To learn how to upgrade your version of MongoDB Ops Manager, refer to the upgrade documentation.
You were redirected from a different version of the documentation. Click here to go back.
This version of the manual is no longer supported.

Agents

Note

Groups and projects are synonymous terms. Your {PROJECT-ID} is the same as your project id. For existing groups, your group/project id remains the same. This page uses the more familiar term group when referring to descriptions. The endpoint remains as stated in the document.

Base URL: https://{OPSMANAGER-HOST}:{PORT}/api/public/v1.0

Endpoints

The following endpoints are available for agents:

Method Endpoint Description
GET /groups/{PROJECT-ID}/agents Get links to Monitoring, Backup, and Automation Agent resources for a project.
GET /groups/{PROJECT-ID}/agents/{TYPE} Get agents of a specified type (Monitoring, Backup, or Automation) for a project.
POST /groups/{PROJECT-ID}/agentapikeys Create one Agent API Key for a project.
GET /groups/{PROJECT-ID}/agentapikeys Get list of all Agent API Keys for one project.
DELETE /groups/{PROJECT-ID}/agentapikeys/{API-AGENT-KEY-ID} Get agents of a specified type (Monitoring, Backup, or Automation) for a project.