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

> Build a temporary list of companies to exclude from a later company search, from companies you already have. Includes SDK V2 examples, schemas, and cost.

Build a temporary list of companies to exclude from a later company search, from companies you already have.

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

## 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(
  'ai_ark_create_company_list',
  {
    "company_ref_ids": [
      "company_ref_123"
    ],
    "idempotency_key": "example"
  },
);

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

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute ai_ark_create_company_list --input '{
  "company_ref_ids": [
    "company_ref_123"
  ],
  "idempotency_key": "example"
}' --json
```

## 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": {
    "company_list_ref_id": "company_list_ref_123",
    "expires_at": "2026-01-15T12:00:00Z"
  }
}
```

Use `deepline describe 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={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "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={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "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](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.