---
title: "Generate config suggestions"
method: POST
path: "/v0/projects/{project}/configs/guess"
---

# Generate config suggestions

`POST /v0/projects/{project}/configs/guess`

Generate suggestions for changes to config files based on an OpenAPI spec.

## Path parameters

- `project` string, required

## Request body

- object
  - `branch` string — Branch name
  - `spec` string, required — OpenAPI spec

## Response `200`

success

- object — Config files contents

---

[API](https://skmtc.net/stainless-api/apis/my-api.md) · [All operations](https://skmtc.net/stainless-api/apis/my-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/stainless-api/my-api/versions/1d73a351f557/schema)
