> ## Documentation Index
> Fetch the complete documentation index at: https://morphik.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Auth Status For Connector

> Checks the current authentication status for the given connector type.



## OpenAPI

````yaml https://app.stainless.com/api/spec/documented/morphik/openapi.documented.yml get /ee/connectors/{connector_type}/auth_status
openapi: 3.1.0
info:
  title: FastAPI
  version: 0.1.0
servers: []
security: []
paths:
  /ee/connectors/{connector_type}/auth_status:
    get:
      tags:
        - EE - Connectors
      summary: Get Auth Status For Connector
      description: Checks the current authentication status for the given connector type.
      operationId: >-
        get_auth_status_for_connector_ee_connectors__connector_type__auth_status_get
      parameters:
        - name: connector_type
          in: path
          required: true
          schema:
            type: string
            title: Connector Type
        - name: authorization
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConnectorAuthStatus'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      x-codeSamples:
        - lang: JavaScript
          source: >-
            import Morphik from 'morphik';


            const client = new Morphik({
              apiKey: process.env['MORPHIK_API_KEY'], // This is the default and can be omitted
            });


            const response = await
            client.ee.connectors.getAuthStatus('connector_type');


            console.log(response.is_authenticated);
        - lang: cURL
          source: >-
            curl
            https://api.morphik.ai/ee/connectors/$CONNECTOR_TYPE/auth_status \
                -H "Authorization: Bearer $MORPHIK_API_KEY"
components:
  schemas:
    ConnectorAuthStatus:
      properties:
        is_authenticated:
          type: boolean
          title: Is Authenticated
        message:
          anyOf:
            - type: string
            - type: 'null'
          title: Message
        auth_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Auth Url
      type: object
      required:
        - is_authenticated
      title: ConnectorAuthStatus
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````