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

# Get workspace configs

> Retrieves the configuration settings for a specified workspace, including asset discovery and auto-enablement settings.



## OpenAPI

````yaml /api-reference/openapi.json get /api/workspaces/configs
openapi: 3.0.0
info:
  title: Open Attack Surface Management
  description: Open-source platform for cybersecurity Attack Surface Management (ASM)
  version: '1.0'
  contact: {}
servers:
  - url: https://{baseUrl}/api/v1
    variables:
      baseUrl:
        default: localhost:3000
        description: API server hostname with port (e.g. localhost:3000, api.example.com)
security: []
tags: []
externalDocs:
  description: Authentication Docs
  url: auth/docs
paths:
  /api/workspaces/configs:
    get:
      tags:
        - Workspaces
      summary: Get workspace configs
      description: >-
        Retrieves the configuration settings for a specified workspace,
        including asset discovery and auto-enablement settings.
      operationId: WorkspacesController_getWorkspaceConfigs
      parameters:
        - name: X-Workspace-Id
          in: header
          description: Workspace ID
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetWorkspaceConfigsDto'
                allOf:
                  - $ref: '#/components/schemas/AppResponseSerialization'
components:
  schemas:
    GetWorkspaceConfigsDto:
      type: object
      properties:
        isAssetsDiscovery:
          $ref: '#/components/schemas/SwaggerPropertyMetadata'
        isAutoEnableAssetAfterDiscovered:
          $ref: '#/components/schemas/SwaggerPropertyMetadata'
      required:
        - isAssetsDiscovery
        - isAutoEnableAssetAfterDiscovered
    SwaggerPropertyMetadata:
      type: object
      properties:
        value:
          type: object
        type:
          type: string
        example:
          type: object
        description:
          type: object
        title:
          type: string
      required:
        - value
        - type
        - example
        - description
        - title

````