get_destination | Get a destination by its id — includes name, enabled status, metadata and settings. |
get_events_volume | Get event volume from the workspace over a time window. granularity: DAY, HOUR or MINUTE. start_time and end_time: ISO 8601 timestamps. group_by: array of dimensions (source, eventName, eventType). |
get_source | Get a source by its id — includes slug, name, enabled status, write keys, metadata and settings. |
get_tracking_plan | Get a tracking plan by its id — includes name, description, type and timestamps. |
get_workspace | Get the workspace associated with the token — name and slug. Use it to confirm the token works. |
list_audiences | List audiences in a space. Returns audience id, name, description, enabled status, audience type and definition. |
list_destinations | List destinations in the workspace. Returns destination id, name, enabled status, metadata and settings. |
list_labels | List labels in the workspace — key, value and description for each. |
list_source_catalog | List available source types in the Segment catalog — metadata id, slug, name, description and categories. |
list_sources | List sources in the workspace. Returns source id, slug, name, enabled status, write keys, metadata and settings. |
list_spaces | List spaces (Personas environments) in the workspace. |
list_tracking_plan_rules | List rules in a tracking plan — each rule has a key, type, version and jsonSchema. |
list_tracking_plans | List tracking plans in the workspace. Returns plan id, name, description and type. |
list_warehouses | List warehouses in the workspace. Returns warehouse id, name, enabled status, metadata and settings. |