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

# Context.dev: Contextdev Post Utility Prefetch

> Warm up brand data or a style guide for a domain or email so a later lookup returns faster. Includes inputs, outputs, SDK V2 examples, and Deepline cost.

Warm up brand data or a style guide for a domain or email so a later lookup returns faster.

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

## 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(
  'contextdev_post_utility_prefetch',
  {
    "type": "brand",
    "identifier": {
      "domain": "example.com"
    }
  },
);

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

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline run contextdev_post_utility_prefetch --input '{
  "type": "brand",
  "identifier": {
    "domain": "example.com"
  }
}'
```

## 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": {
    "request_id": "123e4567-e89b-42d3-a456-426614174000"
  }
}
```

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

## Input reference

Queue brand or styleguide data so a later lookup can return sooner.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.type` | `"brand" \| "styleguide"` | Yes | — | Data to prefetch. Allowed: `brand`, `styleguide`. |
| `payload.identifier` | `object` | Yes | — | Identifier of the target to prefetch. Provide exactly one of domain or email. |
| `payload.timeoutOpts` | `object` | No | — | Request deadline and what to return when it passes. |
| `payload.tags` | `array` | No | — | Labels for filtering usage in the dashboard. Maximum items: 20. |
| `payload.timeoutMS` | `integer` | No | — | Deprecated: use timeoutOpts.milliseconds. Request deadline in milliseconds. sent as timeoutOpts with the "fail" behavior. Minimum: 1000. Maximum: 300000. |

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

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Queue brand or styleguide data so a later lookup can return sooner.",
    "properties": {
      "type": {
        "type": "string",
        "description": "Data to prefetch.",
        "enum": [
          "brand",
          "styleguide"
        ]
      },
      "identifier": {
        "description": "Identifier of the target to prefetch. Provide exactly one of domain or email.",
        "anyOf": [
          {
            "type": "object",
            "description": "Prefetch by domain.",
            "properties": {
              "domain": {
                "type": "string",
                "description": "Domain, e.g. `stripe.com`.",
                "minLength": 3
              }
            },
            "required": [
              "domain"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "description": "Prefetch by email. The domain will be extracted and validated.",
            "properties": {
              "email": {
                "type": "string",
                "description": "Email address to prefetch data for. The domain will be extracted from the email. Free email providers (gmail.com, yahoo.com, etc.) and disposable email addresses are not allowed.",
                "minLength": 1,
                "format": "email"
              }
            },
            "required": [
              "email"
            ],
            "additionalProperties": false
          }
        ]
      },
      "timeoutOpts": {
        "type": "object",
        "description": "Request deadline and what to return when it passes.",
        "properties": {
          "milliseconds": {
            "type": "integer",
            "description": "Deadline in milliseconds.",
            "minimum": 1000,
            "maximum": 300000
          },
          "behavior": {
            "type": "string",
            "description": "Only \"fail\" is supported: return 408 at the deadline.",
            "default": "fail",
            "enum": [
              "fail"
            ]
          }
        },
        "required": [
          "milliseconds"
        ],
        "additionalProperties": false
      },
      "tags": {
        "type": "array",
        "description": "Labels for filtering usage in the dashboard.",
        "maxItems": 20,
        "items": {
          "type": "string",
          "minLength": 1,
          "maxLength": 50
        }
      },
      "timeoutMS": {
        "type": "integer",
        "description": "Deprecated: use timeoutOpts.milliseconds. Request deadline in milliseconds; sent as timeoutOpts with the \"fail\" behavior.",
        "minimum": 1000,
        "maximum": 300000
      }
    },
    "required": [
      "type",
      "identifier"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | — |
| `result.data.status` | `string` | No | — | — |
| `result.data.message` | `string` | No | — | — |
| `result.data.type` | `"brand" \| "styleguide"` | No | — | Allowed: `brand`, `styleguide`. |
| `result.data.domain` | `string` | No | — | — |
| `result.data.key_metadata` | `object` | No | — | — |
| `result.data.request_id` | `string` | Yes | — | Format: `uuid`. |
| `result.meta` | `object` | 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": {
          "status": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "brand",
              "styleguide"
            ]
          },
          "domain": {
            "type": "string"
          },
          "key_metadata": {
            "type": "object",
            "properties": {},
            "required": [],
            "additionalProperties": false
          },
          "request_id": {
            "type": "string",
            "format": "uuid"
          }
        },
        "required": [
          "request_id"
        ],
        "additionalProperties": false
      },
      "meta": {
        "type": "object",
        "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.