Temporal · Capability

Temporal Cloud Operations API — Service Accounts

Temporal Cloud Operations API — Service Accounts. 4 operations. Lead operation: List Service Accounts. Self-contained Naftiko capability covering one Temporal business surface.

Run with Naftiko TemporalService Accounts

What You Can Do

GET
Listserviceaccounts — List Service Accounts
/v1/api/v1/service-accounts
POST
Createserviceaccount — Create a Service Account
/v1/api/v1/service-accounts
GET
Getserviceaccount — Get a Service Account
/v1/api/v1/service-accounts/{serviceaccountid}
DELETE
Deleteserviceaccount — Delete a Service Account
/v1/api/v1/service-accounts/{serviceaccountid}

MCP Tools

list-service-accounts

List Service Accounts

read-only idempotent
create-service-account

Create a Service Account

get-service-account

Get a Service Account

read-only idempotent
delete-service-account

Delete a Service Account

idempotent

Capability Spec

cloud-ops-service-accounts.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Temporal Cloud Operations API — Service Accounts
  description: 'Temporal Cloud Operations API — Service Accounts. 4 operations. Lead operation: List Service Accounts. Self-contained
    Naftiko capability covering one Temporal business surface.'
  tags:
  - Temporal
  - Service Accounts
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    TEMPORAL_API_KEY: TEMPORAL_API_KEY
capability:
  consumes:
  - type: http
    namespace: cloud-ops-service-accounts
    baseUri: https://saas-api.tmprl.cloud
    description: Temporal Cloud Operations API — Service Accounts business capability. Self-contained, no shared references.
    resources:
    - name: api-v1-service-accounts
      path: /api/v1/service-accounts
      operations:
      - name: listserviceaccounts
        method: GET
        description: List Service Accounts
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: pageSize
          in: query
          type: integer
        - name: pageToken
          in: query
          type: string
      - name: createserviceaccount
        method: POST
        description: Create a Service Account
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-v1-service-accounts-serviceAccountId
      path: /api/v1/service-accounts/{serviceAccountId}
      operations:
      - name: getserviceaccount
        method: GET
        description: Get a Service Account
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: serviceAccountId
          in: path
          type: string
          required: true
      - name: deleteserviceaccount
        method: DELETE
        description: Delete a Service Account
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: serviceAccountId
          in: path
          type: string
          required: true
    authentication:
      type: bearer
      token: '{{env.TEMPORAL_API_KEY}}'
  exposes:
  - type: rest
    namespace: cloud-ops-service-accounts-rest
    port: 8080
    description: REST adapter for Temporal Cloud Operations API — Service Accounts. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/api/v1/service-accounts
      name: api-v1-service-accounts
      description: REST surface for api-v1-service-accounts.
      operations:
      - method: GET
        name: listserviceaccounts
        description: List Service Accounts
        call: cloud-ops-service-accounts.listserviceaccounts
        with:
          pageSize: rest.pageSize
          pageToken: rest.pageToken
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createserviceaccount
        description: Create a Service Account
        call: cloud-ops-service-accounts.createserviceaccount
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/v1/service-accounts/{serviceaccountid}
      name: api-v1-service-accounts-serviceaccountid
      description: REST surface for api-v1-service-accounts-serviceAccountId.
      operations:
      - method: GET
        name: getserviceaccount
        description: Get a Service Account
        call: cloud-ops-service-accounts.getserviceaccount
        with:
          serviceAccountId: rest.serviceAccountId
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteserviceaccount
        description: Delete a Service Account
        call: cloud-ops-service-accounts.deleteserviceaccount
        with:
          serviceAccountId: rest.serviceAccountId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: cloud-ops-service-accounts-mcp
    port: 9090
    transport: http
    description: MCP adapter for Temporal Cloud Operations API — Service Accounts. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: list-service-accounts
      description: List Service Accounts
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: cloud-ops-service-accounts.listserviceaccounts
      with:
        pageSize: tools.pageSize
        pageToken: tools.pageToken
      outputParameters:
      - type: object
        mapping: $.
    - name: create-service-account
      description: Create a Service Account
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: cloud-ops-service-accounts.createserviceaccount
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-service-account
      description: Get a Service Account
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: cloud-ops-service-accounts.getserviceaccount
      with:
        serviceAccountId: tools.serviceAccountId
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-service-account
      description: Delete a Service Account
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: cloud-ops-service-accounts.deleteserviceaccount
      with:
        serviceAccountId: tools.serviceAccountId
      outputParameters:
      - type: object
        mapping: $.