LogoLogo
  • Getting Started
    • Welcome to Teleskope.ai
    • Your Journey with Teleskope
  • The Platform
    • Data Catalog
    • Data Subject Rights
      • Integrations
      • Enroll Third Party Integrations
        • Amplitude
        • Google Analytics
        • Salesforce
        • Bazaar Voice
      • Enroll Structured Databases
      • Deletion Methods
    • Policy Maker
    • Issues
    • API Service
      • Scanning API
        • v1/classify
        • v1/classifyCollection
        • v1/scan
      • Redaction API
        • v1/scrub
      • Data Subject Rights
        • GET v1/dsr/requests
        • POST v1/dsr/requests
      • Metadata
        • v1/aws/rds
        • v1/aws/s3
        • v1/snowflake
        • v1/snowflake/users
        • v1/gcp/bigquery
        • v1/gcp/cloudstorage
        • v1/gcp/cloudsql
  • Setup
    • Deployment
    • Role Based Access Control
    • SSO
      • Okta
      • Microsoft Entra
      • Google Auth
  • Specifications
    • Data Store Coverage
    • Compliance Frameworks
    • Redaction Methodologies
    • Data Elements
  • Connectors
    • AWS
      • Athena
      • RDS
      • DynamoDB
      • Redshift
      • S3
      • SNS
      • SQS
    • GCP
      • Cloud Storage
      • Grant Teleskope Access to BigQuery
      • CloudSQL
      • Grant Teleskope Access to CloudLogging
    • SaaS
      • Github
      • Google Drive
      • Jira
      • Segment
      • Zendesk
      • DropBox
      • Box
      • Bitbucket
      • Slack
      • Sharepoint Online
    • Snowflake
    • Azure
      • Azure SQL
      • Azure Database
      • Blob Storage
      • CosmosDB
      • Synapse
    • Databricks
  • DSR
  • Alerting Integrations
    • Slack
    • Tines
Powered by GitBook
On this page

Was this helpful?

Last updated 6 months ago

Was this helpful?

Classify Collection

post

Detect personal or sensitive information within a structured data set.

Authorizations
Body
contentstring[]Optional

set of rows to classify for a given column

Default: ["[\"John\"","\"Chris\"","\"Tanner\"","\"Dave\"]]"]
metadatastring[]Optional

context to take into consideration, such as column name, table name, database name, etc.

Default: ["[\"first_name\"","\"users\"","\"users_production\"]]"]
content_typestringOptional

column type (e.g int64, string)

Default: string
Responses
200
200
application/json
400
400
application/json
post
POST /v1/classifyCollection HTTP/1.1
Host: api.scanner.demo-001.teleskope.ai
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 62

{
  "content": [
    "text"
  ],
  "metadata": [
    "text"
  ],
  "content_type": "text"
}
{
	"classifications": [
		{
			"data_element": "FIRST_NAME",
      "category": "PERSONAL",
			"star_char": 15,
			"char_size": 4,
      "row_index": 2000,
		},
		{
			"data_element": "LAST_NAME",
      "category": "PERSONAL",
			"star_char": 20,
			"char_size": 3,
      "row_index": 2002,
		},
		{
			"data_element": "EMAIL",
      "category": "PERSONAL",
			"star_char": 45,
			"char_size": 18,
      "row_index": 2005,
		}
	]
}