Draft a description for a changeset

POST /Platform/entities/changesets/draft-description

Draft a description for a changeset.

Reads the diff that opening a changeset from from_branch would freeze (every changed item, then their diffs up to a size cap) and asks a small model for the shortest plain description of what the change does and why: one to three sentences. Nothing is written; pass the text, edited or not, as description to changeset_open. Each call is one LLM request.

Body parameters

Returns

ChangesetDescriptionDraft

Example request

curl -X POST "https://api.hilus.ai/Platform/entities/changesets/draft-description" \
  -H "Authorization: Bearer $HILUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'