naftiko: 1.0.0-alpha2 info: label: LangSmith — fleet github-app description: 'LangSmith — fleet github-app. 11 operations. Lead operation: Get GitHub OAuth authorization link. Self-contained Naftiko capability covering one Langsmith business surface.' tags: - Langsmith - fleet github-app 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-github-app baseUri: '' description: LangSmith — fleet github-app business capability. Self-contained, no shared references. resources: - name: v1-platform-fleet-providers-github-app-auth path: /v1/platform/fleet/providers/github-app/auth operations: - name: post method: POST description: Get GitHub OAuth authorization link outputRawFormat: json outputParameters: - name: result type: object value: $. - name: v1-platform-fleet-providers-github-app-connection path: /v1/platform/fleet/providers/github-app/connection operations: - name: get method: GET description: Get GitHub user connection status outputRawFormat: json outputParameters: - name: result type: object value: $. - name: delete method: DELETE description: Delete GitHub user connection outputRawFormat: json outputParameters: - name: result type: object value: $. - name: patch method: PATCH description: Update GitHub user connection outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: v1-platform-fleet-providers-github-app-install path: /v1/platform/fleet/providers/github-app/install operations: - name: post method: POST description: Get GitHub App install link outputRawFormat: json outputParameters: - name: result type: object value: $. - name: v1-platform-fleet-providers-github-app-installations path: /v1/platform/fleet/providers/github-app/installations operations: - name: get method: GET description: List GitHub App installations outputRawFormat: json outputParameters: - name: result type: object value: $. - name: v1-platform-fleet-providers-github-app-installations-refresh path: /v1/platform/fleet/providers/github-app/installations/refresh operations: - name: post method: POST description: Refresh GitHub App installations outputRawFormat: json outputParameters: - name: result type: object value: $. - name: v1-platform-fleet-providers-github-app-installations-id path: /v1/platform/fleet/providers/github-app/installations/{id} operations: - name: delete method: DELETE description: Delete a GitHub App installation outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: Installation ID required: true - name: v1-platform-fleet-providers-github-app-installations-id-repos path: /v1/platform/fleet/providers/github-app/installations/{id}/repos operations: - name: get method: GET description: List repositories for a GitHub App installation outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: Installation ID required: true - name: v1-platform-fleet-providers-github-app-tokens path: /v1/platform/fleet/providers/github-app/tokens operations: - name: post method: POST description: Request a GitHub access token outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: v1-platform-fleet-providers-github-app-webhooks path: /v1/platform/fleet/providers/github-app/webhooks operations: - name: post method: POST description: Handle GitHub App webhook events outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.LANGSMITH_API_KEY}}' exposes: - type: rest namespace: langsmith-fleet-github-app-rest port: 8080 description: REST adapter for LangSmith — fleet github-app. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v1/platform/fleet/providers/github-app/auth name: v1-platform-fleet-providers-github-app-auth description: REST surface for v1-platform-fleet-providers-github-app-auth. operations: - method: POST name: post description: Get GitHub OAuth authorization link call: langsmith-fleet-github-app.post outputParameters: - type: object mapping: $. - path: /v1/v1/platform/fleet/providers/github-app/connection name: v1-platform-fleet-providers-github-app-connection description: REST surface for v1-platform-fleet-providers-github-app-connection. operations: - method: GET name: get description: Get GitHub user connection status call: langsmith-fleet-github-app.get outputParameters: - type: object mapping: $. - method: DELETE name: delete description: Delete GitHub user connection call: langsmith-fleet-github-app.delete outputParameters: - type: object mapping: $. - method: PATCH name: patch description: Update GitHub user connection call: langsmith-fleet-github-app.patch with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v1/platform/fleet/providers/github-app/install name: v1-platform-fleet-providers-github-app-install description: REST surface for v1-platform-fleet-providers-github-app-install. operations: - method: POST name: post description: Get GitHub App install link call: langsmith-fleet-github-app.post outputParameters: - type: object mapping: $. - path: /v1/v1/platform/fleet/providers/github-app/installations name: v1-platform-fleet-providers-github-app-installations description: REST surface for v1-platform-fleet-providers-github-app-installations. operations: - method: GET name: get description: List GitHub App installations call: langsmith-fleet-github-app.get outputParameters: - type: object mapping: $. - path: /v1/v1/platform/fleet/providers/github-app/installations/refresh name: v1-platform-fleet-providers-github-app-installations-refresh description: REST surface for v1-platform-fleet-providers-github-app-installations-refresh. operations: - method: POST name: post description: Refresh GitHub App installations call: langsmith-fleet-github-app.post outputParameters: - type: object mapping: $. - path: /v1/v1/platform/fleet/providers/github-app/installations/{id} name: v1-platform-fleet-providers-github-app-installations-id description: REST surface for v1-platform-fleet-providers-github-app-installations-id. operations: - method: DELETE name: delete description: Delete a GitHub App installation call: langsmith-fleet-github-app.delete with: id: rest.id outputParameters: - type: object mapping: $. - path: /v1/v1/platform/fleet/providers/github-app/installations/{id}/repos name: v1-platform-fleet-providers-github-app-installations-id-repos description: REST surface for v1-platform-fleet-providers-github-app-installations-id-repos. operations: - method: GET name: get description: List repositories for a GitHub App installation call: langsmith-fleet-github-app.get with: id: rest.id outputParameters: - type: object mapping: $. - path: /v1/v1/platform/fleet/providers/github-app/tokens name: v1-platform-fleet-providers-github-app-tokens description: REST surface for v1-platform-fleet-providers-github-app-tokens. operations: - method: POST name: post description: Request a GitHub access token call: langsmith-fleet-github-app.post with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v1/platform/fleet/providers/github-app/webhooks name: v1-platform-fleet-providers-github-app-webhooks description: REST surface for v1-platform-fleet-providers-github-app-webhooks. operations: - method: POST name: post description: Handle GitHub App webhook events call: langsmith-fleet-github-app.post outputParameters: - type: object mapping: $. - type: mcp namespace: langsmith-fleet-github-app-mcp port: 9090 transport: http description: MCP adapter for LangSmith — fleet github-app. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-github-oauth-authorization-link description: Get GitHub OAuth authorization link hints: readOnly: true destructive: false idempotent: false call: langsmith-fleet-github-app.post outputParameters: - type: object mapping: $. - name: get-github-user-connection-status description: Get GitHub user connection status hints: readOnly: true destructive: false idempotent: true call: langsmith-fleet-github-app.get outputParameters: - type: object mapping: $. - name: delete-github-user-connection description: Delete GitHub user connection hints: readOnly: false destructive: true idempotent: true call: langsmith-fleet-github-app.delete outputParameters: - type: object mapping: $. - name: update-github-user-connection description: Update GitHub user connection hints: readOnly: false destructive: false idempotent: true call: langsmith-fleet-github-app.patch with: body: tools.body outputParameters: - type: object mapping: $. - name: get-github-app-install-link description: Get GitHub App install link hints: readOnly: true destructive: false idempotent: false call: langsmith-fleet-github-app.post outputParameters: - type: object mapping: $. - name: list-github-app-installations description: List GitHub App installations hints: readOnly: true destructive: false idempotent: true call: langsmith-fleet-github-app.get outputParameters: - type: object mapping: $. - name: refresh-github-app-installations description: Refresh GitHub App installations hints: readOnly: false destructive: false idempotent: false call: langsmith-fleet-github-app.post outputParameters: - type: object mapping: $. - name: delete-github-app-installation description: Delete a GitHub App installation hints: readOnly: false destructive: true idempotent: true call: langsmith-fleet-github-app.delete with: id: tools.id outputParameters: - type: object mapping: $. - name: list-repositories-github-app-installation description: List repositories for a GitHub App installation hints: readOnly: true destructive: false idempotent: true call: langsmith-fleet-github-app.get with: id: tools.id outputParameters: - type: object mapping: $. - name: request-github-access-token description: Request a GitHub access token hints: readOnly: false destructive: false idempotent: false call: langsmith-fleet-github-app.post with: body: tools.body outputParameters: - type: object mapping: $. - name: handle-github-app-webhook-events description: Handle GitHub App webhook events hints: readOnly: false destructive: false idempotent: false call: langsmith-fleet-github-app.post outputParameters: - type: object mapping: $.