Skip to content

securitize-agent-gw

API Gateway for Securitize Cortex Agent.

Authentication

Most endpoints require a userId parameter which is your Atlassian Account ID.

To authenticate in Swagger: 1. Complete OAuth: Call GET /atlassian/connect in your browser 2. Copy your userId from the redirect URL 3. Click the Authorize button above and paste your userId 4. All protected endpoints will now work

Endpoints by Category

  • Chat: AI conversation endpoints (/api/chat/*)
  • Atlassian: Jira OAuth & status (/atlassian/*)
  • Bitbucket: Bitbucket OAuth & repos (/bitbucket/*)
  • Repos: Repository operations (/api/repos/*)

Endpoints (39)

Method Path Summary Tags
GET / No description App
GET /health No description App
GET /atlassian/bypass-enabled Check if Atlassian bypass mode is enabled atlassian
GET /atlassian/connect Start Atlassian OAuth flow atlassian
GET /atlassian/callback OAuth callback handler atlassian
GET /atlassian/status/{userId} Get Atlassian connection status atlassian
DELETE /atlassian/disconnect/{userId} Disconnect Atlassian account atlassian
GET /atlassian/connected/{userId} Check if user is connected to Atlassian atlassian
POST /atlassian/refresh Refresh access token atlassian
GET /bitbucket/configured Check if Bitbucket OAuth is configured bitbucket
GET /bitbucket/connect/{userId} Start Bitbucket OAuth flow bitbucket
GET /bitbucket/callback OAuth callback handler bitbucket
GET /bitbucket/status/{userId} Get Bitbucket connection status bitbucket
GET /bitbucket/workspaces/{userId} Get user Bitbucket workspaces bitbucket
DELETE /bitbucket/disconnect/{userId} Disconnect Bitbucket account bitbucket
GET /bitbucket/connected/{userId} Check if user is connected to Bitbucket bitbucket
POST /bitbucket/refresh Refresh access token bitbucket
GET /slack/configured Check if Slack OAuth is configured slack
GET /slack/connect/{userId} Start Slack OAuth flow slack
GET /slack/callback OAuth callback handler slack
GET /slack/status/{userId} Get Slack connection status slack
DELETE /slack/disconnect/{userId} Disconnect Slack account slack
GET /slack/connected/{userId} Check if user is connected to Slack slack
POST /slack/refresh Refresh access token slack
GET /api/metrics Get activity metrics dashboard data metrics
POST /api/metrics/feedback Submit feedback for an agent response metrics
GET /api/chat/status Get agent configuration status chat
GET /api/chat/validate-services Validate external service connections chat
GET /api/chat/logzio-environments Get available Logz.io environments chat
GET /api/chat/debug/memory Get memory and session statistics chat
POST /api/chat/ask Send a message to the AI agent chat
DELETE /api/chat/session/{sessionId} Abort an active conversation session chat
DELETE /api/chat/conversation/{conversationId} End a conversation and clean up all data chat
GET /api/repos List all local repositories repos
POST /api/repos/clone Clone a git repository repos
GET /api/repos/pull-status Get pull operation status repos
POST /api/repos/pull-all Pull all repositories repos
GET /api/workspace/stats No description Workspace
POST /api/workspace/cleanup No description Workspace