OpenObserve · Capability

openobserve — Groups

openobserve — Groups. 5 operations. Lead operation: List organization groups. Self-contained Naftiko capability covering one Openobserve business surface.

Run with Naftiko OpenobserveGroups

What You Can Do

GET
Listgroups — List organization groups
/v1/api/{org-id}/groups
POST
Creategroup — Create user group
/v1/api/{org-id}/groups
GET
Getgroup — Get group details
/v1/api/{org-id}/groups/{group-name}
PUT
Updategroup — Update user group
/v1/api/{org-id}/groups/{group-name}
DELETE
Deletegroup — Delete user group
/v1/api/{org-id}/groups/{group-name}

MCP Tools

list-organization-groups

List organization groups

read-only idempotent
create-user-group

Create user group

get-group-details

Get group details

read-only idempotent
update-user-group

Update user group

idempotent
delete-user-group

Delete user group

idempotent

Capability Spec

openobserve-groups.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: openobserve — Groups
  description: 'openobserve — Groups. 5 operations. Lead operation: List organization groups. Self-contained Naftiko capability
    covering one Openobserve business surface.'
  tags:
  - Openobserve
  - Groups
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    OPENOBSERVE_API_KEY: OPENOBSERVE_API_KEY
capability:
  consumes:
  - type: http
    namespace: openobserve-groups
    baseUri: ''
    description: openobserve — Groups business capability. Self-contained, no shared references.
    resources:
    - name: api-org_id-groups
      path: /api/{org_id}/groups
      operations:
      - name: listgroups
        method: GET
        description: List organization groups
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: org_id
          in: path
          type: string
          description: Organization name
          required: true
      - name: creategroup
        method: POST
        description: Create user group
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: org_id
          in: path
          type: string
          description: Organization name
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-org_id-groups-group_name
      path: /api/{org_id}/groups/{group_name}
      operations:
      - name: getgroup
        method: GET
        description: Get group details
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: org_id
          in: path
          type: string
          description: Organization name
          required: true
        - name: group_name
          in: path
          type: string
          description: Group name
          required: true
      - name: updategroup
        method: PUT
        description: Update user group
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: org_id
          in: path
          type: string
          description: Organization name
          required: true
        - name: group_name
          in: path
          type: string
          description: Group name
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deletegroup
        method: DELETE
        description: Delete user group
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: org_id
          in: path
          type: string
          description: Organization name
          required: true
        - name: group_name
          in: path
          type: string
          description: Group name
          required: true
    authentication:
      type: apikey
      key: Authorization
      value: '{{env.OPENOBSERVE_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: openobserve-groups-rest
    port: 8080
    description: REST adapter for openobserve — Groups. One Spectral-compliant resource per consumed operation, prefixed with
      /v1.
    resources:
    - path: /v1/api/{org-id}/groups
      name: api-org-id-groups
      description: REST surface for api-org_id-groups.
      operations:
      - method: GET
        name: listgroups
        description: List organization groups
        call: openobserve-groups.listgroups
        with:
          org_id: rest.org_id
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: creategroup
        description: Create user group
        call: openobserve-groups.creategroup
        with:
          org_id: rest.org_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/{org-id}/groups/{group-name}
      name: api-org-id-groups-group-name
      description: REST surface for api-org_id-groups-group_name.
      operations:
      - method: GET
        name: getgroup
        description: Get group details
        call: openobserve-groups.getgroup
        with:
          org_id: rest.org_id
          group_name: rest.group_name
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updategroup
        description: Update user group
        call: openobserve-groups.updategroup
        with:
          org_id: rest.org_id
          group_name: rest.group_name
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletegroup
        description: Delete user group
        call: openobserve-groups.deletegroup
        with:
          org_id: rest.org_id
          group_name: rest.group_name
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: openobserve-groups-mcp
    port: 9090
    transport: http
    description: MCP adapter for openobserve — Groups. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: list-organization-groups
      description: List organization groups
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: openobserve-groups.listgroups
      with:
        org_id: tools.org_id
      outputParameters:
      - type: object
        mapping: $.
    - name: create-user-group
      description: Create user group
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: openobserve-groups.creategroup
      with:
        org_id: tools.org_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-group-details
      description: Get group details
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: openobserve-groups.getgroup
      with:
        org_id: tools.org_id
        group_name: tools.group_name
      outputParameters:
      - type: object
        mapping: $.
    - name: update-user-group
      description: Update user group
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: openobserve-groups.updategroup
      with:
        org_id: tools.org_id
        group_name: tools.group_name
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-user-group
      description: Delete user group
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: openobserve-groups.deletegroup
      with:
        org_id: tools.org_id
        group_name: tools.group_name
      outputParameters:
      - type: object
        mapping: $.