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

> Get a change. Context.dev Contextdev Get Change reference includes SDK V2 and CLI requests, input constraints, response fields, and Deepline cost.

Get a change.

<Info>
  Tool ID: `contextdev_get_change`
</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(
  'contextdev_get_change',
  {
    "change_id": "change_123"
  },
);

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

### CLI

```bash theme={null}
deepline tools execute contextdev_get_change --input '{
  "change_id": "change_123"
}' --json
```

## Example response

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

```json theme={null}
{
  "data": {
    "mode": "web",
    "id": "id_123",
    "monitor_id": "monitor_123",
    "run_id": "run_123",
    "target_type": "page",
    "change_detection_type": "exact",
    "title": "VP of Engineering",
    "summary": "example",
    "detected_at": "2026-01-15T12:00:00Z",
    "url": "https://example.com/resource",
    "tags": [
      "example"
    ]
  }
}
```

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

## Input reference

Fetch full change details, including diffs, URL changes, evidence, confidence, and importance.

| Name                | Type     | Required | Default | Details |
| ------------------- | -------- | -------- | ------- | ------- |
| `payload.change_id` | `string` | Yes      | —       | —       |

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

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Fetch full change details, including diffs, URL changes, evidence, confidence, and importance.",
    "properties": {
      "change_id": {
        "type": "string"
      }
    },
    "required": [
      "change_id"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

| Name                                | Type                               | Required | Default | Details                                  |
| ----------------------------------- | ---------------------------------- | -------- | ------- | ---------------------------------------- |
| `result.data`                       | `object`                           | Yes      | —       | —                                        |
| `result.data.mode`                  | `"web"`                            | Yes      | —       | Allowed: `web`.                          |
| `result.data.id`                    | `string`                           | Yes      | —       | —                                        |
| `result.data.monitor_id`            | `string`                           | Yes      | —       | —                                        |
| `result.data.run_id`                | `string`                           | Yes      | —       | —                                        |
| `result.data.target_type`           | `"page" \| "sitemap" \| "extract"` | Yes      | —       | Allowed: `page`, `sitemap`, `extract`.   |
| `result.data.change_detection_type` | `"exact" \| "semantic"`            | Yes      | —       | Allowed: `exact`, `semantic`.            |
| `result.data.title`                 | `string`                           | Yes      | —       | —                                        |
| `result.data.summary`               | `string`                           | Yes      | —       | —                                        |
| `result.data.detected_at`           | `string`                           | Yes      | —       | Format: `date-time`.                     |
| `result.data.url`                   | `string`                           | Yes      | —       | Format: `uri`.                           |
| `result.data.importance`            | `"low" \| "medium" \| "high"`      | No       | —       | Allowed: `low`, `medium`, `high`.        |
| `result.data.confidence`            | `number`                           | No       | —       | Minimum: 0. Maximum: 1.                  |
| `result.data.diff`                  | `string`                           | No       | —       | —                                        |
| `result.data.before_text_excerpt`   | `string`                           | No       | —       | —                                        |
| `result.data.after_text_excerpt`    | `string`                           | No       | —       | —                                        |
| `result.data.added_urls`            | `array`                            | No       | —       | —                                        |
| `result.data.removed_urls`          | `array`                            | No       | —       | —                                        |
| `result.data.added_url_count`       | `integer`                          | No       | —       | Minimum: 0.                              |
| `result.data.removed_url_count`     | `integer`                          | No       | —       | Minimum: 0.                              |
| `result.data.matched_urls`          | `array`                            | No       | —       | —                                        |
| `result.data.matched_url_count`     | `integer`                          | No       | —       | Minimum: 0.                              |
| `result.data.evidence`              | `array`                            | No       | —       | —                                        |
| `result.data.evidence[].url`        | `string`                           | No       | —       | Format: `uri`.                           |
| `result.data.evidence[].before`     | `string`                           | Yes      | —       | —                                        |
| `result.data.evidence[].after`      | `string`                           | Yes      | —       | —                                        |
| `result.data.tags`                  | `array`                            | Yes      | —       | Maximum items: 20. Items must be unique. |
| `result.meta`                       | `object`                           | No       | —       | —                                        |

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

  ### Output JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "data": {
        "type": "object",
        "properties": {
          "mode": {
            "type": "string",
            "enum": [
              "web"
            ]
          },
          "id": {
            "type": "string"
          },
          "monitor_id": {
            "type": "string"
          },
          "run_id": {
            "type": "string"
          },
          "target_type": {
            "type": "string",
            "enum": [
              "page",
              "sitemap",
              "extract"
            ]
          },
          "change_detection_type": {
            "type": "string",
            "enum": [
              "exact",
              "semantic"
            ]
          },
          "title": {
            "type": "string"
          },
          "summary": {
            "type": "string"
          },
          "detected_at": {
            "type": "string",
            "format": "date-time"
          },
          "url": {
            "type": "string",
            "format": "uri"
          },
          "importance": {
            "type": "string",
            "enum": [
              "low",
              "medium",
              "high"
            ]
          },
          "confidence": {
            "type": "number",
            "minimum": 0,
            "maximum": 1
          },
          "diff": {
            "type": "string"
          },
          "before_text_excerpt": {
            "type": "string"
          },
          "after_text_excerpt": {
            "type": "string"
          },
          "added_urls": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uri"
            }
          },
          "removed_urls": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uri"
            }
          },
          "added_url_count": {
            "type": "integer",
            "minimum": 0
          },
          "removed_url_count": {
            "type": "integer",
            "minimum": 0
          },
          "matched_urls": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uri"
            }
          },
          "matched_url_count": {
            "type": "integer",
            "minimum": 0
          },
          "evidence": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "url": {
                  "type": "string",
                  "format": "uri"
                },
                "before": {
                  "type": "string"
                },
                "after": {
                  "type": "string"
                }
              },
              "required": [
                "before",
                "after"
              ],
              "additionalProperties": false
            }
          },
          "tags": {
            "type": "array",
            "maxItems": 20,
            "uniqueItems": true,
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 50
            }
          }
        },
        "required": [
          "mode",
          "id",
          "monitor_id",
          "run_id",
          "target_type",
          "change_detection_type",
          "title",
          "summary",
          "detected_at",
          "url",
          "tags"
        ],
        "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

* [Context.dev provider guide](/docs/providers/contextdev/guide)
* [SDK V2 quickstart](/docs/sdk-v2/quickstart)
* [SDK reference](/docs/sdk-v2/sdk-reference)
* [Run tools across a CSV](/docs/sdk-v2/batch-csv)
