Segment Config
Version
This integration utilizes the Segment Config API v1beta.
Base URL
The base URL used for all Segment Config API endpoints:https://platform.segmentapis.com/v1beta
Authentication & Authorization
The DataGrail Segment Config integration connects using token authentication which requires an API Key and Workspace Name.
Endpoints Utilized
DataGrail uses the following endpoints to authorize and test the connection:
Scopes
The Segment Config integration requires specific scopes that must be granted in order to function for a given capability.
Scope | Base | Deletion | System Detection |
---|---|---|---|
Workspace Owner > All Resources | ✅ | ✅ | ✅ |
Limits
Limits in Segment Config are calculated using the leaky
bucket algorithm. All requests that are made after rate limits have been
exceeded are throttled and an HTTP 429 Too Many Requests
error is returned.
Requests succeed again after enough requests have emptied out of the bucket.
- DataGrail supports requests throttling to stay within 70-80% of specified service rate limits.
- DataGrail processes API responses with HTTP 429 status to interrupt requests, waiting and retrying (using an exponential backoff strategy).
Capabilities
Deletion
DataGrail's Segment Config integration provides Asynchronous (Whole Record) Deletion capabilities for the following supported identifier categories: Email and User ID.Data Interactions
For Deletion requests, DataGrail will take the following actions:
- Create a
Suppress_With_Delete
regulation on the configured workspace for all configured identifiers, which are included in an array in theuser_id
field. - Create a scheduling task to check the status of the submitted regulation.
- The deletion request will remain in the "processing" status in DataGrail, until Segment erases the requested data.
Endpoints Utilized
System Detection
DataGrail provides continuous system detection, delivering a real-time inventory of your data assets.Data Interactions
DataGrail's System Detection process runs once daily and reads object properties to detect new systems added in Segment:
- Fetch list of the workspace's sources.
- Fetch destinations for each detected source.
- Extract the following fields for detected source and destination objects:
- name
- display_name
- create_time
- catalog_name
- parent
- enabled
Endpoints Utilized
Disclaimer: The information contained in this message does not constitute as legal advice. We would advise seeking professional counsel before acting on or interpreting any material.