> ## 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.

# Meta audiences: Get Audience Status

> Check Meta custom audience build state and counts. Includes SDK V2 guidance, input constraints, response fields, and Deepline credit cost.

Check Meta custom audience build state and counts.

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

## 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(
  'meta_audiences_get_audience_status',
  {
    "audience_id": "audience_123"
  },
);

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

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute meta_audiences_get_audience_status --input '{
  "audience_id": "audience_123"
}' --json
```

## Example response

The static output schema lacks the details for a reliable example. Use `deepline describe meta_audiences_get_audience_status --json` for the complete live contract.

## Input reference

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.ad_account_id` | `string` | No | — | Meta ad account ID. Deepline prefixes it with act\_ when needed. Optional: defaults to the workspace default account, or the sole enabled account when only one exists. Minimum length: 1. |
| `payload.audience_id` | `string` | Yes | — | Minimum length: 1. |

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

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "properties": {
      "ad_account_id": {
        "type": "string",
        "description": "Meta ad account ID. Deepline prefixes it with act_ when needed. Optional: defaults to the workspace default account, or the sole enabled account when only one exists.",
        "minLength": 1
      },
      "audience_id": {
        "type": "string",
        "minLength": 1
      }
    },
    "required": [
      "audience_id"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | — |
| `result.data.audience` | `record` | Yes | — | — |
| `result.data.ad_account_id` | `string` | No | — | Ad account (act\_ form) this call resolved to: the explicit ad\_account\_id, else the workspace default, else the sole enabled account. |
| `result.data.ad_account_source` | `"explicit" \| "default" \| "sole"` | No | — | Allowed: `explicit`, `default`, `sole`. |
| `result.meta` | `record` | No | — | — |

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

  ### Output JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "properties": {
      "data": {
        "type": "object",
        "properties": {
          "audience": {
            "type": "object",
            "additionalProperties": {}
          },
          "ad_account_id": {
            "type": "string",
            "description": "Ad account (act_ form) this call resolved to: the explicit ad_account_id, else the workspace default, else the sole enabled account."
          },
          "ad_account_source": {
            "type": "string",
            "enum": [
              "explicit",
              "default",
              "sole"
            ]
          }
        },
        "required": [
          "audience"
        ],
        "additionalProperties": false
      },
      "meta": {
        "type": "object",
        "additionalProperties": {}
      }
    },
    "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

* [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.