SingleStore · Capability

SingleStore Management API — Organizations

SingleStore Management API — Organizations. 1 operations. Lead operation: Get Current Organization. Self-contained Naftiko capability covering one Singlestore business surface.

Run with Naftiko SinglestoreOrganizations

What You Can Do

GET
Getcurrentorganization — Get Current Organization
/v1/organizations/current

MCP Tools

get-current-organization

Get Current Organization

read-only idempotent

Capability Spec

management-organizations.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: SingleStore Management API — Organizations
  description: 'SingleStore Management API — Organizations. 1 operations. Lead operation: Get Current Organization. Self-contained
    Naftiko capability covering one Singlestore business surface.'
  tags:
  - Singlestore
  - Organizations
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SINGLESTORE_API_KEY: SINGLESTORE_API_KEY
capability:
  consumes:
  - type: http
    namespace: management-organizations
    baseUri: https://api.singlestore.com/v1
    description: SingleStore Management API — Organizations business capability. Self-contained, no shared references.
    resources:
    - name: organizations-current
      path: /organizations/current
      operations:
      - name: getcurrentorganization
        method: GET
        description: Get Current Organization
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.SINGLESTORE_API_KEY}}'
  exposes:
  - type: rest
    namespace: management-organizations-rest
    port: 8080
    description: REST adapter for SingleStore Management API — Organizations. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/organizations/current
      name: organizations-current
      description: REST surface for organizations-current.
      operations:
      - method: GET
        name: getcurrentorganization
        description: Get Current Organization
        call: management-organizations.getcurrentorganization
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: management-organizations-mcp
    port: 9090
    transport: http
    description: MCP adapter for SingleStore Management API — Organizations. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: get-current-organization
      description: Get Current Organization
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: management-organizations.getcurrentorganization
      outputParameters:
      - type: object
        mapping: $.