---
title: "Retrieve a list of available behavior table of specified step"
method: POST
path: "/entities/journeys/{journeyId}/available_behaviors_for_step"
tags: ["Journeys"]
---

# Retrieve a list of available behavior table of specified step

`POST /entities/journeys/{journeyId}/available_behaviors_for_step`

Retrieve a list of available behavior table of specified step.

## Path parameters

- `journeyId` integer, required

## Query parameters

- `stepId` string, uuid

## Response `200`

Returns a list of available behavior table of specified journey

- EntitiesAudienceBehaviorIndexJsonApiResponse
  - `data` AudienceBehaviorWithVisibilityJsonApiResource[], required
    - `id` string, required
    - `type` 'audience-behavior', required
    - `attributes` object, required
      - `audienceId` string, required
      - `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
      - `matrixDatabaseName` string, required — Matrix database name of the behavior table
      - `matrixTableName` string, required — Matrix table name of the behavior table
      - `allColumns` boolean, required
      - `defaultTimeFilterEnabled` boolean, required
      - `isRealtime` boolean, required
      - `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'

---

[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)
