OptScale · Capability

OptScale REST API — Employees

OptScale REST API — Employees. 1 operations. Lead operation: List organization employees. Self-contained Naftiko capability covering one Optscale business surface.

Run with Naftiko OptscaleEmployees

What You Can Do

GET
Listemployees — List organization employees
/v1/organizations/{organization-id}/employees

MCP Tools

list-organization-employees

List organization employees

read-only idempotent

Capability Spec

optscale-employees.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: OptScale REST API — Employees
  description: 'OptScale REST API — Employees. 1 operations. Lead operation: List organization employees. Self-contained Naftiko
    capability covering one Optscale business surface.'
  tags:
  - Optscale
  - Employees
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    OPTSCALE_API_KEY: OPTSCALE_API_KEY
capability:
  consumes:
  - type: http
    namespace: optscale-employees
    baseUri: https://{host}/restapi/v2
    description: OptScale REST API — Employees business capability. Self-contained, no shared references.
    resources:
    - name: organizations-organization_id-employees
      path: /organizations/{organization_id}/employees
      operations:
      - name: listemployees
        method: GET
        description: List organization employees
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.OPTSCALE_API_KEY}}'
  exposes:
  - type: rest
    namespace: optscale-employees-rest
    port: 8080
    description: REST adapter for OptScale REST API — Employees. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/organizations/{organization-id}/employees
      name: organizations-organization-id-employees
      description: REST surface for organizations-organization_id-employees.
      operations:
      - method: GET
        name: listemployees
        description: List organization employees
        call: optscale-employees.listemployees
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: optscale-employees-mcp
    port: 9090
    transport: http
    description: MCP adapter for OptScale REST API — Employees. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: list-organization-employees
      description: List organization employees
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: optscale-employees.listemployees
      outputParameters:
      - type: object
        mapping: $.