Use this endpoint to retrieve a single Ops Manager server log collection job by its identifier.
Base URL: https://{OPSMANAGER-HOST}:{PORT}/api/public/v1.0
Resource
GET /admin/omLogCollectionJobs/{JOB-ID}
Required Roles
Requires that the API Key calling this endpoint have the
Global Read Only role.
Request Parameters
Request Path Parameters
Name | Type | Necessity | Description |
|---|---|---|---|
| string | Required | Unique 24-hexadecimal digit string that identifies the Ops Manager server log collection job. To find a job ID, call Get All Ops Manager Server Log Collection Jobs. |
Request Query Parameters
Name | Type | Necessity | Description | Default |
|---|---|---|---|---|
| boolean | Optional | Flag that indicates whether to include all child jobs in the response. |
|
| boolean | Optional | Flag indicating whether the response body should be in a prettyprint format. |
|
| boolean | Optional | Flag that indicates whether to wrap the response in an
envelope. Some API clients cannot access the HTTP
response headers or status code. To remediate this, set
|
|
Request Body Parameters
This endpoint doesn't use HTTP request body parameters.
Response
The response returns a single Ops Manager server log collection job.
Name | Type | Description |
|---|---|---|
| string | Unique 24-hexadecimal digit string that identifies this job. |
| string | Status of the job. Returns one of the following values:
|
| string | Timestamp, in ISO 8601 UTC format, when Ops Manager created the job. |
| string | Timestamp, in ISO 8601 UTC format, when the job expires and Ops Manager automatically deletes its data. |
| string | Timestamp, in ISO 8601 UTC format, when the job finished.
|
| array of strings | List of |
| array of strings | Log types included in this request. Returns one or more of the following values:
|
| number | Maximum requested size, in bytes, per log type per server. |
| string | Start of the time range filter, in ISO 8601 UTC format.
|
| string | End of the time range filter, in ISO 8601 UTC format.
|
| number | Total uncompressed size, in bytes, of the collected log data. |
| boolean | Flag that indicates whether Ops Manager truncated any child
job's collected data because the data reached
|
| string | URL from which you can download the archive. See Download Ops Manager Server Logs. |
| array | List of child jobs associated with this request. Ops Manager
includes this field only when you set |
childJobs Embedded Document
Each child job represents the log collection task for one server and one log type.
Name | Type | Description |
|---|---|---|
| string |
|
| string | Log type that this child job collects. Returns one of the following values:
|
| string | Status of this child job. Returns one of the following values:
|
| string | Timestamp, in ISO 8601 UTC format, when this child job started. |
| string | Timestamp, in ISO 8601 UTC format, when this child job
finished. |
| string | Error message that explains why this child job failed.
|
| boolean | Flag that indicates whether Ops Manager truncated this child
job's collected data because the data reached
|
| number | Total uncompressed disk space, in bytes, that this child job uses. |
Example Request
curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" --digest \ --header "Accept: application/json" \ --include \ --request GET \ "https://<OpsManagerHost>:<Port>/api/public/v1.0/admin/omLogCollectionJobs/{JOB-ID}?verbose=true&pretty=true"
Example Response
Response Header
401 Unauthorized Content-Type: application/json;charset=ISO-8859-1 Date: {dateInUnixFormat} WWW-Authenticate: Digest realm="MMS Public API", domain="", nonce="{nonce}", algorithm=MD5, op="auth", stale=false Content-Length: {requestLengthInBytes} Connection: keep-alive
200 OK Vary: Accept-Encoding Content-Type: application/json Strict-Transport-Security: max-age=300 Date: {dateInUnixFormat} Connection: keep-alive Content-Length: {requestLengthInBytes} X-MongoDB-Service-Version: gitHash={gitHash}; versionString={ApplicationVersion}
Response Body
{ "id": "675a1234567890abcdef1234", "status": "SUCCESS", "creationDate": "2026-04-13T10:00:00Z", "expirationDate": "2026-04-20T10:00:00Z", "finishDate": "2026-04-13T10:02:30Z", "servers": [ "om-server-1.example.com", "om-server-2.example.com" ], "logTypes": ["APPLICATION", "HTTP_ACCESS", "MIGRATION"], "sizeRequestedPerFileBytes": 5242880, "logCollectionFromDate": "2026-04-12T00:00:00Z", "logCollectionToDate": "2026-04-13T00:00:00Z", "uncompressedSizeTotalBytes": 15728640, "sizeLimitHit": false, "downloadUrl": "https://<OpsManagerHost>:<Port>/api/public/v1.0/admin/omLogCollectionJobs/675a1234567890abcdef1234:download", "childJobs": [ { "serverId": "om-server-1.example.com", "logCollectionType": "APPLICATION", "status": "SUCCESS", "startDate": "2026-04-13T10:00:05Z", "finishDate": "2026-04-13T10:01:30Z", "errorMessage": null, "sizeLimitHit": false, "uncompressedDiskspaceBytes": 2621440 }, { "serverId": "om-server-1.example.com", "logCollectionType": "HTTP_ACCESS", "status": "SUCCESS", "startDate": "2026-04-13T10:00:05Z", "finishDate": "2026-04-13T10:02:00Z", "errorMessage": null, "sizeLimitHit": false, "uncompressedDiskspaceBytes": 1310720 }, { "serverId": "om-server-1.example.com", "logCollectionType": "MIGRATION", "status": "SUCCESS", "startDate": "2026-04-13T10:00:05Z", "finishDate": "2026-04-13T10:01:15Z", "errorMessage": null, "sizeLimitHit": false, "uncompressedDiskspaceBytes": 524288 }, { "serverId": "om-server-2.example.com", "logCollectionType": "APPLICATION", "status": "SUCCESS", "startDate": "2026-04-13T10:00:10Z", "finishDate": "2026-04-13T10:02:30Z", "errorMessage": null, "sizeLimitHit": false, "uncompressedDiskspaceBytes": 3145728 } ] }