---
title: "Check authentication status for all services"
method: GET
path: "/api/v1/auth/status"
---

# Check authentication status for all services

`GET /api/v1/auth/status`

## Request

- Base URL: `https://localhost:3000`
- URL: `https://localhost:3000/api/v1/auth/status`
- Auth: OAuth 2 (authorization code, authorization URL `/oauth/authorize`, token URL `/oauth/token`)

Returns the authentication status for both Google Workspace and Microsoft OneDrive. Use this to determine if the user needs to authenticate with any services. If microsoft_onedrive.auth_required is true, direct the user to the microsoft_onedrive.auth_url to authenticate with Microsoft.

## Response `200`

Authentication status for all services

- AuthStatusResponse: Authentication status for all services. Use this to check what needs authentication.
  - `authentication_status` object
    - `google_workspace` object
      - `authenticated` boolean
      - `user` string: Authenticated user email
      - `services` string[]
      - `auth_url` string: URL to authenticate if not authenticated
      - `action_required` string: Action needed if not authenticated
    - `microsoft_onedrive` object
      - `enabled` boolean: Whether OneDrive is enabled on the server
      - `authenticated` boolean
      - `user` string: Authenticated Microsoft account email
      - `services` string[]
      - `auth_url` string: URL to authenticate with Microsoft (e.g., /oauth/microsoft/authorize)
      - `action_required` string: Action needed if not authenticated
  - `pending_authentications` object[]: List of services that need authentication
    - `service` string
    - `auth_url` string
    - `description` string
  - `all_services_ready` boolean: True if all enabled services are authenticated
  - `message` string: Human-readable status message

---

[API](https://skmtc.dev/corpusiq/apis/multi-source-mcp-api.md) · [All operations](https://skmtc.dev/corpusiq/apis/multi-source-mcp-api/llms.txt) · [OpenAPI document](https://skmtc.dev/corpusiq/apis/multi-source-mcp-api/revisions/e25648ba6027?raw)
