v38

latestOpenAPI 3.1.0raw.githubusercontent.com2026-06-1793196344.2 KB
Context Documents

Rename a team — persists to config, applied on next regen

Persist a team rename.

Fires no regen on its own — the rename applies to the next generated tree. Chain-flattens on write: renaming X→Y where an existing override K→X exists rewrites that to K→Y and still records X→Y, so future lookups are always one hop deep.

post/context-documents/teams/rename

Request body

old_slugstring required

Current team slug as emitted by detection.

new_slugstring required

Replacement slug; used in file paths and seed.

new_namestring nullable

Optional display name override. Omit to let the LLM pick.

Response

Successful Response

team_overridesobject required