---
title: "Retrieve list of audience behaviors"
method: GET
path: "/audiences/{audienceId}/behaviors"
tags: ["Parent Segment Configurations"]
---

# Retrieve list of audience behaviors

`GET /audiences/{audienceId}/behaviors`

Retrieve a list of parent segment behaviors.

## Path parameters

- `audienceId` integer, required

## Query parameters

- `realtime` boolean

## Response `200`

successful operation

- AudienceBehaviorWithVisibility[]
  - `id` string, required — ID of Master Segment Config behavior
  - `name` string, required — Behavior name user defined on Master Segment Configuration page of Data Workbench
  - `parentDatabaseName` string, required — Database name of the behavior table
  - `parentTableName` string, required — Table name of the behavior table
  - `parentKey` string, required — Join key of the behavior table
  - `foreignKey` string, required — Foreign key of the master table
  - `schema` AudienceBehaviorSchemaWithVisibility[], required — Columns of behavior
    - `name` string, required — Column name user defined on Master Segment Configuration page of Data Workbench
    - `type` 'string' | 'number' | 'timestamp' | 'date' | 'string_array' | 'number_array' | 'boolean', required — Type of the column
    - `parentColumn` string, nullable, required — Column name of the behavior table (This can be null when the column is an enriched column)
    - `matrixColumnName` string — Column name of the behavior table
    - `matrixColumnDescription` string, nullable — Description of the column in behavior table
    - `visibility` 'clear' | 'pii' | 'non_pii' | 'blocked'
  - `scheduleType` 'cron' | 'daily' | 'hourly' | 'minutes_interval' | 'monthly' | 'none' | 'weekly'
  - `scheduleOption` string, nullable
  - `defaultTimeFilterEnabled` boolean

## Other responses

- `400` — Given parameters are not valid
- `401` — Unauthorized; You don't provide valid credentials. Maybe you didn't specify valid TD's Master API Key as 'TD1 {Your TD Master API Key}'.
- `403` — Requested resource or action is not allowed because you don't have sufficient permissions
- `404` — The specified resource was not found
- `4XX` — There is a high possibility of error of the authentication system. Please check the contents and authority of the key. Please contact the TD support team if you do not resolve it.
- `5XX` — System error. Because there is a possibility of a temporary error due to network trouble and so on, we recommend several times retry on request side. Please contact the TD support team if you do not resolve it.

---

[API](https://skmtc.net/treasure/apis/cdp-api.md) · [All operations](https://skmtc.net/treasure/apis/cdp-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/treasure/cdp-api/revisions/24caa8eb809b/schema)
