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

# CLI

> Get CLI-specific information including supported features, versions, and capabilities

<RequestExample>
  ```bash cURL theme={null}
  curl --request GET \
    --url 'https://app.codethreat.com/api/v1/cli/info'
  ```
</RequestExample>


## OpenAPI

````yaml GET /cli/info
openapi: 3.0.3
info:
  title: CodeThreat API
  version: 1.0.0
  description: >-
    Autonomous AppSec Engineering Platform - Comprehensive REST API for security
    scanning, vulnerability management, and DevSecOps automation. Integrate
    CodeThreat's powerful security analysis into your CI/CD pipeline, CLI tools,
    and third-party applications.
  contact:
    name: CodeThreat Support
    url: https://codethreat.com/support
    email: support@codethreat.com
  license:
    name: Proprietary
    url: https://codethreat.com/terms
  termsOfService: https://codethreat.com/terms
servers:
  - url: https://app.codethreat.com/api/v1
    description: Production Server
  - url: http://localhost:3000/api/v1
    description: Development Server
security:
  - ApiKeyAuth: []
tags:
  - name: Organizations
    description: Organization management and configuration
  - name: Repositories
    description: Repository management and status tracking
  - name: Scans
    description: Security scan execution, monitoring, and results
  - name: Violations
    description: Security violation tracking and management
  - name: CLI
    description: CLI-specific endpoints for authentication and configuration
  - name: System
    description: Health checks and system status
paths:
  /cli/info:
    get:
      tags:
        - CLI
      summary: Get CLI information
      description: >-
        Get CLI-specific information including supported features, versions, and
        capabilities
      operationId: getCliInfo
      parameters:
        - name: includeCapabilities
          in: query
          schema:
            type: boolean
            default: true
        - name: includeVersions
          in: query
          schema:
            type: boolean
            default: true
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CliInfoResponse'
      security: []
components:
  schemas:
    CliInfoResponse:
      allOf:
        - $ref: '#/components/schemas/ApiResponse'
        - type: object
          properties:
            data:
              type: object
              properties:
                cli:
                  type: object
                  properties:
                    name:
                      type: string
                    version:
                      type: string
                    supportedPlatforms:
                      type: array
                      items:
                        type: string
                    supportedArchitectures:
                      type: array
                      items:
                        type: string
                api:
                  type: object
                  properties:
                    version:
                      type: string
                    baseUrl:
                      type: string
                    endpoints:
                      type: object
                supportedFormats:
                  type: array
                  items:
                    type: string
                supportedProviders:
                  type: array
                  items:
                    type: string
                capabilities:
                  type: object
    ApiResponse:
      type: object
      properties:
        success:
          type: boolean
        data:
          type: object
        pagination:
          $ref: '#/components/schemas/Pagination'
        meta:
          $ref: '#/components/schemas/ResponseMeta'
    Pagination:
      type: object
      properties:
        page:
          type: integer
          minimum: 1
        limit:
          type: integer
          minimum: 1
          maximum: 100
        total:
          type: integer
          minimum: 0
        totalPages:
          type: integer
          minimum: 0
        hasNext:
          type: boolean
        hasPrev:
          type: boolean
    ResponseMeta:
      type: object
      properties:
        timestamp:
          type: string
          format: date-time
        version:
          type: string
        requestId:
          type: string
        organizationId:
          type: string
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: API key for authentication. Generate from your organization settings.

````