---
title: "POST /v1/services:generateConfigReport"
method: POST
path: "/v1/services:generateConfigReport"
tags: ["services"]
---

# POST /v1/services:generateConfigReport

`POST /v1/services:generateConfigReport`

Generates and returns a report (errors, warnings and changes from existing configurations) associated with GenerateConfigReportRequest.new_value If GenerateConfigReportRequest.old_value is specified, GenerateConfigReportRequest will contain a single ChangeReport based on the comparison between GenerateConfigReportRequest.new_value and GenerateConfigReportRequest.old_value. If GenerateConfigReportRequest.old_value is not specified, this method will compare GenerateConfigReportRequest.new_value with the last pushed service configuration.

## Request body

- GenerateConfigReportRequest — Request message for GenerateConfigReport method.
  - `newConfig` object — Required. Service configuration for which we want to generate the report. For this version of API, the supported types are google.api.servicemanagement.v1.ConfigRef, google.api.servicemanagement.v1.ConfigSource, and google.api.Service
  - `oldConfig` object — Optional. Service configuration against which the comparison will be done. For this version of API, the supported types are google.api.servicemanagement.v1.ConfigRef, google.api.servicemanagement.v1.ConfigSource, and google.api.Service

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/servicemanagement.md) · [All operations](https://skmtc.net/google/apis/servicemanagement/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/servicemanagement/versions/b1952da149f2/schema)
