Segment Public
Version
This integration utilizes the Segment Public API v1.
Base URL
The base URL used for all Segment Public API endpoints:https://api.segmentapis.com
Endpoints Utilized
DataGrail uses the following endpoints to authorize and test the connection:
Authentication & Authorization
The DataGrail Segment Public integration connects using api-token authentication which requires an API Token.
Limits
Limits in Segment Public 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
Access
DataGrail's Segment Public integration provides Asynchronous Access capabilities for the following supported identifier categories: Email and User ID.Data Interactions
For Access requests, DataGrail will take the following actions:
- Fetch list of users with access to the Workspace.
- Select users using configured identifiers.
- Fetch user details by ID for all collected users.
Endpoints Utilized
Method | Endpoint | Purpose | Docs |
---|---|---|---|
GET | /users | Returns a list of users with access to the Workspace | |
GET | /users/userId | Returns a user given their id |
Deletion
DataGrail's Segment Public 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:
- Fetch list of users with access to the Workspace.
- Select users using configured identifiers.
- Create a Workspace Regulation.
- Get regulation from the Workspace.
- Complete processing when the overall status is FINISHED.
Endpoints Utilized
Method | Endpoint | Purpose | Docs |
---|---|---|---|
POST | /regulations | Create Workspace Regulation | |
GET | /regulations/regulation_id | Gets a regulation from the Workspace | |
GET | /users | Returns a list of users with access to the Workspace |
Opt Out
DataGrail's Segment Public integration provides Opt Out capabilities for the following supported identifier categories: Email and User ID.Data Interactions
For Opt Out requests, DataGrail will take the following actions:
- Create a Workspace Regulation.
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 performs the following actions:
- Fetch list of sources.
- Fetch list of destinations.
- Fetch list of warehouses.
Endpoints Utilized
Method | Endpoint | Purpose | Docs |
---|---|---|---|
GET | /destinations | Returns a list of Destinations | |
GET | /sources | Returns a list of Sources | |
GET | /warehouses | Returns a list of Warehouses |
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.