LangSmith · Capability

LangSmith — TTL Settings

LangSmith — TTL Settings. 2 operations. Lead operation: Get workspace TTL settings. Self-contained Naftiko capability covering one Langsmith business surface.

Run with Naftiko LangsmithTTL Settings

What You Can Do

GET
Get — Get workspace TTL settings
/v1/workspaces/current/ttl-settings
PUT
Put — Update workspace TTL settings
/v1/workspaces/current/ttl-settings

MCP Tools

get-workspace-ttl-settings

Get workspace TTL settings

read-only idempotent
update-workspace-ttl-settings

Update workspace TTL settings

idempotent

Capability Spec

langsmith-ttl-settings.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: LangSmith — TTL Settings
  description: 'LangSmith — TTL Settings. 2 operations. Lead operation: Get workspace TTL settings. Self-contained Naftiko
    capability covering one Langsmith business surface.'
  tags:
  - Langsmith
  - TTL Settings
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    LANGSMITH_API_KEY: LANGSMITH_API_KEY
capability:
  consumes:
  - type: http
    namespace: langsmith-ttl-settings
    baseUri: ''
    description: LangSmith — TTL Settings business capability. Self-contained, no shared references.
    resources:
    - name: workspaces-current-ttl-settings
      path: /workspaces/current/ttl-settings
      operations:
      - name: get
        method: GET
        description: Get workspace TTL settings
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: put
        method: PUT
        description: Update workspace TTL settings
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.LANGSMITH_API_KEY}}'
  exposes:
  - type: rest
    namespace: langsmith-ttl-settings-rest
    port: 8080
    description: REST adapter for LangSmith — TTL Settings. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/workspaces/current/ttl-settings
      name: workspaces-current-ttl-settings
      description: REST surface for workspaces-current-ttl-settings.
      operations:
      - method: GET
        name: get
        description: Get workspace TTL settings
        call: langsmith-ttl-settings.get
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: put
        description: Update workspace TTL settings
        call: langsmith-ttl-settings.put
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: langsmith-ttl-settings-mcp
    port: 9090
    transport: http
    description: MCP adapter for LangSmith — TTL Settings. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: get-workspace-ttl-settings
      description: Get workspace TTL settings
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: langsmith-ttl-settings.get
      outputParameters:
      - type: object
        mapping: $.
    - name: update-workspace-ttl-settings
      description: Update workspace TTL settings
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: langsmith-ttl-settings.put
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.