sync spec: add AI routines, model suggestions, credit controls, and whoami - #64
Merged
Conversation
…hoami Syncs the embedded OpenAPI spec from exploreomni/omni@main. New command groups and operations surfaced by the generator: - ai-routines: full CRUD plus trigger (routine-create, routine-get, routine-update, routine-delete, routines-list, routine-trigger) - ai-model-suggestions: model-suggestions-list/delete/ignore/restore and schedule enable/disable - ai: credit-controls-get and credit-controls-update - whoami: current identity and permissions Side-effect change pulled in by the full sync: - documents v2-get and v2-get-draft gain a --pretty query flag Co-Authored-By: Claude <noreply@anthropic.com>
n8agrin
approved these changes
Jun 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Syncs the embedded OpenAPI spec from
exploreomni/omni@main. The full sync surfaces 15 new operations across three new command groups plus additions toai, and one side-effect param on existing endpoints. No operations were removed.New command groups / operations:
ai-routines— full CRUD plus trigger:routine-create(POST/api/v1/ai/routines)routine-get(GET/api/v1/ai/routines/{id})routine-update(PATCH/api/v1/ai/routines/{id})routine-delete(DELETE/api/v1/ai/routines/{id})routines-list(GET/api/v1/ai/routines)routine-trigger(POST/api/v1/ai/routines/{id}/trigger)ai-model-suggestions:model-suggestions-list(GET/api/v1/models/{modelId}/suggestions)model-suggestions-delete/model-suggestions-ignore/model-suggestions-restoremodel-suggestions-schedule-enable(PUT) /model-suggestions-schedule-disable(DELETE)ai— credit controls:credit-controls-get(GET/api/v1/ai/credit-controls)credit-controls-update(PATCH/api/v1/ai/credit-controls)whoami:whoami(GET/api/v1/whoami) — current identity and permissions, optional--modelidfilterSide-effect changes pulled in by the full sync:
documents v2-getanddocuments v2-get-draftgain a--prettyquery flag.documents v2-createrequest body:containersis now nullable (type: ["array", "null"]). Passingcontainers: nullcreates a workbook-only document with no dashboard; in that casecontrolsandsettingsmust be omitted. (Body-schema change — sent via--body, so no flag change.)