{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"redocly_category":"Treasure Code","product_name":"Treasure Code","type":"markdown"},"seo":{"title":"tdx cas - Composable Audience Studio | Treasure Data","description":"Manage Composable Audience Studio (CAS) resources. Zero-copy CDP audiences on Snowflake, Databricks, and BigQuery.","siteUrl":"https://docs.treasuredata.com","lang":"en-US","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]},"image":"/assets/og-image.ba836864a30434f560a4f7720f8a09019ad30ff828b20c5052ae933ba7121524.d7ef4821.png"},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"cas-commands","__idx":0},"children":["CAS Commands"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Manage Composable Audience Studio (CAS) resources — zero-copy CDP audiences that run directly on customer Cloud Data Warehouses (Snowflake, Databricks, BigQuery) without moving data into Treasure AI."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"commands","__idx":1},"children":["Commands"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"discovery","__idx":2},"children":["Discovery"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Command"},"children":["Command"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#list"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["list"]}]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["List composable audiences"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#desc"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["desc"]}]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Describe a composable audience"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"yaml-sync","__idx":3},"children":["YAML Sync"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Command"},"children":["Command"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#pull"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["pull"]}]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Pull audience + segments to YAML files"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#push"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["push"]}]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Push YAML files to CAS API"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"operations","__idx":4},"children":["Operations"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Command"},"children":["Command"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#preview"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["preview"]}]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Preview composable segment query on CDW"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#sg-list"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["sg list"]}]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["List composable segments for an audience"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"typical-usage","__idx":5},"children":["Typical Usage"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"# 1. List composable audiences\ntdx cas list\n\n# 2. Pull audience and all segments to YAML files\ntdx cas pull \"Customer360 Snowflake\"\n# Creates: cas/customer360-snowflake.yml (audience)\n#          cas/high-value-customers.yml (segment)\n#          cas/Marketing/newsletter-subs.yml (segment in folder)\n\n# 3. Edit YAML files locally\n\n# 4. Push changes back to CAS API\ntdx cas push ./cas/\n\n# 5. Preview a segment query on the CDW\ntdx cas preview \"High-Value Customers\" --audience \"Customer360 Snowflake\"\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"session-context","__idx":6},"children":["Session Context"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Set a default composable audience to avoid repeating the name:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"tdx use cas \"Customer360 Snowflake\"\n\n# Now these commands use the context:\ntdx cas sg list           # Lists segments for \"Customer360 Snowflake\"\ntdx cas desc              # Describes \"Customer360 Snowflake\"\ntdx cas pull              # Pulls \"Customer360 Snowflake\"\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"how-it-works","__idx":7},"children":["How It Works"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Composable Audiences"]}," define customer profiles from tables in your own data warehouse. Unlike Complete CDP audiences (which copy data into Treasure AI), composable audiences query your CDW directly — zero data movement."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Each composable audience has:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["A ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["master table"]}," (the primary customer table in your CDW)"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Attributes"]}," (additional columns joined from other tables)"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Behaviors"]}," (time-series event tables for behavioral segmentation)"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Segments"]}," (filtered subsets using rules/conditions)"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Activations"]}," (exports from segments to external systems)"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"yaml-format","__idx":8},"children":["YAML Format"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"audience-yaml","__idx":9},"children":["Audience YAML"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"yaml","header":{"controls":{"copy":{}}},"source":"name: Customer360 Snowflake\ndescription: Customer data from Snowflake\ntimezone: America/New_York\nmaster:\n  connection: my-snowflake-connection\n  schema: customer_data\n  table: customers\n  key_column: cdp_customer_id\nattributes:\n  - name: email_info\n    connection: my-snowflake-connection\n    schema: customer_data\n    table: customers\n    join:\n      table_key: cdp_customer_id\n      master_key: cdp_customer_id\n    columns:\n      - name: email\n        type: string\n        column: email_address\nbehaviors:\n  - name: purchase_events\n    connection: my-snowflake-connection\n    schema: events\n    table: purchase_history\n    join:\n      table_key: customer_id\n      master_key: cdp_customer_id\n    time_column: event_timestamp\n    columns:\n      - name: product_id\n        type: string\n        column: product_sku\n      - name: amount\n        type: number\n        column: purchase_amount\n","lang":"yaml"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"segment-yaml","__idx":10},"children":["Segment YAML"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"yaml","header":{"controls":{"copy":{}}},"source":"type: composable_segment\nname: High-Value Customers\ndescription: Customers with > $1000 in purchases\nfolder: Marketing/Campaigns\nrule:\n  type: And\n  conditions:\n    - type: Behavior\n      behavior: purchase_events\n      aggregation: Sum\n      column: amount\n      operator: GreaterThanOrEqual\n      value: 1000\nactivations:\n  - name: Export to Marketing\n    connection: salesforce-connection\n    connector_config:\n      object: Contact\n    columns:\n      - name: email\n        type: string\n    schedule:\n      type: daily\n      timezone: UTC\n","lang":"yaml"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"command-reference","__idx":11},"children":["Command Reference"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"list","__idx":12},"children":["list"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["List all composable audiences."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"tdx cas list [options]\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Option"},"children":["Option"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--json"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Output as JSON"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--jsonl"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Output as JSON Lines"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"desc","__idx":13},"children":["desc"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Describe a composable audience showing master table, attributes, and behaviors."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"tdx cas desc [name]\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Uses session context if ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["name"]}," is omitted (set via ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tdx use cas"]}," or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tdx cas pull"]},")."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"pull","__idx":14},"children":["pull"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Pull a composable audience and all its segments/activations to local YAML files."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"tdx cas pull [name] [options]\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Option"},"children":["Option"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--dir <dir>"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Target directory for YAML files (default: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["./cas/<audience-name>/"]},")"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--dry-run"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Show what would be done without writing files"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Uses session context if ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["name"]}," is omitted. Also sets ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["composable_audience"]}," context for subsequent commands."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The pull command shows diffs for changed files and prompts for confirmation before writing."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"push","__idx":15},"children":["push"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Push local YAML files to the CAS API."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"tdx cas push [target] [options]\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Option"},"children":["Option"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--dry-run"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Show what would be done without making changes"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["target"]}," can be a file or directory. If omitted, pushes from the current directory. Audience files are pushed first, then segments and activations."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"preview","__idx":16},"children":["preview"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Preview a composable segment query by running it on the CDW."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"tdx cas preview <segment_name> [options]\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Option"},"children":["Option"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--audience <name>"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Composable audience name (or use session context)"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"sg-list","__idx":17},"children":["sg list"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["List composable segments for an audience."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"tdx cas sg list [audience_name]\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["If ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["audience_name"]}," is omitted, uses the session context set by ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tdx use cas"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"cas-vs-complete-cdp","__idx":18},"children":["CAS vs Complete CDP"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Aspect"},"children":["Aspect"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Complete ( tdx ps / tdx sg )"},"children":["Complete (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tdx ps"]}," / ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tdx sg"]},")"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Composable ( tdx cas )"},"children":["Composable (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tdx cas"]},")"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Data location"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["TD PlazmaDB"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Customer's Snowflake/Databricks/BigQuery"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Source reference"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["database"]}," + ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["table"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["connection"]}," + ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["schema"]}," + ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["table"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Query engine"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Presto/Trino on TD"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Direct SQL on CDW"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Activations"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["syndications"]}," with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["connectionId"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["composable_activations"]}," with CDW-specific export"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["API prefix"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/audiences/"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/entities/segments/"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/composable_audiences/"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/entities/composable_segments/"]}]}]}]}]}]}]},"headings":[{"value":"CAS Commands","id":"cas-commands","depth":1},{"value":"Commands","id":"commands","depth":2},{"value":"Discovery","id":"discovery","depth":3},{"value":"YAML Sync","id":"yaml-sync","depth":3},{"value":"Operations","id":"operations","depth":3},{"value":"Typical Usage","id":"typical-usage","depth":2},{"value":"Session Context","id":"session-context","depth":2},{"value":"How It Works","id":"how-it-works","depth":2},{"value":"YAML Format","id":"yaml-format","depth":2},{"value":"Audience YAML","id":"audience-yaml","depth":3},{"value":"Segment YAML","id":"segment-yaml","depth":3},{"value":"Command Reference","id":"command-reference","depth":2},{"value":"list","id":"list","depth":3},{"value":"desc","id":"desc","depth":3},{"value":"pull","id":"pull","depth":3},{"value":"push","id":"push","depth":3},{"value":"preview","id":"preview","depth":3},{"value":"sg list","id":"sg-list","depth":3},{"value":"CAS vs Complete CDP","id":"cas-vs-complete-cdp","depth":2}],"frontmatter":{"seo":{"title":"tdx cas - Composable Audience Studio | Treasure Data","description":"Manage Composable Audience Studio (CAS) resources. Zero-copy CDP audiences on Snowflake, Databricks, and BigQuery.","image":"/assets/og-image.ba836864a30434f560a4f7720f8a09019ad30ff828b20c5052ae933ba7121524.d7ef4821.png"}},"lastModified":"2026-05-18T01:25:54.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/treasure-code/commands/cas","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}