naftiko: 1.0.0-alpha2 info: label: LangSmith — fleet auth description: 'LangSmith — fleet auth. 15 operations. Lead operation: List an agent''s connections. Self-contained Naftiko capability covering one Langsmith business surface.' tags: - Langsmith - fleet auth created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: LANGSMITH_API_KEY: LANGSMITH_API_KEY capability: consumes: - type: http namespace: langsmith-fleet-auth baseUri: '' description: LangSmith — fleet auth business capability. Self-contained, no shared references. resources: - name: v1-fleet-auth-agents-agent_id-connections path: /v1/fleet/auth-agents/{agent_id}/connections operations: - name: get method: GET description: List an agent's connections outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: agent_id in: path type: string description: Agent ID required: true - name: post method: POST description: Grant a connection token to an agent outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: agent_id in: path type: string description: Agent ID required: true - name: v1-fleet-auth-agents-agent_id-connections-connection_id path: /v1/fleet/auth-agents/{agent_id}/connections/{connection_id} operations: - name: delete method: DELETE description: Revoke an agent's connection outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: agent_id in: path type: string description: Agent ID required: true - name: connection_id in: path type: string description: Connection ID required: true - name: v1-fleet-auth-providers path: /v1/fleet/auth-providers operations: - name: get method: GET description: List OAuth providers outputRawFormat: json outputParameters: - name: result type: object value: $. - name: post method: POST description: Register an OAuth provider outputRawFormat: json outputParameters: - name: result type: object value: $. - name: v1-fleet-auth-providers-discover path: /v1/fleet/auth-providers/discover operations: - name: post method: POST description: Discover and register an OAuth provider outputRawFormat: json outputParameters: - name: result type: object value: $. - name: v1-fleet-auth-providers-provider_id path: /v1/fleet/auth-providers/{provider_id} operations: - name: get method: GET description: Get an OAuth provider outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: provider_id in: path type: string description: Provider ID required: true - name: delete method: DELETE description: Delete an OAuth provider outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: provider_id in: path type: string description: Provider ID required: true - name: patch method: PATCH description: Update an OAuth provider outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: provider_id in: path type: string description: Provider ID required: true - name: v1-fleet-auth-sessions path: /v1/fleet/auth-sessions operations: - name: post method: POST description: Start an authorization session outputRawFormat: json outputParameters: - name: result type: object value: $. - name: v1-fleet-auth-sessions-session_id path: /v1/fleet/auth-sessions/{session_id} operations: - name: get method: GET description: Get an authorization session outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: session_id in: path type: string description: Authorization session ID required: true - name: v1-fleet-auth-tokens path: /v1/fleet/auth-tokens operations: - name: get method: GET description: List your connection tokens outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: provider_id in: query type: string description: Filter by provider ID - name: agent_id in: query type: string description: Filter by agent ID - name: v1-fleet-auth-tokens-revoke path: /v1/fleet/auth-tokens/revoke operations: - name: post method: POST description: Revoke connection tokens by filter outputRawFormat: json outputParameters: - name: result type: object value: $. - name: v1-fleet-auth-tokens-token_id path: /v1/fleet/auth-tokens/{token_id} operations: - name: delete method: DELETE description: Revoke a connection token outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: token_id in: path type: string description: Token ID required: true - name: patch method: PATCH description: Update a connection token outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: token_id in: path type: string description: Token ID required: true authentication: type: bearer token: '{{env.LANGSMITH_API_KEY}}' exposes: - type: rest namespace: langsmith-fleet-auth-rest port: 8080 description: REST adapter for LangSmith — fleet auth. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v1/fleet/auth-agents/{agent-id}/connections name: v1-fleet-auth-agents-agent-id-connections description: REST surface for v1-fleet-auth-agents-agent_id-connections. operations: - method: GET name: get description: List an agent's connections call: langsmith-fleet-auth.get with: agent_id: rest.agent_id outputParameters: - type: object mapping: $. - method: POST name: post description: Grant a connection token to an agent call: langsmith-fleet-auth.post with: agent_id: rest.agent_id outputParameters: - type: object mapping: $. - path: /v1/v1/fleet/auth-agents/{agent-id}/connections/{connection-id} name: v1-fleet-auth-agents-agent-id-connections-connection-id description: REST surface for v1-fleet-auth-agents-agent_id-connections-connection_id. operations: - method: DELETE name: delete description: Revoke an agent's connection call: langsmith-fleet-auth.delete with: agent_id: rest.agent_id connection_id: rest.connection_id outputParameters: - type: object mapping: $. - path: /v1/v1/fleet/auth-providers name: v1-fleet-auth-providers description: REST surface for v1-fleet-auth-providers. operations: - method: GET name: get description: List OAuth providers call: langsmith-fleet-auth.get outputParameters: - type: object mapping: $. - method: POST name: post description: Register an OAuth provider call: langsmith-fleet-auth.post outputParameters: - type: object mapping: $. - path: /v1/v1/fleet/auth-providers/discover name: v1-fleet-auth-providers-discover description: REST surface for v1-fleet-auth-providers-discover. operations: - method: POST name: post description: Discover and register an OAuth provider call: langsmith-fleet-auth.post outputParameters: - type: object mapping: $. - path: /v1/v1/fleet/auth-providers/{provider-id} name: v1-fleet-auth-providers-provider-id description: REST surface for v1-fleet-auth-providers-provider_id. operations: - method: GET name: get description: Get an OAuth provider call: langsmith-fleet-auth.get with: provider_id: rest.provider_id outputParameters: - type: object mapping: $. - method: DELETE name: delete description: Delete an OAuth provider call: langsmith-fleet-auth.delete with: provider_id: rest.provider_id outputParameters: - type: object mapping: $. - method: PATCH name: patch description: Update an OAuth provider call: langsmith-fleet-auth.patch with: provider_id: rest.provider_id outputParameters: - type: object mapping: $. - path: /v1/v1/fleet/auth-sessions name: v1-fleet-auth-sessions description: REST surface for v1-fleet-auth-sessions. operations: - method: POST name: post description: Start an authorization session call: langsmith-fleet-auth.post outputParameters: - type: object mapping: $. - path: /v1/v1/fleet/auth-sessions/{session-id} name: v1-fleet-auth-sessions-session-id description: REST surface for v1-fleet-auth-sessions-session_id. operations: - method: GET name: get description: Get an authorization session call: langsmith-fleet-auth.get with: session_id: rest.session_id outputParameters: - type: object mapping: $. - path: /v1/v1/fleet/auth-tokens name: v1-fleet-auth-tokens description: REST surface for v1-fleet-auth-tokens. operations: - method: GET name: get description: List your connection tokens call: langsmith-fleet-auth.get with: provider_id: rest.provider_id agent_id: rest.agent_id outputParameters: - type: object mapping: $. - path: /v1/v1/fleet/auth-tokens/revoke name: v1-fleet-auth-tokens-revoke description: REST surface for v1-fleet-auth-tokens-revoke. operations: - method: POST name: post description: Revoke connection tokens by filter call: langsmith-fleet-auth.post outputParameters: - type: object mapping: $. - path: /v1/v1/fleet/auth-tokens/{token-id} name: v1-fleet-auth-tokens-token-id description: REST surface for v1-fleet-auth-tokens-token_id. operations: - method: DELETE name: delete description: Revoke a connection token call: langsmith-fleet-auth.delete with: token_id: rest.token_id outputParameters: - type: object mapping: $. - method: PATCH name: patch description: Update a connection token call: langsmith-fleet-auth.patch with: token_id: rest.token_id outputParameters: - type: object mapping: $. - type: mcp namespace: langsmith-fleet-auth-mcp port: 9090 transport: http description: MCP adapter for LangSmith — fleet auth. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-agent-s-connections description: List an agent's connections hints: readOnly: true destructive: false idempotent: true call: langsmith-fleet-auth.get with: agent_id: tools.agent_id outputParameters: - type: object mapping: $. - name: grant-connection-token-agent description: Grant a connection token to an agent hints: readOnly: false destructive: false idempotent: false call: langsmith-fleet-auth.post with: agent_id: tools.agent_id outputParameters: - type: object mapping: $. - name: revoke-agent-s-connection description: Revoke an agent's connection hints: readOnly: false destructive: true idempotent: true call: langsmith-fleet-auth.delete with: agent_id: tools.agent_id connection_id: tools.connection_id outputParameters: - type: object mapping: $. - name: list-oauth-providers description: List OAuth providers hints: readOnly: true destructive: false idempotent: true call: langsmith-fleet-auth.get outputParameters: - type: object mapping: $. - name: register-oauth-provider description: Register an OAuth provider hints: readOnly: false destructive: false idempotent: false call: langsmith-fleet-auth.post outputParameters: - type: object mapping: $. - name: discover-and-register-oauth-provider description: Discover and register an OAuth provider hints: readOnly: false destructive: false idempotent: false call: langsmith-fleet-auth.post outputParameters: - type: object mapping: $. - name: get-oauth-provider description: Get an OAuth provider hints: readOnly: true destructive: false idempotent: true call: langsmith-fleet-auth.get with: provider_id: tools.provider_id outputParameters: - type: object mapping: $. - name: delete-oauth-provider description: Delete an OAuth provider hints: readOnly: false destructive: true idempotent: true call: langsmith-fleet-auth.delete with: provider_id: tools.provider_id outputParameters: - type: object mapping: $. - name: update-oauth-provider description: Update an OAuth provider hints: readOnly: false destructive: false idempotent: true call: langsmith-fleet-auth.patch with: provider_id: tools.provider_id outputParameters: - type: object mapping: $. - name: start-authorization-session description: Start an authorization session hints: readOnly: false destructive: false idempotent: false call: langsmith-fleet-auth.post outputParameters: - type: object mapping: $. - name: get-authorization-session description: Get an authorization session hints: readOnly: true destructive: false idempotent: true call: langsmith-fleet-auth.get with: session_id: tools.session_id outputParameters: - type: object mapping: $. - name: list-your-connection-tokens description: List your connection tokens hints: readOnly: true destructive: false idempotent: true call: langsmith-fleet-auth.get with: provider_id: tools.provider_id agent_id: tools.agent_id outputParameters: - type: object mapping: $. - name: revoke-connection-tokens-filter description: Revoke connection tokens by filter hints: readOnly: false destructive: false idempotent: false call: langsmith-fleet-auth.post outputParameters: - type: object mapping: $. - name: revoke-connection-token description: Revoke a connection token hints: readOnly: false destructive: true idempotent: true call: langsmith-fleet-auth.delete with: token_id: tools.token_id outputParameters: - type: object mapping: $. - name: update-connection-token description: Update a connection token hints: readOnly: false destructive: false idempotent: true call: langsmith-fleet-auth.patch with: token_id: tools.token_id outputParameters: - type: object mapping: $.