LangSmith · Capability

LangSmith — usage-limits

LangSmith — usage-limits. 4 operations. Lead operation: List Usage Limits. Self-contained Naftiko capability covering one Langsmith business surface.

Run with Naftiko Langsmithusage-limits

What You Can Do

GET
Listusagelimitsapiv1usagelimitsget — List Usage Limits
/v1/api/v1/usage-limits
PUT
Upsertusagelimitapiv1usagelimitsput — Upsert Usage Limit
/v1/api/v1/usage-limits
GET
Listorgusagelimitsapiv1usagelimitsorgget — List Org Usage Limits
/v1/api/v1/usage-limits/org
DELETE
Deleteusagelimitapiv1usagelimitsusagelimitiddelete — Delete Usage Limit
/v1/api/v1/usage-limits/{usage-limit-id}

MCP Tools

list-usage-limits

List Usage Limits

read-only idempotent
upsert-usage-limit

Upsert Usage Limit

idempotent
list-org-usage-limits

List Org Usage Limits

read-only idempotent
delete-usage-limit

Delete Usage Limit

idempotent

Capability Spec

langsmith-usage-limits.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: LangSmith — usage-limits
  description: 'LangSmith — usage-limits. 4 operations. Lead operation: List Usage Limits. Self-contained Naftiko capability
    covering one Langsmith business surface.'
  tags:
  - Langsmith
  - usage-limits
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    LANGSMITH_API_KEY: LANGSMITH_API_KEY
capability:
  consumes:
  - type: http
    namespace: langsmith-usage-limits
    baseUri: ''
    description: LangSmith — usage-limits business capability. Self-contained, no shared references.
    resources:
    - name: api-v1-usage-limits
      path: /api/v1/usage-limits
      operations:
      - name: listusagelimitsapiv1usagelimitsget
        method: GET
        description: List Usage Limits
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: upsertusagelimitapiv1usagelimitsput
        method: PUT
        description: Upsert Usage Limit
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-v1-usage-limits-org
      path: /api/v1/usage-limits/org
      operations:
      - name: listorgusagelimitsapiv1usagelimitsorgget
        method: GET
        description: List Org Usage Limits
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-v1-usage-limits-usage_limit_id
      path: /api/v1/usage-limits/{usage_limit_id}
      operations:
      - name: deleteusagelimitapiv1usagelimitsusagelimitiddelete
        method: DELETE
        description: Delete Usage Limit
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: usage_limit_id
          in: path
          type: string
          required: true
    authentication:
      type: bearer
      token: '{{env.LANGSMITH_API_KEY}}'
  exposes:
  - type: rest
    namespace: langsmith-usage-limits-rest
    port: 8080
    description: REST adapter for LangSmith — usage-limits. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/api/v1/usage-limits
      name: api-v1-usage-limits
      description: REST surface for api-v1-usage-limits.
      operations:
      - method: GET
        name: listusagelimitsapiv1usagelimitsget
        description: List Usage Limits
        call: langsmith-usage-limits.listusagelimitsapiv1usagelimitsget
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: upsertusagelimitapiv1usagelimitsput
        description: Upsert Usage Limit
        call: langsmith-usage-limits.upsertusagelimitapiv1usagelimitsput
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/v1/usage-limits/org
      name: api-v1-usage-limits-org
      description: REST surface for api-v1-usage-limits-org.
      operations:
      - method: GET
        name: listorgusagelimitsapiv1usagelimitsorgget
        description: List Org Usage Limits
        call: langsmith-usage-limits.listorgusagelimitsapiv1usagelimitsorgget
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/v1/usage-limits/{usage-limit-id}
      name: api-v1-usage-limits-usage-limit-id
      description: REST surface for api-v1-usage-limits-usage_limit_id.
      operations:
      - method: DELETE
        name: deleteusagelimitapiv1usagelimitsusagelimitiddelete
        description: Delete Usage Limit
        call: langsmith-usage-limits.deleteusagelimitapiv1usagelimitsusagelimitiddelete
        with:
          usage_limit_id: rest.usage_limit_id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: langsmith-usage-limits-mcp
    port: 9090
    transport: http
    description: MCP adapter for LangSmith — usage-limits. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: list-usage-limits
      description: List Usage Limits
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: langsmith-usage-limits.listusagelimitsapiv1usagelimitsget
      outputParameters:
      - type: object
        mapping: $.
    - name: upsert-usage-limit
      description: Upsert Usage Limit
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: langsmith-usage-limits.upsertusagelimitapiv1usagelimitsput
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: list-org-usage-limits
      description: List Org Usage Limits
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: langsmith-usage-limits.listorgusagelimitsapiv1usagelimitsorgget
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-usage-limit
      description: Delete Usage Limit
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: langsmith-usage-limits.deleteusagelimitapiv1usagelimitsusagelimitiddelete
      with:
        usage_limit_id: tools.usage_limit_id
      outputParameters:
      - type: object
        mapping: $.