Skip to content

feat: add elastic api for untyped HTTP #641

Open

Description

@margaretjgu

The command surface is generated from specs, but agents still hit gaps: preview Kibana routes, custom headers, undocumented query params, and hitting an arbitrary path during incidents.

Add elastic api <method> <path> that uses the active context's ES, Kibana, or Cloud base URL (--service es|kb|cloud). Reuse existing auth, --json, --dry-run, --input-file. No pagination helper in MVP.

Prefer typed commands. Use elastic api only when no generated command exists.

Acceptance: elastic api GET / --service es --dry-run prints the resolved request. A real GET / against a configured ES returns cluster info. Path params are encoded. redirect: 'error' on the fetch.

Activity

  1. added
    enhancement
    on Sep 14, 2026
  2. self-assigned this
    on Sep 28, 2026
  3. added
    tracking
    on Nov 2, 2026
  4. JoshMock commented on Nov 2, 2026

    @JoshMock
    Member

    @kobelb brought up this same idea the other day and may be opening up a couple more related issues. let's make sure to incorporate his feedback and needs in before restarting this work soon. #719 can stay closed in the meantime.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementtracking

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions