{ "opencollection": "1.0.0", "info": { "name": "LangSmith access_policies fleet github-app API", "version": "0.1.0" }, "items": [ { "info": { "name": "fleet github-app", "type": "folder" }, "items": [ { "info": { "name": "Get GitHub OAuth authorization link", "type": "http" }, "http": { "method": "POST", "url": "/v1/platform/fleet/providers/github-app/auth", "auth": { "type": "apikey", "key": "X-API-Key", "value": "{{X-API-Key}}", "placement": "header" } }, "docs": "Generate a GitHub OAuth link for the current user to connect their GitHub account." }, { "info": { "name": "Get GitHub user connection status", "type": "http" }, "http": { "method": "GET", "url": "/v1/platform/fleet/providers/github-app/connection", "auth": { "type": "apikey", "key": "X-API-Key", "value": "{{X-API-Key}}", "placement": "header" } }, "docs": "Return the current user's GitHub connection status and metadata." }, { "info": { "name": "Update GitHub user connection", "type": "http" }, "http": { "method": "PATCH", "url": "/v1/platform/fleet/providers/github-app/connection", "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "X-API-Key", "value": "{{X-API-Key}}", "placement": "header" } }, "docs": "Update the actor preference for the current user's GitHub connection." }, { "info": { "name": "Delete GitHub user connection", "type": "http" }, "http": { "method": "DELETE", "url": "/v1/platform/fleet/providers/github-app/connection", "auth": { "type": "apikey", "key": "X-API-Key", "value": "{{X-API-Key}}", "placement": "header" } }, "docs": "Remove the current user's GitHub connection and all linked installations." }, { "info": { "name": "Get GitHub App install link", "type": "http" }, "http": { "method": "POST", "url": "/v1/platform/fleet/providers/github-app/install", "auth": { "type": "apikey", "key": "X-API-Key", "value": "{{X-API-Key}}", "placement": "header" } }, "docs": "Generate a link to install the GitHub App for the current organization." }, { "info": { "name": "List GitHub App installations", "type": "http" }, "http": { "method": "GET", "url": "/v1/platform/fleet/providers/github-app/installations", "auth": { "type": "apikey", "key": "X-API-Key", "value": "{{X-API-Key}}", "placement": "header" } }, "docs": "Return GitHub App installations linked to the current user from\nour database. This is a cache — it does not hit the GitHub API.\nUse POST /installations/refresh to force a fresh sync from GitHub." }, { "info": { "name": "Refresh GitHub App installations", "type": "http" }, "http": { "method": "POST", "url": "/v1/platform/fleet/providers/github-app/installations/refresh", "auth": { "type": "apikey", "key": "X-API-Key", "value": "{{X-API-Key}}", "placement": "header" } }, "docs": "Trigger a live sync with GitHub for the current user's GitHub App\ninstallations. Upserts new installations, deletes stale ones, and\nreturns the refreshed list. Requires an existing GitHub connection." }, { "info": { "name": "Delete a GitHub App installation", "type": "http" }, "http": { "method": "DELETE", "url": "/v1/platform/fleet/providers/github-app/installations/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "Installation ID" } ], "auth": { "type": "apikey", "key": "X-API-Key", "value": "{{X-API-Key}}", "placement": "header" } }, "docs": "Remove a GitHub App installation link for the current user." }, { "info": { "name": "List repositories for a GitHub App installation", "type": "http" }, "http": { "method": "GET", "url": "/v1/platform/fleet/providers/github-app/installations/:id/repos", "params": [ { "name": "id", "value": "", "type": "path", "description": "Installation ID" } ], "auth": { "type": "apikey", "key": "X-API-Key", "value": "{{X-API-Key}}", "placement": "header" } }, "docs": "Return repositories accessible to the specified GitHub App installation." }, { "info": { "name": "Request a GitHub access token", "type": "http" }, "http": { "method": "POST", "url": "/v1/platform/fleet/providers/github-app/tokens", "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "X-API-Key", "value": "{{X-API-Key}}", "placement": "header" } }, "docs": "Return a short-lived GitHub access token scoped to the given repository." }, { "info": { "name": "Handle GitHub App webhook events", "type": "http" }, "http": { "method": "POST", "url": "/v1/platform/fleet/providers/github-app/webhooks" }, "docs": "Process GitHub App webhooks (installation lifecycle, installation_repositories). GitHub may deliver the same event more than once; handling re-applies the current repository-selection state and is safe to repeat." } ] } ], "bundled": true }