Skip to content
Worix
BrowsePublish
Log inSign Up

Segment

Segment — manage sources, destinations, events, and tracking plans via Config & Tracking APIs

74 downloads
Free
Reviewed

📊 Segment

Segment — manage sources, destinations, events, and tracking plans via Config & Tracking APIs

Requirements

VariableRequiredDescription
SEGMENT_ACCESS_TOKEN✅Config API token
SEGMENT_WRITE_KEY✅Source write key

Quick Start

# List sources
python3 {{baseDir}}/scripts/segment.py sources

# Get source
python3 {{baseDir}}/scripts/segment.py source-get id <value>

# Create source
python3 {{baseDir}}/scripts/segment.py source-create --name <value> --catalog_name <value>

# Delete source
python3 {{baseDir}}/scripts/segment.py source-delete id <value>

# List destinations
python3 {{baseDir}}/scripts/segment.py destinations

# Get destination
python3 {{baseDir}}/scripts/segment.py destination-get id <value>

# List warehouses
python3 {{baseDir}}/scripts/segment.py warehouses

# List source catalog
python3 {{baseDir}}/scripts/segment.py catalog-sources

All Commands

CommandDescription
sourcesList sources
source-getGet source
source-createCreate source
source-deleteDelete source
destinationsList destinations
destination-getGet destination
warehousesList warehouses
catalog-sourcesList source catalog
catalog-destinationsList destination catalog
tracking-plansList tracking plans
tracking-plan-getGet tracking plan
spacesList spaces
functionsList functions
trackSend track event
identifySend identify

Output Format

All commands output JSON by default. Add --human for readable formatted output.

python3 {{baseDir}}/scripts/segment.py <command> --human

Script Reference

ScriptDescription
{{baseDir}}/scripts/segment.pyMain CLI — all commands in one tool

Credits

Built by M. Abidi | agxntsix.ai YouTube | GitHub Part of the AgxntSix Skill Suite for OpenClaw agents.

📅 Need help setting up OpenClaw for your business? Book a free consultation

Download

ZIP package — ready to use

Skill Info

Creator
aiwithabidi
Downloads
74
Published
Mar 15, 2026
Updated
Mar 16, 2026