Treasure Data Activations API

Activation is the process that allows marketers to personalize communication to users interested in your brand. **Funnel activation** — Create a funnel activation for each funnel stage. The activation exports to external marketing tools for campaigns or BI tools for analysis and reporting. **Segment activation** — Activate the segment data (export) to external tools for activities such as marketing campaigns, business analysis, and social media. Targets include Email Marketing Systems, Marketing Automation Systems, Advertising Platforms, CRM, ERP, Cloud Services, and SFTP. _Known formerly as syndication in Audience Studio Legacy. You may continue to see syndication referenced in Treasure Data APIs._

Operations 17

GET /audiences/{audienceId}/folders/{folderId}/syndications Retrieve list of activations recursively under a folder #
GET /audiences/{audienceId}/segments/{segmentId}/syndications Retrieve list of activations in segment #
POST /audiences/{audienceId}/segments/{segmentId}/syndications Create activation #
GET /audiences/{audienceId}/segments/{segmentId}/syndications/{syndicationId} Retrieve activation by ID #
PUT /audiences/{audienceId}/segments/{segmentId}/syndications/{syndicationId} Update activation #
DELETE /audiences/{audienceId}/segments/{segmentId}/syndications/{syndicationId} Delete activation #
POST /audiences/{audienceId}/segments/{segmentId}/syndications/{syndicationId}/run Run activation (legacy) #
GET /audiences/{audienceId}/syndications Retrieve list of activations in audience #
GET /entities/segments/{segmentId}/syndications Retrieve list of activations #
POST /entities/segments/{segmentId}/syndications Create activation #
GET /entities/segments/{segmentId}/syndications/{id} Retrieve list of activations #
PATCH /entities/segments/{segmentId}/syndications/{id} Update activation #
DELETE /entities/segments/{segmentId}/syndications/{id} Delete activation #
POST /entities/segments/{segmentId}/syndications/{id}/run Run activation
GET /entities/parent_segments/{parentSegmentId}/syndications Retrieve list of activations by parent segment
GET /entities/parent_segments/{parentSegmentId}/user_defined_workflow_projects List of workflow project names
GET /entities/parent_segments/{parentSegmentId}/user_defined_workflows List of workflow names

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/treasure-data-activations-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

treasure-data-activations-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: cdp-api Activations API
  description: All of the CDP APIs are organized around REST - if you've interacted with a RESTful API already, many of the concepts will be familiar to you. All API calls to CDP API should be made to the following endpoints depending on the [region](https://docs.treasuredata.com/display/public/PD/Sites+and+Endpoints#SitesandEndpoints-Endpoints). For historical reasons there are REST API endpoints and JSON:API endpoints. JSON:API endpoints are located under "/entities".
  termsOfService: https://www.treasuredata.com/terms/
  version: 1.0.0
servers:
- url: https://api-cdp.treasuredata.com
- url: https://api-cdp.treasuredata.co.jp
- url: https://api-cdp.eu01.treasuredata.com
- url: https://api-cdp.ap02.treasuredata.com
- url: https://api-cdp.ap03.treasuredata.com
tags:
- name: Activations
  description: Activation is the process that allows marketers to personalize communication to users interested in your brand. <br> <ul> <li> **Funnel activation** &mdash; Create a funnel activation for each funnel stage. The activation exports to external marketing tools for campaigns or BI tools for analysis and reporting.</li> <li> **Segment activation** &mdash; Activate the segment data (export) to external tools for activities such as marketing campaigns, business analysis, and social media. Targets include Email Marketing Systems, Marketing Automation Systems, Advertising Platforms, CRM, ERP, Cloud Services, and SFTP.</li> </ul><br>_Known formerly as syndication in Audience Studio Legacy. You may continue to see syndication referenced in Treasure Data APIs._
paths:
  /audiences/{audienceId}/folders/{folderId}/syndications:
    x-external: true
    get:
      tags:
      - Activations
      summary: Retrieve list of activations recursively under a folder
      description: Retrieve a list of activations (formerly syndications) recursively under a folder.
      operationId: segment_folders#syndications
      parameters:
      - name: audienceId
        in: path
        description: Master Segment id of the syndications
        required: true
        schema:
          type: integer
          format: int64
      - name: folderId
        in: path
        description: Segment Folder ID
        required: true
        schema:
          type: integer
          format: int64
      - name: sorted_by
        in: query
        required: false
        description: a sort key with an option
        schema:
          type: string
          format: '{sort_key}:{option}'
        examples:
          connection_type_asc:
            value: connection_type:asc
            summary: Sorted by connection_type in an ascending order (Note that Pagination parameters page[size] and page[after] are ignored if sorted by connection_type)
          segment_id_asc:
            value: segment_id:asc
            summary: Sorted by segment_id in an ascending order
          segment_name_desc:
            value: segment_name:desc
            summary: Sorted by segment_name in an descending order
          activation_template_id_desc:
            value: activation_template_id:desc
            summary: Sorted by activation_template_id in an descending order
          activation_template_name_asc:
            value: activation_template_name:asc
            summary: Sorted by activation_template_name in an ascending order
          start_at_desc:
            value: start_at:desc
            summary: Sorted by start_at in an descending order
          repeat_unit_asc:
            value: repeat_unit:asc
            summary: Sorted by repeat_unit in an ascending alphabetical order
          created_by_td_user_id_asc:
            value: created_by_td_user_id:asc
            summary: Sorted by the User ID of created_by in an ascending order
          created_by_user_name_desc:
            value: created_by_user_name:desc
            summary: Sorted by the User Name of created_by in an descending order
          updated_at_desc:
            value: updated_at:desc
            summary: Sorted by updated_at in an descending order
          created_at_desc:
            value: created_at:desc
            summary: Sorted by created_at in an descending order
      - name: name_include
        in: query
        required: false
        description: filter by Activation's name to return only Activations whose name includes the value
        schema:
          type: string
      - name: segment_name_include
        in: query
        required: false
        description: filter by Segment's name to return only Activations whose Segment name includes the value
        schema:
          type: string
      - name: start_after
        in: query
        required: false
        description: filter by start_at to return only Activations that starts after
        schema:
          type: string
          format: date-time
      - name: start_before
        in: query
        required: false
        description: filter by start_at to return only Activations that starts before
        schema:
          type: string
          format: date-time
      - name: connection_type
        in: query
        required: false
        description: filter by Connection Type return only Activations whose Connection Types match (Note that Pagination parameters page[size] and page[after] are ignored if connection_type is specified)
        schema:
          type: array
          items:
            type: string
      - name: schedule_status
        in: query
        required: false
        description: filter by schedule_status
        schema:
          type: array
          items:
            type: string
            enum:
            - none
            - inactive
            - scheduled
            - active
        style: form
        explode: false
      - name: created_by_td_user_id
        in: query
        required: false
        description: filter by the User ID of created_by
        schema:
          type: array
          items:
            type: integer
            format: int64
        style: form
        explode: false
      - name: activation_template_id
        in: query
        required: false
        description: filter by activation_template_id, "none" matches with an Activation that has no Activation Template, but it does not match with an Activation that has a deleted Activation Template
        schema:
          type: array
          items:
            oneOf:
            - type: integer
              format: int64
            - type: string
              enum:
              - none
        style: form
        explode: false
      - name: repeat_unit
        in: query
        required: false
        description: filter by repeat_unit
        schema:
          type: array
          items:
            type: string
            enum:
            - hour
            - day
            - week
            - month
            - minute
            - once
            - none
        style: form
        explode: false
      - name: page[after]
        in: query
        description: An opaque cursor to get the next syndications
        schema:
          type: string
      - name: page[size]
        in: query
        description: The paginated number of syndications to get
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                type: object
                additionalProperties: false
                properties:
                  syndications:
                    type: array
                    items:
                      $ref: '#/components/schemas/SyndicationOverview'
                  pagination:
                    type: object
                    additionalProperties: true
                    properties:
                      hasNext:
                        type: boolean
                      nextPage:
                        type: string
                      approximateCount:
                        type: integer
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        4XX:
          $ref: '#/components/responses/ClientError'
        5XX:
          $ref: '#/components/responses/ServerError'
      security:
      - TdApikeyAuth: []
  /audiences/{audienceId}/segments/{segmentId}/syndications:
    x-external: true
    get:
      tags:
      - Activations
      summary: Retrieve list of activations in segment
      description: Retrieve a list of activations (formerly syndications) associated with a segment.
      operationId: syndications#index
      parameters:
      - name: audienceId
        in: path
        description: Master Segment ID of the syndication
        required: true
        schema:
          type: integer
          format: int64
      - name: segmentId
        in: path
        description: Segment ID of the syndication
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Syndication'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        4XX:
          $ref: '#/components/responses/ClientError'
        5XX:
          $ref: '#/components/responses/ServerError'
      security:
      - TdApikeyAuth: []
    post:
      tags:
      - Activations
      summary: Create activation
      description: Create a new activation (formerly syndication).
      operationId: syndications#create
      parameters:
      - name: audienceId
        in: path
        description: Master Segment ID of the syndication
        required: true
        schema:
          type: integer
          format: int64
      - name: segmentId
        in: path
        description: Segment ID of the syndication
        required: true
        schema:
          type: integer
          format: int64
      requestBody:
        description: Syndication parameters to create
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SyndicationParameters'
        required: true
      responses:
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        4XX:
          $ref: '#/components/responses/ClientError'
        5XX:
          $ref: '#/components/responses/ServerError'
      security:
      - TdApikeyAuth: []
  /audiences/{audienceId}/segments/{segmentId}/syndications/{syndicationId}:
    x-external: true
    get:
      tags:
      - Activations
      summary: Retrieve activation by ID
      description: Retrieve an activation (formerly syndication) based on its identifier.
      operationId: syndications#show
      parameters:
      - name: audienceId
        in: path
        description: Master Segment ID of the syndication
        required: true
        schema:
          type: integer
          format: int64
      - name: segmentId
        in: path
        description: Segment ID of the syndication
        required: true
        schema:
          type: integer
          format: int64
      - name: syndicationId
        in: path
        description: ID of Syndication to return
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Syndication'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        4XX:
          $ref: '#/components/responses/ClientError'
        5XX:
          $ref: '#/components/responses/ServerError'
      security:
      - TdApikeyAuth: []
    put:
      tags:
      - Activations
      summary: Update activation
      description: Update an activation (formerly syndication).
      operationId: syndications#update
      parameters:
      - name: audienceId
        in: path
        description: Master Segment ID of the syndication
        required: true
        schema:
          type: integer
          format: int64
      - name: segmentId
        in: path
        description: Segment ID of the syndication
        required: true
        schema:
          type: integer
          format: int64
      - name: syndicationId
        in: path
        description: ID of Syndication to return
        required: true
        schema:
          type: integer
          format: int64
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SyndicationParameters'
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Syndication'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        4XX:
          $ref: '#/components/responses/ClientError'
        5XX:
          $ref: '#/components/responses/ServerError'
      security:
      - TdApikeyAuth: []
    delete:
      tags:
      - Activations
      summary: Delete activation
      description: Delete an activation (formerly syndication).
      operationId: syndications#delete
      parameters:
      - name: audienceId
        in: path
        description: Master Segment ID of the syndication
        required: true
        schema:
          type: integer
          format: int64
      - name: segmentId
        in: path
        description: Segment ID of the syndication
        required: true
        schema:
          type: integer
          format: int64
      - name: syndicationId
        in: path
        description: ID of Syndication to return
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        4XX:
          $ref: '#/components/responses/ClientError'
        5XX:
          $ref: '#/components/responses/ServerError'
      security:
      - TdApikeyAuth: []
  /audiences/{audienceId}/segments/{segmentId}/syndications/{syndicationId}/run:
    x-external: true
    post:
      tags:
      - Activations
      summary: Run activation (legacy)
      description: Run an activation (formerly syndication). <br> <br> <br> _This endpoint is for Audience Studio legacy. For the latest Audience Studio, contact your Customer Success Representative._
      operationId: syndications#run
      parameters:
      - name: audienceId
        in: path
        required: true
        schema:
          type: integer
          format: int64
      - name: segmentId
        in: path
        required: true
        schema:
          type: integer
          format: int64
      - name: syndicationId
        in: path
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: Succeeded to run the Syndication
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SyndicationExecution'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        4XX:
          $ref: '#/components/responses/ClientError'
        5XX:
          $ref: '#/components/responses/ServerError'
      security:
      - TdApikeyAuth: []
  /audiences/{audienceId}/syndications:
    x-external: true
    get:
      tags:
      - Activations
      summary: Retrieve list of activations in audience
      description: Retrieve a list of activations (formerly syndications) associated with a parent segment ID and view their status and/or schedules.
      operationId: audience_syndications#index
      parameters:
      - name: audienceId
        in: path
        description: Master Segment ID of the syndication
        required: true
        schema:
          type: integer
          format: int64
      - name: without_detail
        in: query
        description: If true, the response does not include the detail of the syndication, such as valid, and executions.
        required: false
        schema:
          type: boolean
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Syndication'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        4XX:
          $ref: '#/components/responses/ClientError'
        5XX:
          $ref: '#/components/responses/ServerError'
      security:
      - TdApikeyAuth: []
  /entities/segments/{segmentId}/syndications:
    x-external: true
    get:
      tags:
      - Activations
      summary: Retrieve list of activations
      description: Retrieve a list of activations for a particular segment ID.
      operationId: activation#index
      parameters:
      - name: segmentId
        in: path
        description: Segment to list Activation
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: Returns a list of Activations.
          content:
            application/vnd.treasuredata.v1+json:
              schema:
                $ref: '#/components/schemas/EntitiesSyndicationIndexJsonApiResponse'
    post:
      tags:
      - Activations
      summary: Create activation
      description: Create an activation (formerly syndication).
      operationId: activation#create
      parameters:
      - name: segmentId
        in: path
        description: Segment to create Activation
        required: true
        schema:
          type: integer
          format: int64
      requestBody:
        content:
          application/vnd.treasuredata.v1+json:
            schema:
              $ref: '#/components/schemas/EntitiesSyndicationUpdateRepresentation'
      responses:
        '200':
          description: Created Activation
          content:
            application/vnd.treasuredata.v1+json:
              schema:
                $ref: '#/components/schemas/EntitiesGetSyndicationJsonApiResponse'
  /entities/segments/{segmentId}/syndications/{id}:
    x-external: true
    get:
      tags:
      - Activations
      summary: Retrieve list of activations
      description: Retrieve a list of activations for a segment ID.
      operationId: activation#show
      parameters:
      - name: segmentId
        in: path
        description: Segment associated with the Activation
        required: true
        schema:
          type: integer
          format: int64
      - name: id
        in: path
        description: Activation ID
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: Returns an activation by ID
          content:
            application/vnd.treasuredata.v1+json:
              schema:
                $ref: '#/components/schemas/EntitiesGetSyndicationJsonApiResponse'
    patch:
      tags:
      - Activations
      summary: Update activation
      description: Update an activation.
      operationId: activation#update
      parameters:
      - name: id
        in: path
        description: Activation to update
        required: true
        schema:
          type: integer
          format: int64
      - name: segmentId
        in: path
        description: Segment associated with the Activation
        required: true
        schema:
          type: integer
          format: int64
      requestBody:
        content:
          application/vnd.treasuredata.v1+json:
            schema:
              $ref: '#/components/schemas/EntitiesSyndicationUpdateRepresentation'
      responses:
        '200':
          description: Updated Activation
          content:
            application/vnd.treasuredata.v1+json:
              schema:
                $ref: '#/components/schemas/EntitiesGetSyndicationJsonApiResponse'
    delete:
      tags:
      - Activations
      summary: Delete activation
      description: Delete an activation.
      operationId: activation#delete
      parameters:
      - name: id
        in: path
        description: Activation to delete
        required: true
        schema:
          type: integer
          format: int64
      - name: segmentId
        in: path
        description: Segment associated with the Activation
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: Deleted Activation
          content:
            application/vnd.treasuredata.v1+json:
              schema:
                $ref: '#/components/schemas/EntitiesGetSyndicationJsonApiResponse'
  /entities/segments/{segmentId}/syndications/{id}/run:
    x-external: true
    post:
      tags:
      - Activations
      summary: Run activation
      description: Run an activation by specifying its ID and segment ID.
      parameters:
      - name: segmentId
        in: path
        description: Segment to run Activation
        required: true
        schema:
          type: integer
          format: int64
      - name: id
        in: path
        description: Activation id
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: Succeeded to run the Syndication
          content:
            application/vnd.treasuredata.v1+json:
              schema:
                $ref: '#/components/schemas/SyndicationExecutionJsonApiResource'
  /entities/parent_segments/{parentSegmentId}/syndications:
    x-external: true
    parameters:
    - $ref: '#/components/parameters/ParentSegmentId'
    get:
      tags:
      - Activations
      summary: Retrieve list of activations by parent segment
      description: 'Retrieve a list of activations based on a parent segment.

        This endpoint returns a summary representation of each activation;

        detail-only fields (e.g. executions, runStatus, schedule details) are

        not included.

        '
      responses:
        '200':
          description: Returns a list of Activations.
          content:
            application/vnd.treasuredata.v1+json:
              schema:
                $ref: '#/components/schemas/EntitiesParentSegmentSyndicationIndexJsonApiResponse'
  /entities/parent_segments/{parentSegmentId}/user_defined_workflow_projects:
    x-external: true
    parameters:
    - $ref: '#/components/parameters/ParentSegmentId'
    get:
      tags:
      - Activations
      summary: List of workflow project names
      description: Returns a list of workflow project names
      parameters:
      - name: namePattern
        in: query
        description: name pattern to filter user-defined workflow projects
        schema:
          type: string
      - name: lastId
        in: query
        description: fetch workflow projects whose id is greater than this ID for pagination
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: Succeeded to get workflow project names
          content:
            application/json:
              schema:
                allOf:
                - $ref: '#/components/schemas/partial_pagination.yaml-PaginatedResponse'
                - $ref: '#/components/schemas/EntitiesGetWorkflowProjectsJsonApiResult'
        '400':
          $ref: '#/components/responses/JsonApiBadRequest'
        '403':
          $ref: '#/components/responses/JsonApiForbiddenRequest'
        '404':
          $ref: '#/components/responses/JsonApiNotFoundRequest'
  /entities/parent_segments/{parentSegmentId}/user_defined_workflows:
    x-external: true
    parameters:
    - $ref: '#/components/parameters/ParentSegmentId'
    get:
      tags:
      - Activations
      summary: List of workflow names
      description: Returns a list of workflow names
      parameters:
      - name: workflowProjectName
        in: query
        description: Workflow Project Name to filter
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Succeeded to get workflow names
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EntitiesGetWorkflowsJsonApiResult'
        '400':
          $ref: '#/components/responses/JsonApiBadRequest'
        '403':
          $ref: '#/components/responses/JsonApiForbiddenRequest'
        '404':
          $ref: '#/components/responses/JsonApiNotFoundRequest'
components:
  schemas:
    Columns:
      description: 'Syndication column detail. Basic syntax is `{"column": "alias_name", "source": {...}}`. `source` accepts various definitions. See ColumnExpression/StringExpression for details. example value is using ColumnExpression without `function` property.

        '
      example:
      - column: alias_name
        source:
          column: real_column_name
      type: array
      items:
        type: object
        properties:
          id:
            type: string
            format: uuid
          column:
            type: string
          source:
            anyOf:
            - $ref: '#/components/schemas/ColumnExpression'
            - $ref: '#/components/schemas/StringExpression'
        required:
        - column
        - source
    EntitiesSyndicationIndexJsonApiResponse:
      type: object
      required:
      - data
      - included
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/SyndicationJsonApiResource'
        included:
          type: array
          items:
            $ref: '#/components/schemas/UserJsonApiResource'
    NullValue:
      type:
      - object
      - 'null'
      additionalProperties: false
      properties:
        thisKeyNeverHit:
          type: string
    ScheduleType:
      type: string
      example: daily
      enum:
      - cron
      - daily
      - hourly
      - minutes_interval
      - monthly
      - none
      - weekly
    UserJsonApiResource:
      type: object
      required:
      - id
      - type
      - attributes
      properties:
        id:
          type: string
          pattern: '[1-9][0-9]*'
        type:
          type: string
          enum:
          - user
        attributes:
          type: object
          required:
          - tdUserId
          - name
          properties:
            tdUserId:
              type: string
              pattern: '[1-9][0-9]*'
            name:
              type: string
    Execution:
      allOf:
      - $ref: '#/components/schemas/ExecutionCore'
      - type: object
        required:
        - workflowAttemptId
        properties:
          workflowAttemptId:
            type: string
            pattern: '[1-9][0-9]*'
    SyndicationSummaryJsonApiResource:
      description: 'Summary representation of an activation (syndication) returned by the

        parent segment activations list endpoint. Compared to

        SyndicationJsonApiResource, the detail-only fields (valid, executions,

        notifyOn, emailRecipients, runStatus, startAt, endOn, repeatUnit,

        repeatFrequency, and repeatSubFrequency) are omitted because that

        endpoint serializes with without_detail: true.

        '
      type: object
      properties:
        id:
          type: string
          pattern: '[1-9][0-9]*'
        type:
          type: string
          enum:
          - syndication
        attributes:
          type: object
          required:
          - audienceId
          - name
          - description
          - columns
          - createdAt
          - updatedAt
          properties:
            audienceId:
              type: string
              pattern: '[1-9][0-9]*'
            name:
              type: string
            description:
              type:
              - string
              - 'null'
            allColumns:
              description: syndication all column flag  ('true' means that you use all attribute data)
              type: boolean
            columns:
              $ref: '#/components/schemas/Columns'
            scheduleType:
              $ref: '#/components/schemas/DeprecatedScheduleType'
            scheduleOption:
              type: string
              deprecated: true
            timezone:
              type: string
            connectionId:
              type: string
              pattern: '[1-9][0-9]*'
            connectorConfig:
              type:
              - object
              - 'null'
            createdAt:
              type: string
              format: date-time
            updatedAt:
              type: string
              format: date-time
            nestedWorkflowProjectName:
              type: string
            nestedWorkflowName:
              type: string
            activationActionsEnabled:
              type: boolean
            lockEnabled:
              type: boolean
            activationTemplateId:
              type: string
              pattern: '[1-9][0-9]*'
            syndicationBehavior:
              deprecated: true
              description: Deprecated. Use syndicationBehaviors instead.
              allOf:
              - $ref: '#/components/schemas/SyndicationBehavior'
            syndicationBehaviors:
              type:
              - array
              - 'null'
              maxItems: 4
              description: Behavior activation configurations
              items:
                $ref: '#/components/schemas/SyndicationBehavior'
        relationships:
          type: object
          properties:
            segment:
              $ref: '#/components/schemas/RelationshipsBatchSegmentJsonApiResource'
            createdBy:
              $ref: '#/components/schemas/RelationshipsUserJsonApiResource'
            updatedBy:
              $ref: '#/components/schemas/RelationshipsUserJsonApiResource'
    RelationshipsUserJsonApiResource:
      type: object
      properties:
        data:
          type:
          - object
          - 'null'
          required:
          - id
          - type
          properties:
            id:
              type: string
              pattern: '[1-9][0-9]*'
            type:
              type: string
              enum:
              - user
    partial_pagination.yaml-PaginatedResponse:
      type: object
      properties:
        data:
          type: array
          items:
            type: object
        pagination:
          type: object
          properties:
            nextPage:
              type:
              - string
              - 'null'
              description: The path part of URL of the next page
          required:
          - nextPage
      required:
      - data
      - pagination
    User:
      type: object
      properties:
        id:
          type: string
          pattern: '[1-9][0

# --- truncated at 32 KB (65 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/treasure-data/refs/heads/main/openapi/treasure-data-activations-api-openapi.yml