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 Langchain business surface.' tags: - Langchain - TTL Settings created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: LANGCHAIN_API_KEY: LANGCHAIN_API_KEY capability: consumes: - type: http namespace: langchain-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.LANGCHAIN_API_KEY}}' exposes: - type: rest namespace: langchain-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: langchain-ttl-settings.get outputParameters: - type: object mapping: $. - method: PUT name: put description: Update workspace TTL settings call: langchain-ttl-settings.put with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: langchain-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: langchain-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: langchain-ttl-settings.put with: body: tools.body outputParameters: - type: object mapping: $.