> ## Documentation Index
> Fetch the complete documentation index at: https://deepline.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Reo.dev: Reo List Audiences

> List the buyer audiences in your Reo.dev workspace with their IDs and member counts. Includes inputs, outputs, SDK V2 examples, and Deepline cost.

List the buyer audiences in your Reo.dev workspace with their IDs and member counts.

> [!NOTE]
>
> Tool ID: `reo_list_audiences`

## Run this action

Use the TypeScript SDK for one call. Use `ctx.tools.execute(...)` inside a Play for durable calls, scheduled calls, or CSV processing.

```ts theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
import { Deepline } from 'deepline';

const deepline = await Deepline.connect();
const result = await deepline.tools.execute(
  'reo_list_audiences',
  {},
);

console.log(result.toolResponse.raw);
```

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline run reo_list_audiences --input '{}'
```

## Example response

The SDK returns this shape at `result.toolResponse.raw`. The example values illustrate the response.

```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
{
  "data": {
    "data": [
      {
        "id": "id_123",
        "name": "Example",
        "source": "SEGMENT"
      }
    ]
  }
}
```

Use `deepline describe reo_list_audiences --json` for the latest machine-readable contract.

## Input reference

### Overview Returns all Buyer Audiences created in your Reo workspace. Use the audience ID from here to query **Get Buyers in an Audience**. ### Path Parameters None. ### Errors | Code | When it happens | Response body | |---|---|---| | 400 | `X-API-KEY` header missing or empty | `&#123;"error":"Missing API Key"&#125;` | | 403 | Invalid API key, or a write API key used on this host | `&#123;"error":"Invalid API Key."&#125;` | ### ENUMs | Field | Value | Meaning | |---|---|---| | source | `SEGMENT` | Audience built from a segment. `source_id` is that segment's ID | | source | `LIST` | Audience built from a list. `source_id` is that list's ID | | source | `COMPANY_AUDIENCE` | Audience built from a company audience | | type | `BUYER` | Audience of buyers | ### Things to Note - `id` is the audience ID. Pass it as `audience_id` to Get Buyers in an Audience. - `request_id` isn't in the body. It comes back as the See the live schema below for the complete notes.

This action requires no input fields.

<details>
  <summary>Show raw input schema</summary>

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "### Overview Returns all Buyer Audiences created in your Reo workspace. Use the audience ID from here to query **Get Buyers in an Audience**. ### Path Parameters None. ### Errors | Code | When it happens | Response body | |---|---|---| | 400 | `X-API-KEY` header missing or empty | `{\"error\":\"Missing API Key\"}` | | 403 | Invalid API key, or a write API key used on this host | `{\"error\":\"Invalid API Key.\"}` | ### ENUMs | Field | Value | Meaning | |---|---|---| | source | `SEGMENT` | Audience built from a segment. `source_id` is that segment's ID | | source | `LIST` | Audience built from a list. `source_id` is that list's ID | | source | `COMPANY_AUDIENCE` | Audience built from a company audience | | type | `BUYER` | Audience of buyers | ### Things to Note - `id` is the audience ID. Pass it as `audience_id` to Get Buyers in an Audience. - `request_id` isn't in the body. It comes back as the `X-Request-Id` response header. - `count` is the number of buyers in the audience. `created_by` is the email of the user who created it. - `verified_only`, `auto_refresh` are booleans. `limit`, `count` and `credits_consumed` are integers. - `last_synced_at`, `created_at` and `updated_at` are ISO 8601 timestamps in UTC.",
    "properties": {},
    "required": [],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Provider response payload. |
| `result.data.data` | `array` | No | — | Result records. |
| `result.data.data[].id` | `string` | No | — | Audience ID. Pass it as `audience_id` to Get Buyers in an Audience. |
| `result.data.data[].name` | `string` | No | — | Audience name. |
| `result.data.data[].source` | `"SEGMENT" \| "LIST" \| "COMPANY_AUDIENCE"` | No | — | What the audience was built from. See ENUMs. - `SEGMENT`: Audience built from a segment. `source_id` is that segment's ID - `LIST`: Audience built from a list. `source_id` is that list's ID - `COMPANY_AUDIENCE`: Audience built from a company audience Allowed: `SEGMENT`, `LIST`, `COMPANY_AUDIENCE`. |
| `result.data.data[].source_id` | `string` | No | — | ID of the segment or list the audience was built from. |
| `result.data.data[].limit` | `integer` | No | — | Maximum buyers per account in the audience. |
| `result.data.data[].verified_only` | `boolean` | No | — | `true` when the audience only includes buyers with a verified business email. |
| `result.data.data[].count` | `integer` | No | — | Number of buyers in the audience. |
| `result.data.data[].auto_refresh` | `boolean` | No | — | Whether the audience refreshes automatically. |
| `result.data.data[].created_by` | `string` | No | — | Email of the user who created the audience. |
| `result.data.data[].type` | `"BUYER"` | No | — | Audience type. See ENUMs. - `BUYER`: Audience of buyers Allowed: `BUYER`. |
| `result.data.data[].last_synced_at` | `string` | No | — | When the audience was last synced, ISO 8601 UTC. |
| `result.data.data[].created_at` | `string` | No | — | When the audience was created, ISO 8601 UTC. |
| `result.data.data[].updated_at` | `string` | No | — | When the audience was last updated, ISO 8601 UTC. |
| `result.meta` | `object` | No | — | Additional response metadata (status, paging). |

<details>
  <summary>Show raw output schema</summary>

  ### Output JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Standard tool result payload.",
    "properties": {
      "data": {
        "type": "object",
        "description": "Provider response payload.",
        "properties": {
          "data": {
            "type": "array",
            "description": "Result records.",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "description": "Audience ID. Pass it as `audience_id` to Get Buyers in an Audience."
                },
                "name": {
                  "type": "string",
                  "description": "Audience name."
                },
                "source": {
                  "type": "string",
                  "description": "What the audience was built from. See ENUMs. - `SEGMENT`: Audience built from a segment. `source_id` is that segment's ID - `LIST`: Audience built from a list. `source_id` is that list's ID - `COMPANY_AUDIENCE`: Audience built from a company audience",
                  "enum": [
                    "SEGMENT",
                    "LIST",
                    "COMPANY_AUDIENCE"
                  ]
                },
                "source_id": {
                  "type": "string",
                  "description": "ID of the segment or list the audience was built from."
                },
                "limit": {
                  "type": "integer",
                  "description": "Maximum buyers per account in the audience."
                },
                "verified_only": {
                  "type": "boolean",
                  "description": "`true` when the audience only includes buyers with a verified business email."
                },
                "count": {
                  "type": "integer",
                  "description": "Number of buyers in the audience."
                },
                "auto_refresh": {
                  "type": "boolean",
                  "description": "Whether the audience refreshes automatically."
                },
                "created_by": {
                  "type": "string",
                  "description": "Email of the user who created the audience."
                },
                "type": {
                  "type": "string",
                  "description": "Audience type. See ENUMs. - `BUYER`: Audience of buyers",
                  "enum": [
                    "BUYER"
                  ]
                },
                "last_synced_at": {
                  "type": "string",
                  "description": "When the audience was last synced, ISO 8601 UTC."
                },
                "created_at": {
                  "type": "string",
                  "description": "When the audience was created, ISO 8601 UTC."
                },
                "updated_at": {
                  "type": "string",
                  "description": "When the audience was last updated, ISO 8601 UTC."
                }
              },
              "additionalProperties": false
            }
          }
        },
        "additionalProperties": false
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": true
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Deepline cost

* Pricing model: `fixed` (per call).
* Estimated Deepline credits: `0` per pricing unit.
* Provider-native pricing may still exist outside Deepline credit billing.

## Related documentation

* [Connect integrations](https://deepline.com/docs/integrations.md)
* [SDK V2 quickstart](https://deepline.com/docs/sdk-v2/quickstart.md)
* [SDK reference](https://deepline.com/docs/sdk-v2/sdk-reference.md)
* [Run tools across a CSV](https://deepline.com/docs/sdk-v2/batch-csv.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.