LangSmith · Capability

LangSmith — service-accounts

LangSmith — service-accounts. 3 operations. Lead operation: Get Service Accounts. Self-contained Naftiko capability covering one Langsmith business surface.

Run with Naftiko Langsmithservice-accounts

What You Can Do

GET
Getserviceaccountsapiv1serviceaccountsget — Get Service Accounts
/v1/api/v1/service-accounts
POST
Createserviceaccountapiv1serviceaccountspost — Create Service Account
/v1/api/v1/service-accounts
DELETE
Deleteserviceaccountapiv1serviceaccountsserviceaccountiddelete — Delete Service Account
/v1/api/v1/service-accounts/{service-account-id}

MCP Tools

get-service-accounts

Get Service Accounts

read-only idempotent
create-service-account

Create Service Account

delete-service-account

Delete Service Account

idempotent

Capability Spec

langsmith-service-accounts.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: LangSmith — service-accounts
  description: 'LangSmith — service-accounts. 3 operations. Lead operation: Get Service Accounts. Self-contained Naftiko capability
    covering one Langsmith business surface.'
  tags:
  - Langsmith
  - service-accounts
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    LANGSMITH_API_KEY: LANGSMITH_API_KEY
capability:
  consumes:
  - type: http
    namespace: langsmith-service-accounts
    baseUri: ''
    description: LangSmith — service-accounts business capability. Self-contained, no shared references.
    resources:
    - name: api-v1-service-accounts
      path: /api/v1/service-accounts
      operations:
      - name: getserviceaccountsapiv1serviceaccountsget
        method: GET
        description: Get Service Accounts
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createserviceaccountapiv1serviceaccountspost
        method: POST
        description: Create 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-service_account_id
      path: /api/v1/service-accounts/{service_account_id}
      operations:
      - name: deleteserviceaccountapiv1serviceaccountsserviceaccountiddelete
        method: DELETE
        description: Delete Service Account
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: service_account_id
          in: path
          type: string
          required: true
    authentication:
      type: bearer
      token: '{{env.LANGSMITH_API_KEY}}'
  exposes:
  - type: rest
    namespace: langsmith-service-accounts-rest
    port: 8080
    description: REST adapter for LangSmith — 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: getserviceaccountsapiv1serviceaccountsget
        description: Get Service Accounts
        call: langsmith-service-accounts.getserviceaccountsapiv1serviceaccountsget
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createserviceaccountapiv1serviceaccountspost
        description: Create Service Account
        call: langsmith-service-accounts.createserviceaccountapiv1serviceaccountspost
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/v1/service-accounts/{service-account-id}
      name: api-v1-service-accounts-service-account-id
      description: REST surface for api-v1-service-accounts-service_account_id.
      operations:
      - method: DELETE
        name: deleteserviceaccountapiv1serviceaccountsserviceaccountiddelete
        description: Delete Service Account
        call: langsmith-service-accounts.deleteserviceaccountapiv1serviceaccountsserviceaccountiddelete
        with:
          service_account_id: rest.service_account_id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: langsmith-service-accounts-mcp
    port: 9090
    transport: http
    description: MCP adapter for LangSmith — service-accounts. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: get-service-accounts
      description: Get Service Accounts
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: langsmith-service-accounts.getserviceaccountsapiv1serviceaccountsget
      outputParameters:
      - type: object
        mapping: $.
    - name: create-service-account
      description: Create Service Account
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: langsmith-service-accounts.createserviceaccountapiv1serviceaccountspost
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-service-account
      description: Delete Service Account
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: langsmith-service-accounts.deleteserviceaccountapiv1serviceaccountsserviceaccountiddelete
      with:
        service_account_id: tools.service_account_id
      outputParameters:
      - type: object
        mapping: $.