ALTR Auto Tagging API API

The Auto Tagging API API from ALTR — 10 operation(s) for auto tagging api.

Documentation

📖
Documentation
https://altrnet.live.altr.com/api/swagger/
📖
APIReference
https://altrnet.live.altr.com/api/swagger/
📖
Authentication
https://raw.githubusercontent.com/api-evangelist/altr/refs/heads/main/authentication/altr-authentication.yml
📖
Documentation
https://api.live.altr.com/v1/unified-policy/docs
📖
APIReference
https://api.live.altr.com/v1/unified-policy/docs
📖
Documentation
https://api.live.altr.com/v1/rbac/api-docs/index.html
📖
APIReference
https://api.live.altr.com/v1/rbac/api-docs/index.html
📖
Documentation
https://docs.classification.live.altr.com/v1/docs
📖
APIReference
https://docs.classification.live.altr.com/v1/docs
📖
Documentation
https://api.live.altr.com/v1/tag/auto-tagging-api-docs/index.html
📖
APIReference
https://api.live.altr.com/v1/tag/auto-tagging-api-docs/index.html
📖
Documentation
https://api.live.altr.com/v1/tag/masking-api-docs/index.html
📖
APIReference
https://api.live.altr.com/v1/tag/masking-api-docs/index.html
📖
Documentation
https://api.live.altr.com/v1/tag/refresh-api-docs/index.html
📖
APIReference
https://api.live.altr.com/v1/tag/refresh-api-docs/index.html
📖
Documentation
https://api.live.altr.com/v1/alpha/dbx/tag-policy/docs/index.html
📖
APIReference
https://api.live.altr.com/v1/alpha/dbx/tag-policy/docs/index.html
📖
Documentation
https://api.live.altr.com/v1/dis/swagger/
📖
APIReference
https://api.live.altr.com/v1/dis/swagger/
📖
Documentation
https://api.live.altr.com/v1/snowflake/metadata-api-docs/index.html
📖
APIReference
https://api.live.altr.com/v1/snowflake/metadata-api-docs/index.html
📖
Documentation
https://api.live.altr.com/v1/query-audits/api-docs/index.html
📖
APIReference
https://api.live.altr.com/v1/query-audits/api-docs/index.html
📖
Documentation
https://api.live.altr.com/v1/dam/docs
📖
APIReference
https://api.live.altr.com/v1/dam/docs
📖
Documentation
https://docs.dam-alerting.live.altr.com/v1/dam-alerting/docs
📖
APIReference
https://docs.dam-alerting.live.altr.com/v1/dam-alerting/docs
📖
Documentation
https://docs.audit-report.live.altr.com/v1/audit-reports/docs
📖
APIReference
https://docs.audit-report.live.altr.com/v1/audit-reports/docs
📖
Documentation
https://docs.notifications.live.altr.com/v1/notification-integration/docs
📖
APIReference
https://docs.notifications.live.altr.com/v1/notification-integration/docs
📖
Documentation
https://docs.critical.live.altr.com/v2
📖
APIReference
https://docs.critical.live.altr.com/v2
📖
Documentation
https://docs.sc-control.live.altr.com/v1/repo-config-docs
📖
APIReference
https://docs.sc-control.live.altr.com/v1/repo-config-docs
📖
Documentation
https://docs.sc-control.live.altr.com/v1/audits/docs
📖
APIReference
https://docs.sc-control.live.altr.com/v1/audits/docs
📖
Documentation
https://docs.sc-control.live.altr.com/v1/sidecars/telemetry/docs
📖
APIReference
https://docs.sc-control.live.altr.com/v1/sidecars/telemetry/docs
📖
Documentation
https://docs.sc-control.live.altr.com/v1/access-tokens/docs
📖
APIReference
https://docs.sc-control.live.altr.com/v1/access-tokens/docs
📖
Documentation
https://docs.service-user.live.altr.com/v1/docs
📖
APIReference
https://docs.service-user.live.altr.com/v1/docs

Specifications

OpenAPI Specification

altr-auto-tagging-api-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: This is the management API for Auto Tagging. Use this API to set tags based on an ALTR classification report.
  title: Auto Tagging Auto Tagging API API
  contact: {}
  version: 1.0.0
servers:
- url: https://api.live.altr.com/v1/tag/auto-tagging
tags:
- name: Auto Tagging API
paths:
  /:
    get:
      security:
      - BasicAuth: []
      description: List Auto Tagging configurations.
      tags:
      - Auto Tagging API
      summary: List Auto Tagging configurations.
      parameters:
      - description: The maximum number of items to return.
        name: limit
        in: query
        schema:
          type: integer
          default: 50
          maximum: 50
          minimum: 1
      - description: The number of items to skip.
        name: offset
        in: query
        schema:
          type: integer
          default: 0
      - description: The database type.
        name: databaseType
        in: query
        schema:
          type: string
          enum:
          - all
          - snowflake
          - databricks
      - description: The classification report ID.
        name: classification_report_id
        in: query
        schema:
          type: string
      - description: The Tag Mapping Storage ID.
        name: mapping_storage_id
        in: query
        schema:
          type: string
      - description: The ALTR Database ID.
        name: database_id
        in: query
        schema:
          type: integer
      - description: The Database name.
        name: database_name
        in: query
        schema:
          type: string
      - description: The Schema name.
        name: schema_name
        in: query
        schema:
          type: string
      - description: The Table name.
        name: table_name
        in: query
        schema:
          type: string
      - description: The Auto Tagging configuration status.
        name: status
        in: query
        schema:
          type: string
          enum:
          - pending
          - applied
          - failed
      - description: The field to sort by.
        name: sort_by
        in: query
        schema:
          type: string
          enum:
          - latest_created_at
      - description: The order of returned data for the defined field.
        name: order_by
        in: query
        schema:
          type: string
          enum:
          - asc
          - desc
          default: asc
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/management.ListAutoTaggingConfigurationOutput'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    put:
      security:
      - BasicAuth: []
      description: Create/Update an Auto Tagging configuration.
      tags:
      - Auto Tagging API
      summary: Create/Update an Auto Tagging configuration.
      responses:
        '201':
          description: The Auto Tagging was created and will be applied.
        '204':
          description: The Auto Tagging was updated and will be applied.
        '400':
          description: Something about your request isn't correct.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: A Classification report ID was not found for your organization.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '409':
          description: Another change is currently in progress for this Auto Tagging, or it's parent object.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: We ran in to an issue, please try again.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/main.PutAutoTaggingInput'
        description: The Auto Tagging configuration.
        required: true
    delete:
      security:
      - BasicAuth: []
      description: Delete an Auto Tagging configuration. If unset_tags is set to true, then previously set tags from this configuration will be unset.
      tags:
      - Auto Tagging API
      summary: Delete an Auto Tagging configuration.
      parameters:
      - description: During the delete process unset the previously set tags from this configuration.
        name: unset_tags
        in: query
        schema:
          type: boolean
          default: false
      responses:
        '204':
          description: The Auto Tagging was deleted.
        '400':
          description: Something about your request isn't correct.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '409':
          description: Another change is currently in progress for this Auto Tagging configuration.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: We ran in to an issue, please try again.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/main.DeleteAutoTaggingInput'
        description: the Auto Tagging configuration
        required: true
  /databricks/database-id/{databaseId}:
    get:
      security:
      - BasicAuth: []
      description: Gets all details of specified Auto Tagging configuration.
      tags:
      - Auto Tagging API
      summary: Get Auto Tagging configuration.
      parameters:
      - description: The ID of a connected database.
        name: databaseId
        in: path
        required: true
        schema:
          type: integer
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/management.GetAutoTaggingConfigurationOutput'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /databricks/database-id/{databaseId}/catalog-name/{catalogName}:
    get:
      security:
      - BasicAuth: []
      description: Gets all details of specified Auto Tagging configuration.
      tags:
      - Auto Tagging API
      summary: Get Auto Tagging configuration.
      parameters:
      - description: The ID of a connected database.
        name: databaseId
        in: path
        required: true
        schema:
          type: integer
      - description: The catalog name.
        name: catalogName
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/management.GetAutoTaggingConfigurationOutput'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /databricks/database-id/{databaseId}/catalog-name/{catalogName}/schema-name/{schemaName}:
    get:
      security:
      - BasicAuth: []
      description: Gets all details of specified Auto Tagging configuration.
      tags:
      - Auto Tagging API
      summary: Get Auto Tagging configuration.
      parameters:
      - description: The ID of a connected database.
        name: databaseId
        in: path
        required: true
        schema:
          type: integer
      - description: The catalog name.
        name: catalogName
        in: path
        required: true
        schema:
          type: string
      - description: The schema name.
        name: schemaName
        in: path
        schema:
          type: string
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/management.GetAutoTaggingConfigurationOutput'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /databricks/database-id/{databaseId}/catalog-name/{catalogName}/schema-name/{schemaName}/table-name/{tableName}:
    get:
      security:
      - BasicAuth: []
      description: Gets all details of specified Auto Tagging configuration.
      tags:
      - Auto Tagging API
      summary: Get Auto Tagging configuration.
      parameters:
      - description: The ID of a connected database.
        name: databaseId
        in: path
        required: true
        schema:
          type: integer
      - description: The catalog name.
        name: catalogName
        in: path
        required: true
        schema:
          type: string
      - description: The schema name.
        name: schemaName
        in: path
        schema:
          type: string
        required: true
      - description: The table name.
        name: tableName
        in: path
        schema:
          type: string
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/management.GetAutoTaggingConfigurationOutput'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /mapping-id/{mappingID}:
    get:
      security:
      - BasicAuth: []
      description: Get the tag mapping for a given mapping ID.
      tags:
      - Auto Tagging API
      summary: Get an Auto Tagging Mapping.
      parameters:
      - description: Get the mapping for this mapping ID.
        name: mappingID
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/mappingstorage.GetMappingOutput'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /report-url/{reportID}:
    get:
      security:
      - BasicAuth: []
      description: Get a report URL for a given report ID. This URL will only be valid for a short duration of time.
      tags:
      - Auto Tagging API
      summary: Get Auto Tagging Report URL.
      parameters:
      - description: Generate a URL to get this report ID.
        name: reportID
        in: path
        required: true
        schema:
          type: string
      - description: The format of the report.
        name: format
        in: query
        schema:
          type: string
          enum:
          - json
          - csv
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/reportstorage.GetReportURLOutput'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /snowflake/database-id/{databaseId}/database-name/{databaseName}:
    get:
      security:
      - BasicAuth: []
      description: Gets all details of specified Auto Tagging configuration.
      tags:
      - Auto Tagging API
      summary: Get Auto Tagging configuration.
      parameters:
      - description: The ID of a connected database.
        name: databaseId
        in: path
        required: true
        schema:
          type: integer
      - description: The database name.
        name: databaseName
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/management.GetAutoTaggingConfigurationOutput'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /snowflake/database-id/{databaseId}/database-name/{databaseName}/schema-name/{schemaName}:
    get:
      security:
      - BasicAuth: []
      description: Gets all details of specified Auto Tagging configuration.
      tags:
      - Auto Tagging API
      summary: Get Auto Tagging configuration.
      parameters:
      - description: The ID of a connected database.
        name: databaseId
        in: path
        required: true
        schema:
          type: integer
      - description: The database name.
        name: databaseName
        in: path
        required: true
        schema:
          type: string
      - description: The schema name.
        name: schemaName
        in: path
        schema:
          type: string
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/management.GetAutoTaggingConfigurationOutput'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /snowflake/database-id/{databaseId}/database-name/{databaseName}/schema-name/{schemaName}/table-name/{tableName}:
    get:
      security:
      - BasicAuth: []
      description: Gets all details of specified Auto Tagging configuration.
      tags:
      - Auto Tagging API
      summary: Get Auto Tagging configuration.
      parameters:
      - description: The ID of a connected database.
        name: databaseId
        in: path
        required: true
        schema:
          type: integer
      - description: The database name.
        name: databaseName
        in: path
        required: true
        schema:
          type: string
      - description: The schema name.
        name: schemaName
        in: path
        schema:
          type: string
        required: true
      - description: The table name.
        name: tableName
        in: path
        schema:
          type: string
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/management.GetAutoTaggingConfigurationOutput'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    ErrorResponse:
      type: object
      properties:
        error:
          type: string
    reportstorage.GetReportURLOutput:
      type: object
      properties:
        expiration:
          type: string
        report_url:
          type: string
    main.DeleteAutoTaggingInput:
      type: object
      properties:
        database_id:
          description: 'Which ALTR DatabaseID credentials to use in order to delete Auto Tagging Configuration.

            Note the given snowflake top level object does not need to live in this given DatabaseID

            as long as the databaseID''s credentials has the necessary permissions to apply the given configuration.'
          type: integer
        databricks_object:
          description: 'The top level databricks object subjected by this Auto Tagging configuration.

            This object and it''s children are impacted by this configuration.

            Mutually exclusive with other objects.'
          allOf:
          - $ref: '#/components/schemas/main.DatabricksInput'
        snowflake_object:
          description: 'The top level snowflake object subjected by this Auto Tagging configuration.

            This object and it''s children are impacted by this configuration.

            Mutually exclusive with other objects.'
          allOf:
          - $ref: '#/components/schemas/main.SnowflakeInput'
    management.DeleteOptions:
      type: object
      properties:
        ignore_errors:
          description: 'When set to true, ALTR will ignore errors when deleting configuration resources inside the snowflake host.

            This could result in orphaned ALTR configuration inside the snowflake host.

            Caution should be used, it is recommended to have ignore_errors set to false (default behavior).'
          type: boolean
        unset_tags:
          description: When set to true, ALTR will unset tags set by the applied auto tagging configuration.
          type: boolean
    management.GetAutoTaggingConfigurationOutput:
      type: object
      properties:
        item:
          $ref: '#/components/schemas/management.AutoTaggingItem'
    management.Configuration:
      type: object
      properties:
        altr_tracking_id:
          type: string
        classification_report_id:
          description: The ALTR classification report ID.
          type: string
        completed_at:
          description: The time we finished applying this configuration.
          type: string
        create_tag_if_not_exist:
          description: Create the tags in the given tag mapping if they do not exist.
          type: boolean
        created_at:
          description: Time which the configuration was initially created.
          type: string
        database_id:
          type: integer
        delete_options:
          description: 'Delete options to remove this Auto Tagging configuration.

            This will be defined if the intention is to delete this Auto Tagging configuration.'
          allOf:
          - $ref: '#/components/schemas/management.DeleteOptions'
        failure:
          description: 'The failure when applying this configuration.

            This won''t be defined for auto_tagging_pending and auto_tagging_applied configurations.

            These will only be failures which place the configuration into a failed state.

            Failures in preconditions will result in this field being defined.

            Failures setting or creating tags will not result in this field being defined, those failures will exist in the report.'
          allOf:
          - $ref: '#/components/schemas/management.Failure'
        mapping_storage_information:
          description: Information about the stored Tag Mapping used by this auto tagging configuration.
          allOf:
          - $ref: '#/components/schemas/management.MappingStorageInformation'
        override_tags:
          description: Override tag values on the affected objects.
          type: boolean
        progress:
          description: The progress of the auto tagging job.
          allOf:
          - $ref: '#/components/schemas/management.Progress'
        report_storage_information:
          description: 'Report storage information.

            his Report contains information about the results of applying this Auto Tagging configuration.

            This won''t be defined if the configuration is in auto_tagging_failed or auto_tagging_pending.'
          allOf:
          - $ref: '#/components/schemas/management.ReportStorageInformation'
    management.Snowflake:
      type: object
      required:
      - account_id
      - database_name
      - region
      properties:
        account_id:
          type: string
        database_name:
          type: string
        region:
          type: string
        schema_name:
          type: string
        table_name:
          type: string
    management.ReportStorageInformation:
      type: object
      properties:
        id:
          description: ALTR Tag Mapping report ID.
          type: string
    autotagging.TagMapping:
      type: object
      required:
      - classifiers
      - priority
      - tag_name
      - tag_value
      properties:
        classifiers:
          type: array
          items:
            type: string
        priority:
          type: integer
        tag_database:
          type: string
        tag_name:
          type: string
        tag_schema:
          type: string
        tag_value:
          type: string
    mappingstorage.GetMappingOutput:
      type: object
      properties:
        tag_mappings:
          type: array
          items:
            $ref: '#/components/schemas/autotagging.TagMapping'
    management.ListAutoTaggingConfigurationOutput:
      type: object
      properties:
        has_more:
          type: boolean
        items:
          type: array
          items:
            $ref: '#/components/schemas/management.AutoTaggingItem'
    main.SnowflakeInput:
      type: object
      properties:
        database_name:
          type: string
        schema_name:
          type: string
        table_name:
          type: string
    main.DatabricksInput:
      type: object
      properties:
        catalog_name:
          type: string
        schema_name:
          type: string
        table_name:
          type: string
    management.Failure:
      type: object
      properties:
        code:
          type: integer
        message:
          type: string
    management.AutoTaggingItem:
      type: object
      properties:
        auto_tagging_applied:
          description: 'This is the most recent applied configuration which produced an Auto Tagging report.

            Note that this configuration may not have been completely successful.

            The report should be inspected to determine what tags were successfully set/unset.'
          allOf:
          - $ref: '#/components/schemas/management.Configuration'
        auto_tagging_failed:
          description: 'The configuration which failed to apply due to a critical error.

            If we fail to modify an existing masked tag, we will have both auto_tagging_failed and auto_tagging_applied defined.

            In that situation,  auto_tagging_failed is the configuration which failed to apply due to a critical error,

            while auto_tagging_applied is the previous configuration prior to the failed modification.'
          allOf:
          - $ref: '#/components/schemas/management.Configuration'
        auto_tagging_pending:
          description: 'The configuration which is currently being applied.

            This configuration will be moved to auto_tagging_applied or auto_tagging_failed upon completion.'
          allOf:
          - $ref: '#/components/schemas/management.Configuration'
        client_id:
          type: string
        databricks:
          description: 'The top level databricks object subjected by this Auto Tagging configuration.

            This object and it''s children are impacted by this configuration.'
          allOf:
          - $ref: '#/components/schemas/management.Databricks'
        latest_created_at:
          description: 'The time of the latest configuration change.

            Each individual configuration state (applied, failed, pending) has a created at time.

            This LatestCreatedAt time will be the most recent time of those three states.'
          type: string
        snowflake:
          description: 'The top level snowflake object subjected by this Auto Tagging configuration.

            This object and it''s children are impacted by this configuration.'
          allOf:
          - $ref: '#/components/schemas/management.Snowflake'
    management.MappingStorageInformation:
      type: object
      properties:
        id:
          description: ALTR Tag Mapping storage ID.
          type: string
    management.Databricks:
      type: object
      required:
      - database_id
      properties:
        catalog_name:
          type: string
        database_id:
          type: integer
        schema_name:
          type: string
        table_name:
          type: string
    management.Progress:
      type: object
      properties:
        objects_tagged:
          description: 'The number of objects we have attempted to tag.

            This is the count of success/failed tagged objects.'
          type: integer
        objects_to_tag:
          description: The number of objects that need to be tagged.
          type: integer
        step:
          description: The current step of the auto tagging job.
          type: string
    main.PutAutoTaggingInput:
      type: object
      properties:
        classification_report_id:
          description: 'ALTR Classification Report ID.

            This report ID is used to determine the list of columns and their classifiers to tag.'
          type: string
        create_tag_if_not_exist:
          description: Create the tags in the given tag mapping if they do not exist.
          type: boolean
        database_id:
          description: 'Which ALTR DatabaseID credentials to use in order to apply Auto Tagging configuration.

            Note the given snowflake top level object does not need to live in this given DatabaseID

            as long as the databaseID''s credentials has the necessary permissions to apply the given configuration.'
          type: integer
        databricks_object:
          description: 'The top level snowflake object subjected by this Auto Tagging configuration.

            This object and it''s children are impacted by this configuration.

            Mutually exclusive with other objects.'
          allOf:
          - $ref: '#/components/schemas/main.DatabricksInput'
        snowflake_object:
          description: 'The top level snowflake object subjected by this Auto Tagging configuration.

            This object and it''s children are impacted by this configuration.

            Mutually exclusive with other objects.'
          allOf:
          - $ref: '#/components/schemas/main.SnowflakeInput'
        tag_mapping:
          description: 'The mapping of tag values to classifiers.

            A fully qualified tag value can only show up once.

            A classifier can only show up once per fully qualified tag name.

            A full list of classifiers can be found here (Google DLP) https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference and here (Snowflake) https://docs.snowflake.com/en/user-guide/classify-intro#system-tags-and-categories.

            Each tag value must have a priority.

            For example, if NAME_COLUMN is classified as FIRST_NAME and LAST_NAME and you have 2 separate tag values in one tag [''last_name'',''first_name'']. The tag value priority in the mapping with the lowest value will be applied.'
          type: array
          items:
            $ref: '#/components/schemas/autotagging.TagMapping'
        tag_mapping_id:
          description: 'The ID for an existing the Tag Mapping.

            Use this to reuse an existing Tag Mapping.'
          type: string
  securitySchemes:
    BasicAuth:
      type: http
      scheme: basic