# Retrieve the list of services across managed computers Returns the list of services detected across managed computers. Supports filtering by name and pagination. ## Endpoint `GET /dcapi/inventory/computers/services` ## Request ### Request URL https://[_{serverurl}_](https://www.manageengine.com/products/desktop-central/help/api/cloud/oauth-authentication-endpoint-domain.html)/dcapi/inventory/computers/services ### Scope `DesktopCentralCloud.Inventory.READ` ### Header `Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52` ### Request Parameters #### Request Headers | Parameter | Type | Requirement | Value | |---|---|---|---| | Accept | string | Mandatory | `application/services.v1+json` | #### Query Parameters | Parameter | Type | Requirement | Description | |---|---|---|---| | searchString | string | Optional | Filter services by name | | offset | integer | Optional | Pagination offset | | limit | integer | Optional | Page size limit | ### Sample Request ```curl curl --request GET \ --url https://appdomains/dcapi/inventory/computers/services \ --header 'Accept: application/services.v1+json' \ --header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' ``` ## Response ### HTTP 200 Response Body: `application/json` | Attribute | Type | Description | |---|---|---| | key | string | Internal key identifier of the service | | displayName | string | Display name of the service | #### Sample Response: HTTP 200 List of services detected across computers ```json [ { "displayName": "Sample Service A", "key": "Sample Service A" }, { "displayName": "Sample Service B", "key": "Sample Service B" }, { "displayName": "Sample Service C", "key": "Sample Service C" } ] ``` ### HTTP 400 Response Body: `application/json` | Attribute | Type | Description | |---|---|---| | error_code | string | CUSTOMER_HEADER_MISSING - MSP environment requires X-Customer header | | error_description | string | Missing customer header error message | #### Sample Response: HTTP 400 MSP header missing ```json { "error_description": "dc.rest.customer_header.missing", "error_code": "CUSTOMER_HEADER_MISSING" } ``` ### HTTP 401 Response Body: `application/json` | Attribute | Type | Description | |---|---|---| | error_code | string | UAC_UNAUTHORIZED - user lacks the required uem-roles or credentials are missing | | error_description | string | Authentication or authorization failure reason | #### Sample Response: HTTP 401 Missing credentials ```json { "error_description": "Unauthorized access", "error_code": "UAC_UNAUTHORIZED" } ``` ### HTTP 500 Response Body: `application/json` | Attribute | Type | Description | |---|---|---| | error_code | string | INTERNAL_ERROR - unexpected exception in the service layer | | error_description | string | Internal server error message | #### Sample Response: HTTP 500 Server error ```json { "error_description": "Internal server error", "error_code": "INTERNAL_ERROR" } ``` ### Possible Response Codes | HTTP Code | |---| | 200 | | 400 | | 401 | | 500 | ## Rate Limits ![](https://www.zohowebstatic.com/sites/zweb/images/people/ico-help.png) **Duration:** 1 minute | **Threshold:** 120 | **Lock period:** 5 minutes Duration - Time window for the threshold. Threshold - Number of API calls allowed within the specified duration. Lock Period - Wait time before consecutive API requests.