List warehouse syncs with the Segment API
Lists the latest syncs of one warehouse, with status and duration, to check whether the data is arriving. Returns the first 200, because the connection does not send pagination.
- Identifier
- segment_list_warehouse_syncs
The request
POST https://connect.reportei.com/api/tools/segment_list_warehouse_syncs/execute
Authorization: Bearer <merchant token>
x-customer-token: <customer token>
Content-Type: application/json
Accept: application/json
{
"customer_toolkit": "<connection UUID>",
"arguments": {
"warehouseId": "<warehouseId>"
}
}Your system sends your customer's connection id and the tool arguments. The headers are the same as the rest of the Connect API: your product's token and your customer's token.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| warehouseId | string | Yes | Id of the warehouse, from List warehouses or List connected warehouses. |
Supported connections
Your customer connects their Segment account once, with one of the modes below. The same connection serves every tool of the toolkit.
API key
Your customer pastes the app's key on a Connect screen, or your system sends the key with POST /api/customer-toolkits, with no screen.
The response
On success, Connect preserves the app's response status and body. HTTP errors returned by the app use the {error, api_error} envelope; authentication or validation can fail before execution. The X-Toolkit-Execution-Id header identifies the recorded execution, available at GET /api/tools/executions/{uuid}.
Ready for AI agents
This tool's input is a JSON Schema, available at GET /api/tools/segment_list_warehouse_syncs. It becomes your agent's tool definition with no conversion.
Other Segment tools
- List sourcesGETLists the sources of the workspace with id, name, slug, enabled, metadata and labels. Returns the first 200, because the connection does not send pagination; pagination.totalEntries tells whether there are more.
- Get sourceGETReturns one source with its settings, write keys, metadata and labels.
- List connected destinationsGETLists the destinations that receive data from one source, with id, name, enabled and metadata. Returns the first 200, because the connection does not send pagination.
- List connected warehousesGETLists the warehouses that receive data from one source. Returns the first 200, because the connection does not send pagination.
- List destinationsGETLists the destinations of the workspace with id, name, enabled, metadata and the sourceId each one belongs to. Returns the first 200, because the connection does not send pagination; pagination.totalEntries tells whether there are more.
- Get destinationGETReturns one destination with its settings, metadata and the sourceId it belongs to.
- Get delivery metricsGETReturns the delivery metrics of one destination for the events of one source in a period, each metric with its total and breakdown. Without dates, it covers the last hour by minute.
- List warehousesGETLists the warehouses of the workspace with id, enabled, metadata and settings. Returns the first 200, because the connection does not send pagination; pagination.totalEntries tells whether there are more.
See Connect applied to your product.
Try it for 15 days with no card, or walk our team through your use case.
