{
  "info": {
    "_postman_id": "a523c8f5-eee6-41fb-9fab-50301c6706a6",
    "name": "Chordian Core",
    "description": "Scoped Postman collection for the Chordian Backend.\n\n**Included scopes:**\n- Authentication (basic + Cognito + platform admin)\n- API Keys & Personal Access Tokens\n- Connectors (CRUD, run-once, file connector, Google OAuth, generic OAuth)\n- Credentials (CRUD + private-key + swap)\n- CC-Pairs (indexing/permission attempts, errors, prune, sync triggers, doc sync status)\n- Federated Connectors\n- Indexing/Status endpoints\n- Chat (sessions, messages, feedback, files, search, stop)\n- Admin chat history & query export\n- Personas / Agents (custom agent creation, sharing, labels, templates, default assistant)\n- People & Company search (MongoDB Atlas + workflow start/continue/stop/status, enrichment)\n\n**Setup**\n1. Import this collection into Postman.\n2. Set the `baseUrl` variable (default `http://localhost:3000/api`).\n3. Authenticate via `Authentication / Login (form)` (or Cognito) \u2014 the `fastapiusersauth` cookie is set automatically.\n4. For API-key auth, set `apiKey` and enable the `Authorization: Bearer {{apiKey}}` header on the requests you call.\n5. Path parameters (`:session_id`, `:connector_id`, etc.) can be filled in the Path Variables tab on each request.\n",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "item": [
    {
      "name": "Authentication",
      "item": [
        {
          "name": "Login (form)",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/auth/login",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "auth",
                "login"
              ]
            },
            "description": "Username/password login via fastapi-users. Form-encoded body. Sets the `fastapiusersauth` cookie used by the rest of the API.",
            "body": {
              "mode": "urlencoded",
              "urlencoded": [
                {
                  "key": "username",
                  "value": "user@example.com"
                },
                {
                  "key": "password",
                  "value": "your-password"
                },
                {
                  "key": "grant_type",
                  "value": "password"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Register",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/auth/register",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "auth",
                "register"
              ]
            },
            "description": "Create a new user account.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"email\": \"user@example.com\",\n  \"password\": \"string\",\n  \"is_active\": true,\n  \"is_verified\": false,\n  \"role\": \"basic\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Refresh Session",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/auth/refresh",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "auth",
                "refresh"
              ]
            },
            "description": "Refresh the auth cookie."
          },
          "response": []
        },
        {
          "name": "Forgot Password",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/auth/forgot-password",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "auth",
                "forgot-password"
              ]
            },
            "description": "Send a reset-password email.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"email\": \"user@example.com\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Reset Password",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/auth/reset-password",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "auth",
                "reset-password"
              ]
            },
            "description": "Reset password using a token from the forgot-password email.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"token\": \"reset-token-from-email\",\n  \"password\": \"new-password\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Request Verify Token",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/auth/request-verify-token",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "auth",
                "request-verify-token"
              ]
            },
            "description": "Request a new email-verification token.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"email\": \"user@example.com\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Verify Email",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/auth/verify",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "auth",
                "verify"
              ]
            },
            "description": "Verify the user's email with a token.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"token\": \"verify-token-from-email\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Platform Admin Login",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/auth/platform-admin/login",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "auth",
                "platform-admin",
                "login"
              ]
            },
            "description": "Token-based login for platform admins (no password).",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"email\": \"admin@example.com\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Change My Password",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/password/change-password",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "password",
                "change-password"
              ]
            },
            "description": "Change password for the current user.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"old_password\": \"old\",\n  \"new_password\": \"new\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Admin Reset User Password",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/password/reset_password",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "password",
                "reset_password"
              ]
            },
            "description": "Reset a user's password (admin only).",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"user_email\": \"user@example.com\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Verify Logged In",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/me",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "me"
              ]
            },
            "description": "Returns the current user info if logged in."
          },
          "response": []
        },
        {
          "name": "Get Auth Type",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/auth/type",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "auth",
                "type"
              ]
            },
            "description": "Returns the configured auth type (basic, oidc, saml, cloud, ...)."
          },
          "response": []
        },
        {
          "name": "Get Current User",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/users/me",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "users",
                "me"
              ]
            },
            "description": "fastapi-users current user details."
          },
          "response": []
        },
        {
          "name": "Patch Current User",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/users/me",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "users",
                "me"
              ]
            },
            "description": "Update current user (email, password, etc.).",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"email\": \"new@example.com\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Authentication - Cognito",
      "item": [
        {
          "name": "Cognito Signup",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/auth/cognito/signup",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "auth",
                "cognito",
                "signup"
              ]
            },
            "description": "Register a new user in Cognito (sends verification code).",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"email\": \"user@example.com\",\n  \"password\": \"string\",\n  \"given_name\": \"First\",\n  \"family_name\": \"Last\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Cognito Confirm Signup",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/auth/cognito/confirm-signup",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "auth",
                "cognito",
                "confirm-signup"
              ]
            },
            "description": "Confirm signup with the OTP code from email.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"email\": \"user@example.com\",\n  \"code\": \"123456\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Cognito Resend Code",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/auth/cognito/resend-code",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "auth",
                "cognito",
                "resend-code"
              ]
            },
            "description": "Resend the signup verification code.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"email\": \"user@example.com\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Cognito Authenticate (email/password)",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/auth/cognito/authenticate",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "auth",
                "cognito",
                "authenticate"
              ]
            },
            "description": "Backend-side Cognito authentication. Returns tokens + sets cookies.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"email\": \"user@example.com\",\n  \"password\": \"string\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Cognito Login (idToken)",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/auth/cognito/login",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "auth",
                "cognito",
                "login"
              ]
            },
            "description": "Verify a Cognito idToken via JWKS, create session, set cookies.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"id_token\": \"<cognito-id-token>\",\n  \"refresh_token\": \"<cognito-refresh-token>\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Cognito Forgot Password",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/auth/cognito/forgot-password",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "auth",
                "cognito",
                "forgot-password"
              ]
            },
            "description": "Initiate Cognito forgot-password flow.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"email\": \"user@example.com\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Cognito Confirm Reset",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/auth/cognito/confirm-reset",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "auth",
                "cognito",
                "confirm-reset"
              ]
            },
            "description": "Confirm password reset with verification code.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"email\": \"user@example.com\",\n  \"code\": \"123456\",\n  \"new_password\": \"new\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Cognito New Password Challenge",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/auth/cognito/new-password",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "auth",
                "cognito",
                "new-password"
              ]
            },
            "description": "Complete NEW_PASSWORD_REQUIRED challenge.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"email\": \"user@example.com\",\n  \"old_password\": \"old\",\n  \"new_password\": \"new\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Cognito Refresh",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/auth/cognito/refresh",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "auth",
                "cognito",
                "refresh"
              ]
            },
            "description": "Refresh Cognito tokens."
          },
          "response": []
        },
        {
          "name": "Cognito Refresh Tokens (user info)",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/auth/cognito/refresh-tokens",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "auth",
                "cognito",
                "refresh-tokens"
              ]
            },
            "description": "Refresh and return user info with fresh attributes."
          },
          "response": []
        },
        {
          "name": "Cognito Session",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/auth/cognito/session",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "auth",
                "cognito",
                "session"
              ]
            },
            "description": "Validate session cookie, return current user."
          },
          "response": []
        },
        {
          "name": "Cognito OAuth Callback",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/auth/cognito/callback",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "auth",
                "cognito",
                "callback"
              ]
            },
            "description": "OAuth callback for Google/LinkedIn via Cognito."
          },
          "response": []
        },
        {
          "name": "Cognito Check User",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/auth/cognito/check-user",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "auth",
                "cognito",
                "check-user"
              ]
            },
            "description": "Check whether a user exists in Cognito.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"username\": \"user@example.com\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Cognito Update Profile Status",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/auth/cognito/update-profile-status",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "auth",
                "cognito",
                "update-profile-status"
              ]
            },
            "description": "Update a custom attribute on the Cognito user.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"attribute_name\": \"custom:isProfileCompleted\",\n  \"attribute_value\": \"true\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Cognito Signout (redirect)",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/auth/cognito/signout",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "auth",
                "cognito",
                "signout"
              ]
            },
            "description": "Clear cookies and redirect to Cognito logout URL."
          },
          "response": []
        },
        {
          "name": "Cognito Signout",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/auth/cognito/signout",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "auth",
                "cognito",
                "signout"
              ]
            },
            "description": "Clear all auth cookies."
          },
          "response": []
        }
      ]
    },
    {
      "name": "API Keys",
      "item": [
        {
          "name": "List API Keys",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/admin/api-key",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "admin",
                "api-key"
              ]
            },
            "description": "List API keys for the tenant."
          },
          "response": []
        },
        {
          "name": "Create API Key",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/admin/api-key",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "admin",
                "api-key"
              ]
            },
            "description": "Create a new API key.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"My API Key\",\n  \"role\": \"basic\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Update API Key",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/admin/api-key/:api_key_id?api_key_id=:api_key_id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "admin",
                "api-key",
                ":api_key_id"
              ],
              "query": [
                {
                  "key": "api_key_id",
                  "value": ":api_key_id",
                  "disabled": false
                }
              ],
              "variable": [
                {
                  "key": "api_key_id",
                  "value": ""
                }
              ]
            },
            "description": "Update an existing API key.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"Renamed Key\",\n  \"role\": \"basic\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Regenerate API Key",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/admin/api-key/:api_key_id/regenerate?api_key_id=:api_key_id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "admin",
                "api-key",
                ":api_key_id",
                "regenerate"
              ],
              "query": [
                {
                  "key": "api_key_id",
                  "value": ":api_key_id",
                  "disabled": false
                }
              ],
              "variable": [
                {
                  "key": "api_key_id",
                  "value": ""
                }
              ]
            },
            "description": "Regenerate the secret for an API key."
          },
          "response": []
        },
        {
          "name": "Delete API Key",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/admin/api-key/:api_key_id?api_key_id=:api_key_id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "admin",
                "api-key",
                ":api_key_id"
              ],
              "query": [
                {
                  "key": "api_key_id",
                  "value": ":api_key_id",
                  "disabled": false
                }
              ],
              "variable": [
                {
                  "key": "api_key_id",
                  "value": ""
                }
              ]
            },
            "description": "Delete an API key."
          },
          "response": []
        },
        {
          "name": "API Key Tenant Usage",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/admin/api-key/tenant-usage",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "admin",
                "api-key",
                "tenant-usage"
              ]
            },
            "description": "Current tenant API-key usage stats for the active billing window."
          },
          "response": []
        },
        {
          "name": "List Personal Access Tokens",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/user/pats",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "user",
                "pats"
              ]
            },
            "description": "List active personal access tokens for the current user."
          },
          "response": []
        },
        {
          "name": "Create Personal Access Token",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/user/pats",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "user",
                "pats"
              ]
            },
            "description": "Create a new PAT for the current user.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"My PAT\",\n  \"expiration_days\": 30\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Delete Personal Access Token",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/user/pats/:token_id?token_id=:token_id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "user",
                "pats",
                ":token_id"
              ],
              "query": [
                {
                  "key": "token_id",
                  "value": ":token_id",
                  "disabled": false
                }
              ],
              "variable": [
                {
                  "key": "token_id",
                  "value": ""
                }
              ]
            },
            "description": "Revoke a personal access token (owner only)."
          },
          "response": []
        }
      ]
    },
    {
      "name": "Connectors",
      "item": [
        {
          "name": "List Connectors (admin)",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/manage/admin/connector?credential=",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "manage",
                "admin",
                "connector"
              ],
              "query": [
                {
                  "key": "credential",
                  "value": "",
                  "disabled": true
                }
              ]
            },
            "description": "List connectors, optionally filtered by credential id."
          },
          "response": []
        },
        {
          "name": "Create Connector",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/manage/admin/connector",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "manage",
                "admin",
                "connector"
              ]
            },
            "description": "Create a new connector.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"My Connector\",\n  \"source\": \"web\",\n  \"input_type\": \"load_state\",\n  \"connector_specific_config\": {\n    \"base_url\": \"https://example.com\"\n  },\n  \"refresh_freq\": 86400,\n  \"prune_freq\": null,\n  \"indexing_start\": null,\n  \"access_type\": \"public\",\n  \"groups\": []\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Update Connector",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/manage/admin/connector/:connector_id?connector_id=:connector_id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "manage",
                "admin",
                "connector",
                ":connector_id"
              ],
              "query": [
                {
                  "key": "connector_id",
                  "value": ":connector_id",
                  "disabled": false
                }
              ],
              "variable": [
                {
                  "key": "connector_id",
                  "value": ""
                }
              ]
            },
            "description": "Update an existing connector.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"Updated Connector Name\",\n  \"source\": \"web\",\n  \"input_type\": \"load_state\",\n  \"connector_specific_config\": {\n    \"base_url\": \"https://example.com\"\n  },\n  \"refresh_freq\": 86400,\n  \"access_type\": \"public\",\n  \"groups\": []\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Delete Connector",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/manage/admin/connector/:connector_id?connector_id=:connector_id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "manage",
                "admin",
                "connector",
                ":connector_id"
              ],
              "query": [
                {
                  "key": "connector_id",
                  "value": ":connector_id",
                  "disabled": false
                }
              ],
              "variable": [
                {
                  "key": "connector_id",
                  "value": ""
                }
              ]
            },
            "description": "Delete a connector by ID."
          },
          "response": []
        },
        {
          "name": "Run Connector (trigger indexing)",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/manage/admin/connector/run-once",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "manage",
                "admin",
                "connector",
                "run-once"
              ]
            },
            "description": "Trigger indexing on cc_pairs associated with a single connector.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"connector_id\": 1,\n  \"credential_ids\": [\n    1\n  ],\n  \"from_beginning\": false\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Create Connector with Mock Credential",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/manage/admin/connector-with-mock-credential",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "manage",
                "admin",
                "connector-with-mock-credential"
              ]
            },
            "description": "Create a connector that doesn't need real credentials.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"Mock Connector\",\n  \"source\": \"web\",\n  \"input_type\": \"load_state\",\n  \"connector_specific_config\": {\n    \"base_url\": \"https://example.com\"\n  },\n  \"access_type\": \"public\",\n  \"groups\": []\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Create Deletion Attempt",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/manage/admin/deletion-attempt",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "manage",
                "admin",
                "deletion-attempt"
              ]
            },
            "description": "Create a deletion attempt for a connector-credential pair.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"connector_id\": 1,\n  \"credential_id\": 1\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "List Connectors",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/manage/connector",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "manage",
                "connector"
              ]
            },
            "description": "List connectors (non-admin)."
          },
          "response": []
        },
        {
          "name": "Get Connector",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/manage/connector/:connector_id?connector_id=:connector_id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "manage",
                "connector",
                ":connector_id"
              ],
              "query": [
                {
                  "key": "connector_id",
                  "value": ":connector_id",
                  "disabled": false
                }
              ],
              "variable": [
                {
                  "key": "connector_id",
                  "value": ""
                }
              ]
            },
            "description": "Get connector by ID."
          },
          "response": []
        },
        {
          "name": "Basic Connector Indexing Status",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/manage/connector-status",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "manage",
                "connector-status"
              ]
            },
            "description": "Basic indexing status of connectors."
          },
          "response": []
        },
        {
          "name": "Indexed Sources",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/manage/indexed-sources",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "manage",
                "indexed-sources"
              ]
            },
            "description": "Distinct sources that have indexed content."
          },
          "response": []
        },
        {
          "name": "Upload Files (file connector)",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/manage/admin/connector/file/upload",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "manage",
                "admin",
                "connector",
                "file",
                "upload"
              ]
            },
            "description": "Upload files for the file connector. Multipart form with `files[]`.",
            "body": {
              "mode": "formdata",
              "formdata": [
                {
                  "key": "files",
                  "type": "file",
                  "src": []
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "List Files in Connector",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/manage/admin/connector/:connector_id/files?connector_id=:connector_id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "manage",
                "admin",
                "connector",
                ":connector_id",
                "files"
              ],
              "query": [
                {
                  "key": "connector_id",
                  "value": ":connector_id",
                  "disabled": false
                }
              ],
              "variable": [
                {
                  "key": "connector_id",
                  "value": ""
                }
              ]
            },
            "description": "List all files in a file connector."
          },
          "response": []
        },
        {
          "name": "Update Connector Files",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/manage/admin/connector/:connector_id/files/update?connector_id=:connector_id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "manage",
                "admin",
                "connector",
                ":connector_id",
                "files",
                "update"
              ],
              "query": [
                {
                  "key": "connector_id",
                  "value": ":connector_id",
                  "disabled": false
                }
              ],
              "variable": [
                {
                  "key": "connector_id",
                  "value": ""
                }
              ]
            },
            "description": "Atomically add/remove files in a file connector and trigger indexing.",
            "body": {
              "mode": "formdata",
              "formdata": [
                {
                  "key": "files",
                  "type": "file",
                  "src": []
                },
                {
                  "key": "file_ids_to_remove",
                  "value": "[]",
                  "type": "text"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Associate Credential to Connector",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/manage/connector/:connector_id/credential/:credential_id?connector_id=:connector_id&credential_id=:credential_id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "manage",
                "connector",
                ":connector_id",
                "credential",
                ":credential_id"
              ],
              "query": [
                {
                  "key": "connector_id",
                  "value": ":connector_id",
                  "disabled": false
                },
                {
                  "key": "credential_id",
                  "value": ":credential_id",
                  "disabled": false
                }
              ],
              "variable": [
                {
                  "key": "connector_id",
                  "value": ""
                },
                {
                  "key": "credential_id",
                  "value": ""
                }
              ]
            },
            "description": "Associate a credential to a connector (creates CC-pair).",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"My CC Pair\",\n  \"access_type\": \"public\",\n  \"groups\": []\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Dissociate Credential from Connector",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/manage/connector/:connector_id/credential/:credential_id?connector_id=:connector_id&credential_id=:credential_id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "manage",
                "connector",
                ":connector_id",
                "credential",
                ":credential_id"
              ],
              "query": [
                {
                  "key": "connector_id",
                  "value": ":connector_id",
                  "disabled": false
                },
                {
                  "key": "credential_id",
                  "value": ":credential_id",
                  "disabled": false
                }
              ],
              "variable": [
                {
                  "key": "connector_id",
                  "value": ""
                },
                {
                  "key": "credential_id",
                  "value": ""
                }
              ]
            },
            "description": "Dissociate a credential from a connector."
          },
          "response": []
        }
      ]
    },
    {
      "name": "Connector Indexing Status",
      "item": [
        {
          "name": "Connector Status (admin)",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/manage/admin/connector/status",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "manage",
                "admin",
                "connector",
                "status"
              ]
            },
            "description": "Per-connector status with credentials, access type, groups."
          },
          "response": []
        },
        {
          "name": "Connector Indexing Status",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/manage/admin/connector/indexing-status",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "manage",
                "admin",
                "connector",
                "indexing-status"
              ]
            },
            "description": "Detailed indexing status with rich filters (source, access type, last status, doc count, name, paging).",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"secondary_index\": false,\n  \"source\": null,\n  \"access_type_filters\": [],\n  \"last_status_filters\": [],\n  \"docs_count_operator\": null,\n  \"docs_count_value\": null,\n  \"name_filter\": null,\n  \"source_to_page\": {},\n  \"get_all_connectors\": false\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Failed Indexing Status",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/manage/admin/connector/failed-indexing-status?secondary_index=false&get_editable=false",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "manage",
                "admin",
                "connector",
                "failed-indexing-status"
              ],
              "query": [
                {
                  "key": "secondary_index",
                  "value": "false",
                  "disabled": false
                },
                {
                  "key": "get_editable",
                  "value": "false",
                  "disabled": false
                }
              ]
            },
            "description": "List connectors currently in a failed indexing state."
          },
          "response": []
        }
      ]
    },
    {
      "name": "Connectors - Google OAuth",
      "item": [
        {
          "name": "Check Google Drive App Credentials Exist",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/manage/admin/connector/google-drive/app-credential",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "manage",
                "admin",
                "connector",
                "google-drive",
                "app-credential"
              ]
            },
            "description": ""
          },
          "response": []
        },
        {
          "name": "Upsert Google Drive App Credentials",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/manage/admin/connector/google-drive/app-credential",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "manage",
                "admin",
                "connector",
                "google-drive",
                "app-credential"
              ]
            },
            "description": "",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"web\": {\n    \"client_id\": \"...\",\n    \"project_id\": \"...\",\n    \"auth_uri\": \"https://accounts.google.com/o/oauth2/auth\",\n    \"token_uri\": \"https://oauth2.googleapis.com/token\",\n    \"auth_provider_x509_cert_url\": \"https://www.googleapis.com/oauth2/v1/certs\",\n    \"client_secret\": \"...\",\n    \"redirect_uris\": [\n      \"http://localhost:3000/api/manage/connector/google-drive/callback\"\n    ],\n    \"javascript_origins\": [\n      \"http://localhost:3000\"\n    ]\n  }\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Delete Google Drive App Credentials",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/manage/admin/connector/google-drive/app-credential",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "manage",
                "admin",
                "connector",
                "google-drive",
                "app-credential"
              ]
            },
            "description": ""
          },
          "response": []
        },
        {
          "name": "Check Google Drive Service Account Key",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/manage/admin/connector/google-drive/service-account-key",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "manage",
                "admin",
                "connector",
                "google-drive",
                "service-account-key"
              ]
            },
            "description": ""
          },
          "response": []
        },
        {
          "name": "Upsert Google Drive Service Account Key",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/manage/admin/connector/google-drive/service-account-key",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "manage",
                "admin",
                "connector",
                "google-drive",
                "service-account-key"
              ]
            },
            "description": "",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"type\": \"service_account\",\n  \"project_id\": \"...\",\n  \"private_key_id\": \"...\",\n  \"private_key\": \"-----BEGIN PRIVATE KEY-----...\",\n  \"client_email\": \"...\",\n  \"client_id\": \"...\",\n  \"auth_uri\": \"https://accounts.google.com/o/oauth2/auth\",\n  \"token_uri\": \"https://oauth2.googleapis.com/token\",\n  \"auth_provider_x509_cert_url\": \"https://www.googleapis.com/oauth2/v1/certs\",\n  \"client_x509_cert_url\": \"...\",\n  \"universe_domain\": \"googleapis.com\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Delete Google Drive Service Account Key",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/manage/admin/connector/google-drive/service-account-key",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "manage",
                "admin",
                "connector",
                "google-drive",
                "service-account-key"
              ]
            },
            "description": ""
          },
          "response": []
        },
        {
          "name": "Upsert Service Account Credential",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/manage/admin/connector/google-drive/service-account-credential",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "manage",
                "admin",
                "connector",
                "google-drive",
                "service-account-credential"
              ]
            },
            "description": "Create a credential from a saved service account key.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"google_primary_admin\": \"admin@example.com\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Check Google Drive Tokens",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/manage/admin/connector/google-drive/check-auth/:credential_id?credential_id=:credential_id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "manage",
                "admin",
                "connector",
                "google-drive",
                "check-auth",
                ":credential_id"
              ],
              "query": [
                {
                  "key": "credential_id",
                  "value": ":credential_id",
                  "disabled": false
                }
              ],
              "variable": [
                {
                  "key": "credential_id",
                  "value": ""
                }
              ]
            },
            "description": ""
          },
          "response": []
        },
        {
          "name": "Google Drive Authorize URL",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/manage/connector/google-drive/authorize/:credential_id?credential_id=:credential_id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "manage",
                "connector",
                "google-drive",
                "authorize",
                ":credential_id"
              ],
              "query": [
                {
                  "key": "credential_id",
                  "value": ":credential_id",
                  "disabled": false
                }
              ],
              "variable": [
                {
                  "key": "credential_id",
                  "value": ""
                }
              ]
            },
            "description": ""
          },
          "response": []
        },
        {
          "name": "Google Drive Callback",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/manage/connector/google-drive/callback?state=<state>&code=<code>",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "manage",
                "connector",
                "google-drive",
                "callback"
              ],
              "query": [
                {
                  "key": "state",
                  "value": "<state>",
                  "disabled": false
                },
                {
                  "key": "code",
                  "value": "<code>",
                  "disabled": false
                }
              ]
            },
            "description": ""
          },
          "response": []
        },
        {
          "name": "Check Gmail App Credentials",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/manage/admin/connector/gmail/app-credential",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "manage",
                "admin",
                "connector",
                "gmail",
                "app-credential"
              ]
            },
            "description": ""
          },
          "response": []
        },
        {
          "name": "Upsert Gmail App Credentials",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/manage/admin/connector/gmail/app-credential",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "manage",
                "admin",
                "connector",
                "gmail",
                "app-credential"
              ]
            },
            "description": "",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"web\": {\n    \"client_id\": \"...\",\n    \"project_id\": \"...\",\n    \"auth_uri\": \"https://accounts.google.com/o/oauth2/auth\",\n    \"token_uri\": \"https://oauth2.googleapis.com/token\",\n    \"auth_provider_x509_cert_url\": \"https://www.googleapis.com/oauth2/v1/certs\",\n    \"client_secret\": \"...\",\n    \"redirect_uris\": [\n      \"http://localhost:3000/api/manage/connector/gmail/callback\"\n    ],\n    \"javascript_origins\": [\n      \"http://localhost:3000\"\n    ]\n  }\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Delete Gmail App Credentials",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/manage/admin/connector/gmail/app-credential",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "manage",
                "admin",
                "connector",
                "gmail",
                "app-credential"
              ]
            },
            "description": ""
          },
          "response": []
        },
        {
          "name": "Check Gmail Service Account Key",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/manage/admin/connector/gmail/service-account-key",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "manage",
                "admin",
                "connector",
                "gmail",
                "service-account-key"
              ]
            },
            "description": ""
          },
          "response": []
        },
        {
          "name": "Upsert Gmail Service Account Key",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/manage/admin/connector/gmail/service-account-key",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "manage",
                "admin",
                "connector",
                "gmail",
                "service-account-key"
              ]
            },
            "description": "",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"type\": \"service_account\",\n  \"project_id\": \"...\",\n  \"private_key_id\": \"...\",\n  \"private_key\": \"-----BEGIN PRIVATE KEY-----...\",\n  \"client_email\": \"...\",\n  \"client_id\": \"...\",\n  \"auth_uri\": \"https://accounts.google.com/o/oauth2/auth\",\n  \"token_uri\": \"https://oauth2.googleapis.com/token\",\n  \"auth_provider_x509_cert_url\": \"https://www.googleapis.com/oauth2/v1/certs\",\n  \"client_x509_cert_url\": \"...\",\n  \"universe_domain\": \"googleapis.com\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Delete Gmail Service Account Key",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/manage/admin/connector/gmail/service-account-key",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "manage",
                "admin",
                "connector",
                "gmail",
                "service-account-key"
              ]
            },
            "description": ""
          },
          "response": []
        },
        {
          "name": "Upsert Gmail Service Account Credential",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/manage/admin/connector/gmail/service-account-credential",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "manage",
                "admin",
                "connector",
                "gmail",
                "service-account-credential"
              ]
            },
            "description": "",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"google_primary_admin\": \"admin@example.com\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Gmail Authorize URL",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/manage/connector/gmail/authorize/:credential_id?credential_id=:credential_id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "manage",
                "connector",
                "gmail",
                "authorize",
                ":credential_id"
              ],
              "query": [
                {
                  "key": "credential_id",
                  "value": ":credential_id",
                  "disabled": false
                }
              ],
              "variable": [
                {
                  "key": "credential_id",
                  "value": ""
                }
              ]
            },
            "description": ""
          },
          "response": []
        },
        {
          "name": "Gmail Callback",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/manage/connector/gmail/callback?state=<state>&code=<code>",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "manage",
                "connector",
                "gmail",
                "callback"
              ],
              "query": [
                {
                  "key": "state",
                  "value": "<state>",
                  "disabled": false
                },
                {
                  "key": "code",
                  "value": "<code>",
                  "disabled": false
                }
              ]
            },
            "description": ""
          },
          "response": []
        }
      ]
    },
    {
      "name": "Connectors - OAuth (Generic)",
      "item": [
        {
          "name": "OAuth Authorize",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/connector/oauth/authorize/:source?source=:source&desired_return_url=",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "connector",
                "oauth",
                "authorize",
                ":source"
              ],
              "query": [
                {
                  "key": "source",
                  "value": ":source",
                  "disabled": false
                },
                {
                  "key": "desired_return_url",
                  "value": "",
                  "disabled": true
                }
              ],
              "variable": [
                {
                  "key": "source",
                  "value": ""
                }
              ]
            },
            "description": "Initiates the OAuth flow by redirecting to the provider's auth page."
          },
          "response": []
        },
        {
          "name": "OAuth Callback",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/connector/oauth/callback/:source?source=:source&code=<code>&state=<state>",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "connector",
                "oauth",
                "callback",
                ":source"
              ],
              "query": [
                {
                  "key": "source",
                  "value": ":source",
                  "disabled": false
                },
                {
                  "key": "code",
                  "value": "<code>",
                  "disabled": false
                },
                {
                  "key": "state",
                  "value": "<state>",
                  "disabled": false
                }
              ],
              "variable": [
                {
                  "key": "source",
                  "value": ""
                }
              ]
            },
            "description": "Handles the OAuth callback and exchanges the code for tokens."
          },
          "response": []
        },
        {
          "name": "OAuth Details",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/connector/oauth/details/:source?source=:source",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "connector",
                "oauth",
                "details",
                ":source"
              ],
              "query": [
                {
                  "key": "source",
                  "value": ":source",
                  "disabled": false
                }
              ],
              "variable": [
                {
                  "key": "source",
                  "value": ""
                }
              ]
            },
            "description": ""
          },
          "response": []
        },
        {
          "name": "Prepare Authorization Request",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/oauth/prepare-authorization-request?connector=google_drive&redirect_on_success=",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "oauth",
                "prepare-authorization-request"
              ],
              "query": [
                {
                  "key": "connector",
                  "value": "google_drive",
                  "disabled": false
                },
                {
                  "key": "redirect_on_success",
                  "value": "",
                  "disabled": true
                }
              ]
            },
            "description": "Generate the URL for the user's browser during auth."
          },
          "response": []
        },
        {
          "name": "Confluence OAuth Callback",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/oauth/connector/confluence/callback?code=<code>&state=<state>",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "oauth",
                "connector",
                "confluence",
                "callback"
              ],
              "query": [
                {
                  "key": "code",
                  "value": "<code>",
                  "disabled": false
                },
                {
                  "key": "state",
                  "value": "<state>",
                  "disabled": false
                }
              ]
            },
            "description": ""
          },
          "response": []
        },
        {
          "name": "Confluence Accessible Resources",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/oauth/connector/confluence/accessible-resources?credential_id=1",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "oauth",
                "connector",
                "confluence",
                "accessible-resources"
              ],
              "query": [
                {
                  "key": "credential_id",
                  "value": "1",
                  "disabled": false
                }
              ]
            },
            "description": ""
          },
          "response": []
        },
        {
          "name": "Confluence Finalize",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/oauth/connector/confluence/finalize?credential_id=1&cloud_id=<cloud_id>&cloud_name=<cloud_name>&cloud_url=<cloud_url>",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "oauth",
                "connector",
                "confluence",
                "finalize"
              ],
              "query": [
                {
                  "key": "credential_id",
                  "value": "1",
                  "disabled": false
                },
                {
                  "key": "cloud_id",
                  "value": "<cloud_id>",
                  "disabled": false
                },
                {
                  "key": "cloud_name",
                  "value": "<cloud_name>",
                  "disabled": false
                },
                {
                  "key": "cloud_url",
                  "value": "<cloud_url>",
                  "disabled": false
                }
              ]
            },
            "description": ""
          },
          "response": []
        },
        {
          "name": "Google Drive OAuth Callback",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/oauth/connector/google-drive/callback?code=<code>&state=<state>",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "oauth",
                "connector",
                "google-drive",
                "callback"
              ],
              "query": [
                {
                  "key": "code",
                  "value": "<code>",
                  "disabled": false
                },
                {
                  "key": "state",
                  "value": "<state>",
                  "disabled": false
                }
              ]
            },
            "description": ""
          },
          "response": []
        },
        {
          "name": "Slack OAuth Callback",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/oauth/connector/slack/callback?code=<code>&state=<state>",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "oauth",
                "connector",
                "slack",
                "callback"
              ],
              "query": [
                {
                  "key": "code",
                  "value": "<code>",
                  "disabled": false
                },
                {
                  "key": "state",
                  "value": "<state>",
                  "disabled": false
                }
              ]
            },
            "description": ""
          },
          "response": []
        }
      ]
    },
    {
      "name": "Credentials",
      "item": [
        {
          "name": "List Credentials (admin)",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/manage/admin/credential",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "manage",
                "admin",
                "credential"
              ]
            },
            "description": "Lists all public credentials."
          },
          "response": []
        },
        {
          "name": "Get CC Source Full Info",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/manage/admin/similar-credentials/:source_type?source_type=:source_type&get_editable=false",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "manage",
                "admin",
                "similar-credentials",
                ":source_type"
              ],
              "query": [
                {
                  "key": "source_type",
                  "value": ":source_type",
                  "disabled": false
                },
                {
                  "key": "get_editable",
                  "value": "false",
                  "disabled": false
                }
              ],
              "variable": [
                {
                  "key": "source_type",
                  "value": ""
                }
              ]
            },
            "description": "Credentials for a given source type."
          },
          "response": []
        },
        {
          "name": "Update Credential Data (admin)",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/manage/admin/credential/:credential_id?credential_id=:credential_id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "manage",
                "admin",
                "credential",
                ":credential_id"
              ],
              "query": [
                {
                  "key": "credential_id",
                  "value": ":credential_id",
                  "disabled": false
                }
              ],
              "variable": [
                {
                  "key": "credential_id",
                  "value": ""
                }
              ]
            },
            "description": "Update credential JSON / name.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"Updated credential\",\n  \"credential_json\": {\n    \"api_key\": \"...\"\n  }\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Delete Credential (admin)",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/manage/admin/credential/:credential_id?credential_id=:credential_id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "manage",
                "admin",
                "credential",
                ":credential_id"
              ],
              "query": [
                {
                  "key": "credential_id",
                  "value": ":credential_id",
                  "disabled": false
                }
              ],
              "variable": [
                {
                  "key": "credential_id",
                  "value": ""
                }
              ]
            },
            "description": "Admin delete any credential."
          },
          "response": []
        },
        {
          "name": "Swap Credentials for Connector",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/manage/admin/credential/swap",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "manage",
                "admin",
                "credential",
                "swap"
              ]
            },
            "description": "Swap the credential used by a connector.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"new_credential_id\": 2,\n  \"connector_id\": 1,\n  \"access_type\": \"public\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Update Credential Private Key",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/manage/admin/credential/private-key/:credential_id?credential_id=:credential_id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "manage",
                "admin",
                "credential",
                "private-key",
                ":credential_id"
              ],
              "query": [
                {
                  "key": "credential_id",
                  "value": ":credential_id",
                  "disabled": false
                }
              ],
              "variable": [
                {
                  "key": "credential_id",
                  "value": ""
                }
              ]
            },
            "description": "Update a credential's private key. Multipart form.",
            "body": {
              "mode": "formdata",
              "formdata": [
                {
                  "key": "name",
                  "value": "Updated",
                  "type": "text"
                },
                {
                  "key": "credential_json",
                  "value": "{}",
                  "type": "text"
                },
                {
                  "key": "uploaded_file",
                  "type": "file",
                  "src": []
                },
                {
                  "key": "field_key",
                  "value": "private_key",
                  "type": "text"
                },
                {
                  "key": "type_definition_key",
                  "value": "string",
                  "type": "text"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "List Credentials",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/manage/credential",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "manage",
                "credential"
              ]
            },
            "description": "List credentials."
          },
          "response": []
        },
        {
          "name": "Create Credential",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/manage/credential",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "manage",
                "credential"
              ]
            },
            "description": "Create a new credential.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"credential_json\": {\n    \"api_key\": \"your-secret\"\n  },\n  \"admin_public\": true,\n  \"source\": \"web\",\n  \"name\": \"My credential\",\n  \"curator_public\": false,\n  \"groups\": []\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Create Credential with Private Key",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/manage/credential/private-key",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "manage",
                "credential",
                "private-key"
              ]
            },
            "description": "Create a credential that uses a private-key file (e.g. service accounts).",
            "body": {
              "mode": "formdata",
              "formdata": [
                {
                  "key": "credential_json",
                  "value": "{}",
                  "type": "text"
                },
                {
                  "key": "admin_public",
                  "value": "false",
                  "type": "text"
                },
                {
                  "key": "curator_public",
                  "value": "false",
                  "type": "text"
                },
                {
                  "key": "groups",
                  "value": "[]",
                  "type": "text"
                },
                {
                  "key": "name",
                  "value": "Service account",
                  "type": "text"
                },
                {
                  "key": "source",
                  "value": "google_drive",
                  "type": "text"
                },
                {
                  "key": "uploaded_file",
                  "type": "file",
                  "src": []
                },
                {
                  "key": "field_key",
                  "value": "private_key",
                  "type": "text"
                },
                {
                  "key": "type_definition_key",
                  "value": "string",
                  "type": "text"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get Credential",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/manage/credential/:credential_id?credential_id=:credential_id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "manage",
                "credential",
                ":credential_id"
              ],
              "query": [
                {
                  "key": "credential_id",
                  "value": ":credential_id",
                  "disabled": false
                }
              ],
              "variable": [
                {
                  "key": "credential_id",
                  "value": ""
                }
              ]
            },
            "description": "Get credential by ID."
          },
          "response": []
        },
        {
          "name": "Update Credential",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/manage/credential/:credential_id?credential_id=:credential_id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "manage",
                "credential",
                ":credential_id"
              ],
              "query": [
                {
                  "key": "credential_id",
                  "value": ":credential_id",
                  "disabled": false
                }
              ],
              "variable": [
                {
                  "key": "credential_id",
                  "value": ""
                }
              ]
            },
            "description": "Update credential metadata and JSON.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"credential_json\": {\n    \"api_key\": \"new\"\n  },\n  \"admin_public\": true,\n  \"source\": \"web\",\n  \"name\": \"Renamed credential\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Delete Credential",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/manage/credential/:credential_id?credential_id=:credential_id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "manage",
                "credential",
                ":credential_id"
              ],
              "query": [
                {
                  "key": "credential_id",
                  "value": ":credential_id",
                  "disabled": false
                }
              ],
              "variable": [
                {
                  "key": "credential_id",
                  "value": ""
                }
              ]
            },
            "description": "Delete credential."
          },
          "response": []
        },
        {
          "name": "Force Delete Credential",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/manage/credential/force/:credential_id?credential_id=:credential_id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "manage",
                "credential",
                "force",
                ":credential_id"
              ],
              "query": [
                {
                  "key": "credential_id",
                  "value": ":credential_id",
                  "disabled": false
                }
              ],
              "variable": [
                {
                  "key": "credential_id",
                  "value": ""
                }
              ]
            },
            "description": "Force-delete a credential even if linked to connectors."
          },
          "response": []
        }
      ]
    },
    {
      "name": "CC-Pairs (Connector-Credential)",
      "item": [
        {
          "name": "Get CC Pair Full Info",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/manage/admin/cc-pair/:cc_pair_id?cc_pair_id=:cc_pair_id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "manage",
                "admin",
                "cc-pair",
                ":cc_pair_id"
              ],
              "query": [
                {
                  "key": "cc_pair_id",
                  "value": ":cc_pair_id",
                  "disabled": false
                }
              ],
              "variable": [
                {
                  "key": "cc_pair_id",
                  "value": ""
                }
              ]
            },
            "description": "Full info for a CC pair (status, counts, errors, last sync)."
          },
          "response": []
        },
        {
          "name": "Update CC Pair Status",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/manage/admin/cc-pair/:cc_pair_id/status?cc_pair_id=:cc_pair_id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "manage",
                "admin",
                "cc-pair",
                ":cc_pair_id",
                "status"
              ],
              "query": [
                {
                  "key": "cc_pair_id",
                  "value": ":cc_pair_id",
                  "disabled": false
                }
              ],
              "variable": [
                {
                  "key": "cc_pair_id",
                  "value": ""
                }
              ]
            },
            "description": "Pause / resume / etc. \u2014 status updates are optimistic.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"status\": \"ACTIVE\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Update CC Pair Name",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/manage/admin/cc-pair/:cc_pair_id/name?cc_pair_id=:cc_pair_id&new_name=New Name",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "manage",
                "admin",
                "cc-pair",
                ":cc_pair_id",
                "name"
              ],
              "query": [
                {
                  "key": "cc_pair_id",
                  "value": ":cc_pair_id",
                  "disabled": false
                },
                {
                  "key": "new_name",
                  "value": "New Name",
                  "disabled": false
                }
              ],
              "variable": [
                {
                  "key": "cc_pair_id",
                  "value": ""
                }
              ]
            },
            "description": "Rename a CC pair."
          },
          "response": []
        },
        {
          "name": "Update CC Pair Property",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/manage/admin/cc-pair/:cc_pair_id/property?cc_pair_id=:cc_pair_id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "manage",
                "admin",
                "cc-pair",
                ":cc_pair_id",
                "property"
              ],
              "query": [
                {
                  "key": "cc_pair_id",
                  "value": ":cc_pair_id",
                  "disabled": false
                }
              ],
              "variable": [
                {
                  "key": "cc_pair_id",
                  "value": ""
                }
              ]
            },
            "description": "Update an arbitrary CC pair property (e.g. refresh_freq).",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"refresh_freq\",\n  \"value\": \"3600\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "List Index Attempts",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/manage/admin/cc-pair/:cc_pair_id/index-attempts?cc_pair_id=:cc_pair_id&page_num=0&page_size=10",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "manage",
                "admin",
                "cc-pair",
                ":cc_pair_id",
                "index-attempts"
              ],
              "query": [
                {
                  "key": "cc_pair_id",
                  "value": ":cc_pair_id",
                  "disabled": false
                },
                {
                  "key": "page_num",
                  "value": "0",
                  "disabled": false
                },
                {
                  "key": "page_size",
                  "value": "10",
                  "disabled": false
                }
              ],
              "variable": [
                {
                  "key": "cc_pair_id",
                  "value": ""
                }
              ]
            },
            "description": "Paginated index attempts for a CC pair."
          },
          "response": []
        },
        {
          "name": "List Permission Sync Attempts",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/manage/admin/cc-pair/:cc_pair_id/permission-sync-attempts?cc_pair_id=:cc_pair_id&page_num=0&page_size=10",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "manage",
                "admin",
                "cc-pair",
                ":cc_pair_id",
                "permission-sync-attempts"
              ],
              "query": [
                {
                  "key": "cc_pair_id",
                  "value": ":cc_pair_id",
                  "disabled": false
                },
                {
                  "key": "page_num",
                  "value": "0",
                  "disabled": false
                },
                {
                  "key": "page_size",
                  "value": "10",
                  "disabled": false
                }
              ],
              "variable": [
                {
                  "key": "cc_pair_id",
                  "value": ""
                }
              ]
            },
            "description": "Paginated permission sync attempts."
          },
          "response": []
        },
        {
          "name": "List Indexing Errors",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/manage/admin/cc-pair/:cc_pair_id/errors?cc_pair_id=:cc_pair_id&include_resolved=false&page_num=0&page_size=10",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "manage",
                "admin",
                "cc-pair",
                ":cc_pair_id",
                "errors"
              ],
              "query": [
                {
                  "key": "cc_pair_id",
                  "value": ":cc_pair_id",
                  "disabled": false
                },
                {
                  "key": "include_resolved",
                  "value": "false",
                  "disabled": false
                },
                {
                  "key": "page_num",
                  "value": "0",
                  "disabled": false
                },
                {
                  "key": "page_size",
                  "value": "10",
                  "disabled": false
                }
              ],
              "variable": [
                {
                  "key": "cc_pair_id",
                  "value": ""
                }
              ]
            },
            "description": "Paginated indexing errors for a CC pair."
          },
          "response": []
        },
        {
          "name": "Last Pruned",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/manage/admin/cc-pair/:cc_pair_id/last_pruned?cc_pair_id=:cc_pair_id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "manage",
                "admin",
                "cc-pair",
                ":cc_pair_id",
                "last_pruned"
              ],
              "query": [
                {
                  "key": "cc_pair_id",
                  "value": ":cc_pair_id",
                  "disabled": false
                }
              ],
              "variable": [
                {
                  "key": "cc_pair_id",
                  "value": ""
                }
              ]
            },
            "description": "Last prune time for the CC pair."
          },
          "response": []
        },
        {
          "name": "Prune CC Pair",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/manage/admin/cc-pair/:cc_pair_id/prune?cc_pair_id=:cc_pair_id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "manage",
                "admin",
                "cc-pair",
                ":cc_pair_id",
                "prune"
              ],
              "query": [
                {
                  "key": "cc_pair_id",
                  "value": ":cc_pair_id",
                  "disabled": false
                }
              ],
              "variable": [
                {
                  "key": "cc_pair_id",
                  "value": ""
                }
              ]
            },
            "description": "Trigger an immediate prune."
          },
          "response": []
        },
        {
          "name": "Docs Sync Status",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/manage/admin/cc-pair/:cc_pair_id/get-docs-sync-status?cc_pair_id=:cc_pair_id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "manage",
                "admin",
                "cc-pair",
                ":cc_pair_id",
                "get-docs-sync-status"
              ],
              "query": [
                {
                  "key": "cc_pair_id",
                  "value": ":cc_pair_id",
                  "disabled": false
                }
              ],
              "variable": [
                {
                  "key": "cc_pair_id",
                  "value": ""
                }
              ]
            },
            "description": "Per-document sync status."
          },
          "response": []
        },
        {
          "name": "Last Permission Sync",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/manage/admin/cc-pair/:cc_pair_id/sync-permissions?cc_pair_id=:cc_pair_id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "manage",
                "admin",
                "cc-pair",
                ":cc_pair_id",
                "sync-permissions"
              ],
              "query": [
                {
                  "key": "cc_pair_id",
                  "value": ":cc_pair_id",
                  "disabled": false
                }
              ],
              "variable": [
                {
                  "key": "cc_pair_id",
                  "value": ""
                }
              ]
            },
            "description": "Get last permission sync time."
          },
          "response": []
        },
        {
          "name": "Trigger Permission Sync",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/manage/admin/cc-pair/:cc_pair_id/sync-permissions?cc_pair_id=:cc_pair_id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "manage",
                "admin",
                "cc-pair",
                ":cc_pair_id",
                "sync-permissions"
              ],
              "query": [
                {
                  "key": "cc_pair_id",
                  "value": ":cc_pair_id",
                  "disabled": false
                }
              ],
              "variable": [
                {
                  "key": "cc_pair_id",
                  "value": ""
                }
              ]
            },
            "description": "Trigger an immediate permission sync."
          },
          "response": []
        },
        {
          "name": "Last Group Sync",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/manage/admin/cc-pair/:cc_pair_id/sync-groups?cc_pair_id=:cc_pair_id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "manage",
                "admin",
                "cc-pair",
                ":cc_pair_id",
                "sync-groups"
              ],
              "query": [
                {
                  "key": "cc_pair_id",
                  "value": ":cc_pair_id",
                  "disabled": false
                }
              ],
              "variable": [
                {
                  "key": "cc_pair_id",
                  "value": ""
                }
              ]
            },
            "description": "Get last group sync time."
          },
          "response": []
        },
        {
          "name": "Trigger Group Sync",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/manage/admin/cc-pair/:cc_pair_id/sync-groups?cc_pair_id=:cc_pair_id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "manage",
                "admin",
                "cc-pair",
                ":cc_pair_id",
                "sync-groups"
              ],
              "query": [
                {
                  "key": "cc_pair_id",
                  "value": ":cc_pair_id",
                  "disabled": false
                }
              ],
              "variable": [
                {
                  "key": "cc_pair_id",
                  "value": ""
                }
              ]
            },
            "description": "Trigger an immediate group sync."
          },
          "response": []
        }
      ]
    },
    {
      "name": "Federated Connectors",
      "item": [
        {
          "name": "List Federated Connectors",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/federated",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "federated"
              ]
            },
            "description": "All federated connectors for the status table."
          },
          "response": []
        },
        {
          "name": "Create Federated Connector",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/federated",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "federated"
              ]
            },
            "description": "Create a new federated connector.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"source\": \"federated_slack\",\n  \"credentials\": {\n    \"client_id\": \"...\",\n    \"client_secret\": \"...\",\n    \"redirect_uri\": \"...\"\n  },\n  \"config\": {}\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Get Federated Connector",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/federated/:id?id=:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "federated",
                ":id"
              ],
              "query": [
                {
                  "key": "id",
                  "value": ":id",
                  "disabled": false
                }
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": ""
          },
          "response": []
        },
        {
          "name": "Update Federated Connector",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/federated/:id?id=:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "federated",
                ":id"
              ],
              "query": [
                {
                  "key": "id",
                  "value": ":id",
                  "disabled": false
                }
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"credentials\": {\n    \"client_id\": \"...\",\n    \"client_secret\": \"...\",\n    \"redirect_uri\": \"...\"\n  },\n  \"config\": {}\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Delete Federated Connector",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/federated/:id?id=:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "federated",
                ":id"
              ],
              "query": [
                {
                  "key": "id",
                  "value": ":id",
                  "disabled": false
                }
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": ""
          },
          "response": []
        },
        {
          "name": "Get Allowed Entities",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/federated/:id/entities?id=:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "federated",
                ":id",
                "entities"
              ],
              "query": [
                {
                  "key": "id",
                  "value": ":id",
                  "disabled": false
                }
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": ""
          },
          "response": []
        },
        {
          "name": "Credentials Schema",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/federated/:id/credentials/schema?id=:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "federated",
                ":id",
                "credentials",
                "schema"
              ],
              "query": [
                {
                  "key": "id",
                  "value": ":id",
                  "disabled": false
                }
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": ""
          },
          "response": []
        },
        {
          "name": "Validate Entities",
          "request": {
            "method": "HEAD",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/federated/:id/entities/validate?id=:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "federated",
                ":id",
                "entities",
                "validate"
              ],
              "query": [
                {
                  "key": "id",
                  "value": ":id",
                  "disabled": false
                }
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": ""
          },
          "response": []
        },
        {
          "name": "Get Authorize URL",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/federated/:id/authorize?id=:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "federated",
                ":id",
                "authorize"
              ],
              "query": [
                {
                  "key": "id",
                  "value": ":id",
                  "disabled": false
                }
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": ""
          },
          "response": []
        },
        {
          "name": "Disconnect OAuth Token",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/federated/:id/oauth?id=:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "federated",
                ":id",
                "oauth"
              ],
              "query": [
                {
                  "key": "id",
                  "value": ":id",
                  "disabled": false
                }
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "Disconnect this user's OAuth token."
          },
          "response": []
        },
        {
          "name": "Configuration Schema (by source)",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/federated/sources/:source/configuration/schema?source=:source",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "federated",
                "sources",
                ":source",
                "configuration",
                "schema"
              ],
              "query": [
                {
                  "key": "source",
                  "value": ":source",
                  "disabled": false
                }
              ],
              "variable": [
                {
                  "key": "source",
                  "value": ""
                }
              ]
            },
            "description": ""
          },
          "response": []
        },
        {
          "name": "Credentials Schema (by source)",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/federated/sources/:source/credentials/schema?source=:source",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "federated",
                "sources",
                ":source",
                "credentials",
                "schema"
              ],
              "query": [
                {
                  "key": "source",
                  "value": ":source",
                  "disabled": false
                }
              ],
              "variable": [
                {
                  "key": "source",
                  "value": ""
                }
              ]
            },
            "description": ""
          },
          "response": []
        },
        {
          "name": "Validate Credentials (by source)",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/federated/sources/:source/credentials/validate?source=:source",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "federated",
                "sources",
                ":source",
                "credentials",
                "validate"
              ],
              "query": [
                {
                  "key": "source",
                  "value": ":source",
                  "disabled": false
                }
              ],
              "variable": [
                {
                  "key": "source",
                  "value": ""
                }
              ]
            },
            "description": "Validate credentials for a source type.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"client_id\": \"...\",\n  \"client_secret\": \"...\",\n  \"redirect_uri\": \"...\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "OAuth Callback (generic)",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/federated/callback",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "federated",
                "callback"
              ]
            },
            "description": "Handle callback for any federated connector using state param."
          },
          "response": []
        },
        {
          "name": "User OAuth Status",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/federated/oauth-status",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "federated",
                "oauth-status"
              ]
            },
            "description": "OAuth status for all federated connectors for the current user."
          },
          "response": []
        }
      ]
    },
    {
      "name": "Chat - Sessions",
      "item": [
        {
          "name": "List My Chat Sessions",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/chat/get-user-chat-sessions?project_id=&only_non_project_chats=true&include_failed_chats=false",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "chat",
                "get-user-chat-sessions"
              ],
              "query": [
                {
                  "key": "project_id",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "only_non_project_chats",
                  "value": "true",
                  "disabled": false
                },
                {
                  "key": "include_failed_chats",
                  "value": "false",
                  "disabled": false
                }
              ]
            },
            "description": "List chat sessions for the current user (optionally filtered by project)."
          },
          "response": []
        },
        {
          "name": "Create Chat Session",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/chat/create-chat-session",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "chat",
                "create-chat-session"
              ]
            },
            "description": "Create a new chat session.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"persona_id\": 0,\n  \"is_global_persona\": false,\n  \"description\": \"My new chat\",\n  \"project_id\": null\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Get Chat Session",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/chat/get-chat-session/:session_id?session_id=:session_id&is_shared=false&include_deleted=false",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "chat",
                "get-chat-session",
                ":session_id"
              ],
              "query": [
                {
                  "key": "session_id",
                  "value": ":session_id",
                  "disabled": false
                },
                {
                  "key": "is_shared",
                  "value": "false",
                  "disabled": false
                },
                {
                  "key": "include_deleted",
                  "value": "false",
                  "disabled": false
                }
              ],
              "variable": [
                {
                  "key": "session_id",
                  "value": ""
                }
              ]
            },
            "description": "Get a chat session by id, with messages."
          },
          "response": []
        },
        {
          "name": "Rename Chat Session",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/chat/rename-chat-session",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "chat",
                "rename-chat-session"
              ]
            },
            "description": "Rename a chat session (or let the system auto-name when name is null).",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"chat_session_id\": \":session_id\",\n  \"name\": \"New name\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Patch Chat Session",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/chat/chat-session/:session_id?session_id=:session_id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "chat",
                "chat-session",
                ":session_id"
              ],
              "query": [
                {
                  "key": "session_id",
                  "value": ":session_id",
                  "disabled": false
                }
              ],
              "variable": [
                {
                  "key": "session_id",
                  "value": ""
                }
              ]
            },
            "description": "Update chat session settings (e.g. sharing).",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"sharing_status\": \"private\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Update Session Temperature",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/chat/update-chat-session-temperature",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "chat",
                "update-chat-session-temperature"
              ]
            },
            "description": "Override temperature for a session.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"chat_session_id\": \":session_id\",\n  \"temperature_override\": 0.3\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Update Session Model",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/chat/update-chat-session-model",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "chat",
                "update-chat-session-model"
              ]
            },
            "description": "Switch the model used by a session.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"chat_session_id\": \":session_id\",\n  \"new_alternate_model\": \"gpt-4o\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Delete Chat Session",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/chat/delete-chat-session/:session_id?session_id=:session_id&hard_delete=false",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "chat",
                "delete-chat-session",
                ":session_id"
              ],
              "query": [
                {
                  "key": "session_id",
                  "value": ":session_id",
                  "disabled": false
                },
                {
                  "key": "hard_delete",
                  "value": "false",
                  "disabled": false
                }
              ],
              "variable": [
                {
                  "key": "session_id",
                  "value": ""
                }
              ]
            },
            "description": ""
          },
          "response": []
        },
        {
          "name": "Delete All Chat Sessions",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/chat/delete-all-chat-sessions",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "chat",
                "delete-all-chat-sessions"
              ]
            },
            "description": ""
          },
          "response": []
        },
        {
          "name": "Stop Chat Session",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/chat/stop-chat-session/:chat_session_id?chat_session_id=:chat_session_id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "chat",
                "stop-chat-session",
                ":chat_session_id"
              ],
              "query": [
                {
                  "key": "chat_session_id",
                  "value": ":chat_session_id",
                  "disabled": false
                }
              ],
              "variable": [
                {
                  "key": "chat_session_id",
                  "value": ""
                }
              ]
            },
            "description": "Set a stop signal in Redis to cancel the running response."
          },
          "response": []
        },
        {
          "name": "Search Chats",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/chat/search?query=&page=1&page_size=10",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "chat",
                "search"
              ],
              "query": [
                {
                  "key": "query",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "page",
                  "value": "1",
                  "disabled": false
                },
                {
                  "key": "page_size",
                  "value": "10",
                  "disabled": false
                }
              ]
            },
            "description": "Search chat sessions. Returns recent sessions if no query."
          },
          "response": []
        },
        {
          "name": "Available Context Tokens",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/chat/available-context-tokens/:session_id?session_id=:session_id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "chat",
                "available-context-tokens",
                ":session_id"
              ],
              "query": [
                {
                  "key": "session_id",
                  "value": ":session_id",
                  "disabled": false
                }
              ],
              "variable": [
                {
                  "key": "session_id",
                  "value": ""
                }
              ]
            },
            "description": "Available context tokens for a session based on its persona."
          },
          "response": []
        },
        {
          "name": "Max Selected Document Tokens",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/chat/max-selected-document-tokens?persona_id=0",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "chat",
                "max-selected-document-tokens"
              ],
              "query": [
                {
                  "key": "persona_id",
                  "value": "0",
                  "disabled": false
                }
              ]
            },
            "description": ""
          },
          "response": []
        }
      ]
    },
    {
      "name": "Chat - Messages",
      "item": [
        {
          "name": "Send Message (streaming)",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/chat/send-message",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "chat",
                "send-message"
              ]
            },
            "description": "Send a new message in an existing chat session. Streams the response (SSE/NDJSON). Also used for regenerate / edit / seeded kick-off.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"chat_session_id\": \":session_id\",\n  \"parent_message_id\": null,\n  \"message\": \"Hello!\",\n  \"file_descriptors\": [],\n  \"search_doc_ids\": null,\n  \"retrieval_options\": {\n    \"run_search\": \"auto\",\n    \"real_time\": true,\n    \"dedupe_docs\": false\n  },\n  \"regenerate\": false,\n  \"use_existing_user_message\": false,\n  \"skip_gen_ai_answer_generation\": false,\n  \"deep_research\": false,\n  \"include_citations\": true,\n  \"origin\": \"api\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Send Chat Message (stream or JSON)",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/chat/send-chat-message",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "chat",
                "send-chat-message"
              ]
            },
            "description": "Newer chat send endpoint. Set `stream=false` to get a single ChatFullResponse instead of SSE.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"message\": \"Hello!\",\n  \"chat_session_id\": \":session_id\",\n  \"stream\": true,\n  \"include_citations\": true,\n  \"deep_research\": false,\n  \"origin\": \"api\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Set Message as Latest",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/chat/set-message-as-latest",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "chat",
                "set-message-as-latest"
              ]
            },
            "description": "Set a message as the latest in the session (used during edit/regenerate).",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"message_id\": 0\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Submit Feedback",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/chat/create-chat-message-feedback",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "chat",
                "create-chat-message-feedback"
              ]
            },
            "description": "Like / dislike a chat message, optionally with text or a predefined reason.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"chat_message_id\": 0,\n  \"is_positive\": true,\n  \"feedback_text\": \"Great!\",\n  \"predefined_feedback\": null\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Remove Feedback",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/chat/remove-chat-message-feedback?chat_message_id=0",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "chat",
                "remove-chat-message-feedback"
              ],
              "query": [
                {
                  "key": "chat_message_id",
                  "value": "0",
                  "disabled": false
                }
              ]
            },
            "description": "Remove a feedback record."
          },
          "response": []
        },
        {
          "name": "Seed Chat Session",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/chat/seed-chat-session",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "chat",
                "seed-chat-session"
              ]
            },
            "description": "Create a chat session seeded with persona/llm overrides and an optional first message.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"persona_id\": 0,\n  \"description\": \"Seeded chat\",\n  \"message\": \"Hello\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Seed Chat From Slack",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/chat/seed-chat-session-from-slack",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "chat",
                "seed-chat-session-from-slack"
              ]
            },
            "description": "Continue a Slack chat session in the web UI.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"chat_session_id\": \":session_id\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Fetch Chat File",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/chat/file/:file_id?file_id=:file_id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "chat",
                "file",
                ":file_id"
              ],
              "query": [
                {
                  "key": "file_id",
                  "value": ":file_id",
                  "disabled": false
                }
              ],
              "variable": [
                {
                  "key": "file_id",
                  "value": ""
                }
              ]
            },
            "description": "Download a file attached to a chat."
          },
          "response": []
        }
      ]
    },
    {
      "name": "Chat - Admin History",
      "item": [
        {
          "name": "Admin: Get User's Chat Sessions",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/admin/chat-sessions?user_id=<user-uuid>",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "admin",
                "chat-sessions"
              ],
              "query": [
                {
                  "key": "user_id",
                  "value": "<user-uuid>",
                  "disabled": false
                }
              ]
            },
            "description": "Get a specific user's chat sessions."
          },
          "response": []
        },
        {
          "name": "Admin: Chat History (paginated)",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/admin/chat-session-history?page_num=0&page_size=10&feedback_type=&start_time=&end_time=",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "admin",
                "chat-session-history"
              ],
              "query": [
                {
                  "key": "page_num",
                  "value": "0",
                  "disabled": false
                },
                {
                  "key": "page_size",
                  "value": "10",
                  "disabled": false
                },
                {
                  "key": "feedback_type",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "start_time",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "end_time",
                  "value": "",
                  "disabled": true
                }
              ]
            },
            "description": "Paginated chat history with filters."
          },
          "response": []
        },
        {
          "name": "Admin: Chat Session Snapshot",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/admin/chat-session-history/:chat_session_id?chat_session_id=:chat_session_id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "admin",
                "chat-session-history",
                ":chat_session_id"
              ],
              "query": [
                {
                  "key": "chat_session_id",
                  "value": ":chat_session_id",
                  "disabled": false
                }
              ],
              "variable": [
                {
                  "key": "chat_session_id",
                  "value": ""
                }
              ]
            },
            "description": "Full snapshot of a chat session (admin)."
          },
          "response": []
        },
        {
          "name": "List Query History Exports",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/admin/query-history/list",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "admin",
                "query-history",
                "list"
              ]
            },
            "description": ""
          },
          "response": []
        },
        {
          "name": "Start Query History Export",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/admin/query-history/start-export?start=&end=",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "admin",
                "query-history",
                "start-export"
              ],
              "query": [
                {
                  "key": "start",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "end",
                  "value": "",
                  "disabled": true
                }
              ]
            },
            "description": ""
          },
          "response": []
        },
        {
          "name": "Query History Export Status",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/admin/query-history/export-status?request_id=<request_id>",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "admin",
                "query-history",
                "export-status"
              ],
              "query": [
                {
                  "key": "request_id",
                  "value": "<request_id>",
                  "disabled": false
                }
              ]
            },
            "description": ""
          },
          "response": []
        },
        {
          "name": "Download Query History CSV",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/admin/query-history/download?request_id=<request_id>",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "admin",
                "query-history",
                "download"
              ],
              "query": [
                {
                  "key": "request_id",
                  "value": "<request_id>",
                  "disabled": false
                }
              ]
            },
            "description": ""
          },
          "response": []
        }
      ]
    },
    {
      "name": "Personas / Agents",
      "item": [
        {
          "name": "List Personas (user)",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/persona?include_deleted=false&persona_ids=",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "persona"
              ],
              "query": [
                {
                  "key": "include_deleted",
                  "value": "false",
                  "disabled": false
                },
                {
                  "key": "persona_ids",
                  "value": "",
                  "disabled": true
                }
              ]
            },
            "description": "List personas visible to the current user."
          },
          "response": []
        },
        {
          "name": "Create Persona (custom agent)",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/persona",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "persona"
              ]
            },
            "description": "Create a custom agent.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"My Agent\",\n  \"description\": \"What it does\",\n  \"document_set_ids\": [],\n  \"num_chunks\": 10,\n  \"is_public\": false,\n  \"recency_bias\": \"auto\",\n  \"llm_filter_extraction\": false,\n  \"llm_relevance_filter\": false,\n  \"starter_messages\": [],\n  \"users\": [],\n  \"groups\": [],\n  \"tool_ids\": [],\n  \"system_prompt\": \"You are a helpful assistant.\",\n  \"replace_base_system_prompt\": false,\n  \"task_prompt\": \"\",\n  \"datetime_aware\": true,\n  \"is_default_persona\": false\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Get Persona",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/persona/:persona_id?persona_id=:persona_id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "persona",
                ":persona_id"
              ],
              "query": [
                {
                  "key": "persona_id",
                  "value": ":persona_id",
                  "disabled": false
                }
              ],
              "variable": [
                {
                  "key": "persona_id",
                  "value": ""
                }
              ]
            },
            "description": "Get full persona snapshot."
          },
          "response": []
        },
        {
          "name": "Update Persona",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/persona/:persona_id?persona_id=:persona_id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "persona",
                ":persona_id"
              ],
              "query": [
                {
                  "key": "persona_id",
                  "value": ":persona_id",
                  "disabled": false
                }
              ],
              "variable": [
                {
                  "key": "persona_id",
                  "value": ""
                }
              ]
            },
            "description": "Partial update of a persona.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"Renamed agent\",\n  \"description\": \"Updated description\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Delete Persona",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/persona/:persona_id?persona_id=:persona_id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "persona",
                ":persona_id"
              ],
              "query": [
                {
                  "key": "persona_id",
                  "value": ":persona_id",
                  "disabled": false
                }
              ],
              "variable": [
                {
                  "key": "persona_id",
                  "value": ""
                }
              ]
            },
            "description": ""
          },
          "response": []
        },
        {
          "name": "Set Persona Public",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/persona/:persona_id/public?persona_id=:persona_id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "persona",
                ":persona_id",
                "public"
              ],
              "query": [
                {
                  "key": "persona_id",
                  "value": ":persona_id",
                  "disabled": false
                }
              ],
              "variable": [
                {
                  "key": "persona_id",
                  "value": ""
                }
              ]
            },
            "description": "Toggle a persona's public status.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"is_public\": true\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Share Persona",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/persona/:persona_id/share?persona_id=:persona_id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "persona",
                ":persona_id",
                "share"
              ],
              "query": [
                {
                  "key": "persona_id",
                  "value": ":persona_id",
                  "disabled": false
                }
              ],
              "variable": [
                {
                  "key": "persona_id",
                  "value": ""
                }
              ]
            },
            "description": "Share with specific users / groups.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"user_ids\": [],\n  \"group_ids\": [],\n  \"is_public\": false\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "List Persona Labels",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/persona/labels",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "persona",
                "labels"
              ]
            },
            "description": ""
          },
          "response": []
        },
        {
          "name": "Create Persona Label",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/persona/labels",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "persona",
                "labels"
              ]
            },
            "description": "",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"Productivity\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "List Templates",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/templates",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "templates"
              ]
            },
            "description": ""
          },
          "response": []
        },
        {
          "name": "Get Template",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/templates/:template_id?template_id=:template_id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "templates",
                ":template_id"
              ],
              "query": [
                {
                  "key": "template_id",
                  "value": ":template_id",
                  "disabled": false
                }
              ],
              "variable": [
                {
                  "key": "template_id",
                  "value": ""
                }
              ]
            },
            "description": ""
          },
          "response": []
        },
        {
          "name": "Import Template",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/templates/:template_id/import?template_id=:template_id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "templates",
                ":template_id",
                "import"
              ],
              "query": [
                {
                  "key": "template_id",
                  "value": ":template_id",
                  "disabled": false
                }
              ],
              "variable": [
                {
                  "key": "template_id",
                  "value": ""
                }
              ]
            },
            "description": "Import a template as a persona for the tenant."
          },
          "response": []
        },
        {
          "name": "List Personas (admin)",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/admin/persona?include_deleted=false&get_editable=false",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "admin",
                "persona"
              ],
              "query": [
                {
                  "key": "include_deleted",
                  "value": "false",
                  "disabled": false
                },
                {
                  "key": "get_editable",
                  "value": "false",
                  "disabled": false
                }
              ]
            },
            "description": ""
          },
          "response": []
        },
        {
          "name": "Set Persona Visibility",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/admin/persona/:persona_id/visible?persona_id=:persona_id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "admin",
                "persona",
                ":persona_id",
                "visible"
              ],
              "query": [
                {
                  "key": "persona_id",
                  "value": ":persona_id",
                  "disabled": false
                }
              ],
              "variable": [
                {
                  "key": "persona_id",
                  "value": ""
                }
              ]
            },
            "description": "",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"is_visible\": true\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Set Persona Default",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/admin/persona/:persona_id/default?persona_id=:persona_id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "admin",
                "persona",
                ":persona_id",
                "default"
              ],
              "query": [
                {
                  "key": "persona_id",
                  "value": ":persona_id",
                  "disabled": false
                }
              ],
              "variable": [
                {
                  "key": "persona_id",
                  "value": ""
                }
              ]
            },
            "description": "",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"is_default_persona\": true\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Undelete Persona",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/admin/persona/:persona_id/undelete?persona_id=:persona_id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "admin",
                "persona",
                ":persona_id",
                "undelete"
              ],
              "query": [
                {
                  "key": "persona_id",
                  "value": ":persona_id",
                  "disabled": false
                }
              ],
              "variable": [
                {
                  "key": "persona_id",
                  "value": ""
                }
              ]
            },
            "description": ""
          },
          "response": []
        },
        {
          "name": "Upload Persona Image",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/admin/persona/upload-image",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "admin",
                "persona",
                "upload-image"
              ]
            },
            "description": "Upload an icon image.",
            "body": {
              "mode": "formdata",
              "formdata": [
                {
                  "key": "file",
                  "type": "file",
                  "src": []
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Update Persona Label",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/admin/persona/label/:label_id?label_id=:label_id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "admin",
                "persona",
                "label",
                ":label_id"
              ],
              "query": [
                {
                  "key": "label_id",
                  "value": ":label_id",
                  "disabled": false
                }
              ],
              "variable": [
                {
                  "key": "label_id",
                  "value": ""
                }
              ]
            },
            "description": "",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"label_name\": \"Renamed Label\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Delete Persona Label",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/admin/persona/label/:label_id?label_id=:label_id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "admin",
                "persona",
                "label",
                ":label_id"
              ],
              "query": [
                {
                  "key": "label_id",
                  "value": ":label_id",
                  "disabled": false
                }
              ],
              "variable": [
                {
                  "key": "label_id",
                  "value": ""
                }
              ]
            },
            "description": ""
          },
          "response": []
        },
        {
          "name": "List Agents (paginated)",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/agents?page_num=0&page_size=10&include_deleted=false&get_editable=false&include_default=true",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "agents"
              ],
              "query": [
                {
                  "key": "page_num",
                  "value": "0",
                  "disabled": false
                },
                {
                  "key": "page_size",
                  "value": "10",
                  "disabled": false
                },
                {
                  "key": "include_deleted",
                  "value": "false",
                  "disabled": false
                },
                {
                  "key": "get_editable",
                  "value": "false",
                  "disabled": false
                },
                {
                  "key": "include_default",
                  "value": "true",
                  "disabled": false
                }
              ]
            },
            "description": "Paginated list of agents available to the user."
          },
          "response": []
        },
        {
          "name": "List Agents (admin paginated)",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/admin/agents?page_num=0&page_size=10&include_deleted=false&get_editable=false&include_default=true",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "admin",
                "agents"
              ],
              "query": [
                {
                  "key": "page_num",
                  "value": "0",
                  "disabled": false
                },
                {
                  "key": "page_size",
                  "value": "10",
                  "disabled": false
                },
                {
                  "key": "include_deleted",
                  "value": "false",
                  "disabled": false
                },
                {
                  "key": "get_editable",
                  "value": "false",
                  "disabled": false
                },
                {
                  "key": "include_default",
                  "value": "true",
                  "disabled": false
                }
              ]
            },
            "description": ""
          },
          "response": []
        },
        {
          "name": "Update Agents Display Priorities",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/admin/agents/display-priorities",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "admin",
                "agents",
                "display-priorities"
              ]
            },
            "description": "Bulk-update display priority.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"display_priority_map\": {\n    \"1\": 0,\n    \"2\": 1\n  }\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Default Assistant Configuration",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/admin/default-assistant/configuration",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "admin",
                "default-assistant",
                "configuration"
              ]
            },
            "description": "Current default assistant tool IDs and system prompt."
          },
          "response": []
        },
        {
          "name": "Update Default Assistant",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/admin/default-assistant",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "admin",
                "default-assistant"
              ]
            },
            "description": "Update default assistant tools / system prompt.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"tool_ids\": [\n    1,\n    2,\n    3\n  ],\n  \"system_prompt\": \"You are the default assistant.\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "People Search",
      "item": [
        {
          "name": "Search People (MongoDB Atlas Search)",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/people-search/search",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "people-search",
                "search"
              ]
            },
            "description": "Direct people search over MongoDB Atlas Search. Supports nested shorthand fields (linkedin \u2192 links.linkedin, current_title \u2192 currentJobInfo.current_title, etc.).",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"query\": \"John Doe\",\n  \"path\": [\n    \"fullName\"\n  ],\n  \"fuzzy_max_edits\": 2,\n  \"limit\": 50\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Start People Workflow",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/people-search/start",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "people-search",
                "start"
              ]
            },
            "description": "Kick off a people search workflow. Body is forwarded as-is to the agent service.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"query\": \"Senior engineers at Anthropic\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Continue People Workflow",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/people-search/continue",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "people-search",
                "continue"
              ]
            },
            "description": "Continue an existing people search workflow.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"thread_id\": \"<thread-id>\",\n  \"input\": \"next step input\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Stop People Workflow",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/people-search/stop/:thread_id?thread_id=:thread_id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "people-search",
                "stop",
                ":thread_id"
              ],
              "query": [
                {
                  "key": "thread_id",
                  "value": ":thread_id",
                  "disabled": false
                }
              ],
              "variable": [
                {
                  "key": "thread_id",
                  "value": ""
                }
              ]
            },
            "description": ""
          },
          "response": []
        },
        {
          "name": "People Workflow Status",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/people-search/status/:task_id?task_id=:task_id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "people-search",
                "status",
                ":task_id"
              ],
              "query": [
                {
                  "key": "task_id",
                  "value": ":task_id",
                  "disabled": false
                }
              ],
              "variable": [
                {
                  "key": "task_id",
                  "value": ""
                }
              ]
            },
            "description": ""
          },
          "response": []
        },
        {
          "name": "Start People Enrichment",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/people-search/start-enrichment",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "people-search",
                "start-enrichment"
              ]
            },
            "description": "Kick off a contacts enrichment workflow.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"list_id\": \"<list-id>\",\n  \"config\": {}\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Stop People Enrichment",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/people-search/stop-enrichment/:thread_id?thread_id=:thread_id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "people-search",
                "stop-enrichment",
                ":thread_id"
              ],
              "query": [
                {
                  "key": "thread_id",
                  "value": ":thread_id",
                  "disabled": false
                }
              ],
              "variable": [
                {
                  "key": "thread_id",
                  "value": ""
                }
              ]
            },
            "description": ""
          },
          "response": []
        }
      ]
    },
    {
      "name": "Company Search",
      "item": [
        {
          "name": "Search Companies (MongoDB Atlas Search)",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/company-search/search",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "company-search",
                "search"
              ]
            },
            "description": "Direct company search over MongoDB Atlas Search. Nested shorthand fields supported (linkedin \u2192 links.linkedin, street \u2192 address.street, etc.).",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"query\": \"amossoftware.com\",\n  \"path\": [\n    \"website\",\n    \"companyName\"\n  ],\n  \"fuzzy_max_edits\": 2,\n  \"limit\": 10\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Start Company Workflow",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/company-search/start",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "company-search",
                "start"
              ]
            },
            "description": "Forwards a JSON payload to the agent service to start the workflow. Returns a `task_id`.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"query\": \"Top robotics companies in Switzerland\",\n  \"list_id\": \"default\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Workflow Status",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/company-search/status/:task_id?task_id=:task_id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "company-search",
                "status",
                ":task_id"
              ],
              "query": [
                {
                  "key": "task_id",
                  "value": ":task_id",
                  "disabled": false
                }
              ],
              "variable": [
                {
                  "key": "task_id",
                  "value": ""
                }
              ]
            },
            "description": "Poll the status of a previously started workflow."
          },
          "response": []
        },
        {
          "name": "Continue Workflow",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/company-search/continue",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "company-search",
                "continue"
              ]
            },
            "description": "Continue a company search workflow.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"thread_id\": \"<thread-id>\",\n  \"input\": \"next step\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Stop Workflow",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/company-search/stop/:thread_id?thread_id=:thread_id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "company-search",
                "stop",
                ":thread_id"
              ],
              "query": [
                {
                  "key": "thread_id",
                  "value": ":thread_id",
                  "disabled": false
                }
              ],
              "variable": [
                {
                  "key": "thread_id",
                  "value": ""
                }
              ]
            },
            "description": ""
          },
          "response": []
        },
        {
          "name": "Start Contacts Enrichment",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/company-search/start-enrichment",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "company-search",
                "start-enrichment"
              ]
            },
            "description": "Kick off a contacts enrichment workflow.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"list_id\": \"<list-id>\",\n  \"config\": {}\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Stop Contacts Enrichment",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/company-search/stop-enrichment/:thread_id?thread_id=:thread_id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "company-search",
                "stop-enrichment",
                ":thread_id"
              ],
              "query": [
                {
                  "key": "thread_id",
                  "value": ":thread_id",
                  "disabled": false
                }
              ],
              "variable": [
                {
                  "key": "thread_id",
                  "value": ""
                }
              ]
            },
            "description": ""
          },
          "response": []
        },
        {
          "name": "List All Search Lists",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/company-search/getLists",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "company-search",
                "getLists"
              ]
            },
            "description": ""
          },
          "response": []
        },
        {
          "name": "Get Search Result",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}",
                "type": "text",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/company-search/getSearchResult/:thread_id?thread_id=:thread_id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "company-search",
                "getSearchResult",
                ":thread_id"
              ],
              "query": [
                {
                  "key": "thread_id",
                  "value": ":thread_id",
                  "disabled": false
                }
              ],
              "variable": [
                {
                  "key": "thread_id",
                  "value": ""
                }
              ]
            },
            "description": ""
          },
          "response": []
        }
      ]
    }
  ],
  "variable": [
    {
      "key": "baseUrl",
      "value": "http://localhost:3000/api",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "",
      "type": "string"
    }
  ]
}