## Generate Commit Message **post** `/v0/projects/{project}/generate_commit_message` Generates an AI commit message by comparing two git refs in the SDK repository. ### Path Parameters - `project: optional string` ### Query Parameters - `target: "python" or "node" or "typescript" or 10 more` Language target - `"python"` - `"node"` - `"typescript"` - `"java"` - `"kotlin"` - `"go"` - `"ruby"` - `"terraform"` - `"cli"` - `"csharp"` - `"php"` - `"openapi"` - `"sql"` ### Body Parameters - `base_ref: string` Base ref for comparison - `head_ref: string` Head ref for comparison ### Returns - `ai_commit_message: string` ### Example ```http curl https://api.stainless.com/v0/projects/$PROJECT/generate_commit_message \ -H 'Content-Type: application/json' \ -H "Authorization: Bearer $STAINLESS_API_KEY" \ -d '{ "base_ref": "base_ref", "head_ref": "head_ref" }' ```