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

# Explain the CLI sign-in poll endpoint

> Browsers sometimes open this URL. The endpoint accepts POST only, so this GET performs no action. It returns 405 with an Allow header and a short explanation. The body is HTML when the Accept header includes text/html, otherwise JSON. This endpoint does not require authentication.



## OpenAPI

````yaml /openapi.json get /cli/login/poll
openapi: 3.1.0
info:
  title: Strix API
  version: 1.0.0
  description: >-
    Public REST API for the Strix autonomous penetration testing platform.
    Manage scans, vulnerabilities, assets, schedules, API tokens, and webhooks.
servers:
  - url: /api/v1
    description: Strix v1 API
security:
  - BearerAuth: []
tags:
  - name: Scans
    description: Launch, monitor, and manage security scans.
  - name: Vulnerabilities
    description: View and triage discovered vulnerabilities.
  - name: Assets
    description: Domains and repositories registered for scanning.
  - name: Schedules
    description: Recurring scan schedules (Pro plan).
  - name: Tokens
    description: Manage API tokens for authentication.
  - name: Webhooks
    description: Configure webhook subscriptions for real-time event notifications.
  - name: Organization
    description: Workspace configuration for the authenticated organization.
  - name: Members
    description: Manage organization members and roles.
  - name: Invitations
    description: List and revoke organization invitations.
  - name: PR Reviews
    description: Automated security review of pull requests.
  - name: Connectors
    description: Network connectors for scanning internal/private targets.
  - name: Knowledge
    description: >-
      Organization knowledge base: documents, policies, and repo profiles that
      steer the agent.
  - name: Uploads
    description: Upload source/code/documentation archives for whitebox scans.
  - name: Integrations
    description: Third-party integrations (GitLab, Bitbucket, ticketing).
  - name: Chat
    description: Conversational agent sessions.
  - name: Analytics
    description: Aggregate dashboard analytics.
  - name: Test Users
    description: >-
      Per-domain test accounts (with optional MFA) the agent authenticates as
      during scans.
  - name: License
    description: Self-hosted license state, entitlements, and aggregate usage.
  - name: Supply Chain
    description: >-
      SBOM inventory, supply-chain findings, scans, and policy for connected
      repositories.
  - name: CLI
    description: >-
      Device authorization endpoints that let the Strix CLI and coding agents
      sign in and receive an API token.
  - name: Billing
    description: Credit balance, agent-payable top-ups, and automatic top-up settings.
  - name: Workspaces
    description: List, create, and switch workspaces.
paths:
  /cli/login/poll:
    get:
      tags:
        - CLI
      summary: Explain the CLI sign-in poll endpoint
      description: >-
        Browsers sometimes open this URL. The endpoint accepts POST only, so
        this GET performs no action. It returns 405 with an Allow header and a
        short explanation. The body is HTML when the Accept header includes
        text/html, otherwise JSON. This endpoint does not require
        authentication.
      operationId: describeCliLoginPoll
      responses:
        '405':
          description: >-
            Method not allowed. The body tells the user to return to the
            terminal.
          headers:
            Allow:
              description: Always `POST`.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CliLoginBrowserHint'
            text/html:
              schema:
                type: string
      security: []
components:
  schemas:
    CliLoginBrowserHint:
      type: object
      description: >-
        Returned for a browser GET on a POST-only CLI sign-in route. No sign-in
        action happens.
      properties:
        detail:
          type: string
          description: Explanation of the endpoint and what the user must do instead.
        error:
          type: string
          enum:
            - method_not_allowed
        method:
          type: string
          enum:
            - POST
          description: The HTTP method that this endpoint accepts.
        path:
          type: string
          description: The API path of this endpoint, relative to the API root.
        cli:
          type: string
          description: The Strix CLI command that starts a sign-in.
        install_url:
          type: string
          format: uri
          description: Where to install the Strix CLI.
        docs_url:
          type: string
          format: uri
          description: The CLI documentation.
      required:
        - detail
        - error
        - method
        - path
        - cli
        - install_url
        - docs_url
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: >-
        API token obtained from the Tokens endpoint or CLI device login. Include
        as `Authorization: Bearer <token>`. Requests made with a managed CLI
        session also include `X-Strix-Workspace: <organization_id>` to pin a
        process to the workspace it started in; recovery endpoints report the
        current workspace after a concurrent switch.

````