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

# AI Ark: Create Company List

> Create a temporary company exclusion list from Deepline company references for a later Company Search. Includes SDK V2 examples, schemas, and cost.

Create a temporary company exclusion list from Deepline company references for a later Company Search.

<Info>
  Tool ID: `ai_ark_create_company_list`
</Info>

## Run this action

Use the TypeScript SDK for a single call. Put `ctx.tools.execute(...)` inside a Play when the call should be durable, scheduled, or run across a CSV.

```ts theme={null}
import { Deepline } from 'deepline';

const deepline = await Deepline.connect();
const result = await deepline.tools.execute(
  'ai_ark_create_company_list',
  {
    "company_ref_ids": [
      "company_ref_123"
    ],
    "idempotency_key": "example"
  },
);

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

### CLI

```bash theme={null}
deepline tools execute ai_ark_create_company_list --input '{
  "company_ref_ids": [
    "company_ref_123"
  ],
  "idempotency_key": "example"
}' --json
```

## Example response

The SDK exposes this shape at `result.toolResponse.raw`. Values below are representative.

```json theme={null}
{
  "data": {
    "company_list_ref_id": "company_list_ref_123",
    "expires_at": "2026-01-15T12:00:00Z"
  }
}
```

Use `deepline tools get ai_ark_create_company_list --json` for the latest machine-readable contract.

## Input reference

Create one temporary AI Ark company exclusion list using only Deepline company references.

| Name                      | Type     | Required | Default | Details                                                                                                  |
| ------------------------- | -------- | -------- | ------- | -------------------------------------------------------------------------------------------------------- |
| `payload.company_ref_ids` | `array`  | Yes      | —       | Deepline company references returned from AI Ark Company Search. Minimum items: 1. Maximum items: 10000. |
| `payload.idempotency_key` | `string` | Yes      | —       | Caller-generated stable key. Reuse it only to retry the same company\_ref\_ids set. Minimum length: 1.   |

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

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Create one temporary AI Ark company exclusion list using only Deepline company references.",
    "properties": {
      "company_ref_ids": {
        "type": "array",
        "description": "Deepline company references returned from AI Ark Company Search.",
        "minItems": 1,
        "maxItems": 10000,
        "items": {
          "type": "string"
        }
      },
      "idempotency_key": {
        "type": "string",
        "description": "Caller-generated stable key. Reuse it only to retry the same company_ref_ids set.",
        "minLength": 1
      }
    },
    "required": [
      "company_ref_ids",
      "idempotency_key"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name                              | Type     | Required | Default | Details                                                                                                                               |
| --------------------------------- | -------- | -------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------- |
| `result.data`                     | `object` | Yes      | —       | —                                                                                                                                     |
| `result.data.company_list_ref_id` | `string` | Yes      | —       | Deepline reference for this temporary company exclusion list. Pass it to company\_exclusion\_list\_ref\_ids, never an AI Ark list ID. |
| `result.data.expires_at`          | `string` | Yes      | —       | When AI Ark will expire the underlying list. Format: `date-time`.                                                                     |

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

  ### Output JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Standard tool result payload.",
    "properties": {
      "data": {
        "type": "object",
        "properties": {
          "company_list_ref_id": {
            "type": "string",
            "description": "Deepline reference for this temporary company exclusion list. Pass it to company_exclusion_list_ref_ids, never an AI Ark list ID."
          },
          "expires_at": {
            "type": "string",
            "description": "When AI Ark will expire the underlying list.",
            "format": "date-time"
          }
        },
        "required": [
          "company_list_ref_id",
          "expires_at"
        ],
        "additionalProperties": false
      }
    },
    "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](/docs/sdk-v2/quickstart)
* [SDK reference](/docs/sdk-v2/sdk-reference)
* [Run tools across a CSV](/docs/sdk-v2/batch-csv)
