Polytomic · Capability

API Reference — subpackage_identity

API Reference — subpackage_identity. 1 operations. Lead operation: Get Identity. Self-contained Naftiko capability covering one Polytomic business surface.

Run with Naftiko Polytomicsubpackage_identity

What You Can Do

GET
Get — Get Identity
/v1/api/me

MCP Tools

get-identity

Get Identity

read-only idempotent

Capability Spec

polytomic-subpackage-identity.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: API Reference — subpackage_identity
  description: 'API Reference — subpackage_identity. 1 operations. Lead operation: Get Identity. Self-contained Naftiko capability
    covering one Polytomic business surface.'
  tags:
  - Polytomic
  - subpackage_identity
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    POLYTOMIC_API_KEY: POLYTOMIC_API_KEY
capability:
  consumes:
  - type: http
    namespace: polytomic-subpackage-identity
    baseUri: https://app.polytomic.com
    description: API Reference — subpackage_identity business capability. Self-contained, no shared references.
    resources:
    - name: api-me
      path: /api/me
      operations:
      - name: get
        method: GET
        description: Get Identity
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: X-Polytomic-Version
          in: header
          type: string
    authentication:
      type: bearer
      token: '{{env.POLYTOMIC_API_KEY}}'
  exposes:
  - type: rest
    namespace: polytomic-subpackage-identity-rest
    port: 8080
    description: REST adapter for API Reference — subpackage_identity. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/api/me
      name: api-me
      description: REST surface for api-me.
      operations:
      - method: GET
        name: get
        description: Get Identity
        call: polytomic-subpackage-identity.get
        with:
          X-Polytomic-Version: rest.X-Polytomic-Version
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: polytomic-subpackage-identity-mcp
    port: 9090
    transport: http
    description: MCP adapter for API Reference — subpackage_identity. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: get-identity
      description: Get Identity
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: polytomic-subpackage-identity.get
      with:
        X-Polytomic-Version: tools.X-Polytomic-Version
      outputParameters:
      - type: object
        mapping: $.