> ## 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 List Webdb Collection Changes

> List the row changes in a Context.dev WebDB collection, newest first. Includes SDK V2 guidance, input constraints, response fields, and Deepline credit cost.

List the row changes in a Context.dev WebDB collection, newest first.

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

## 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_list_webdb_collection_changes',
  {
    "collection_id": "collection_123"
  },
);

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

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute contextdev_list_webdb_collection_changes --input '{
  "collection_id": "collection_123"
}' --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": {
    "data": [
      {
        "id": "id_123",
        "row_id": "row_123",
        "collection_id": "collection_123",
        "run_id": "run_123",
        "event": "row.created",
        "version": 123,
        "fields": {},
        "url": "https://example.com",
        "at": "2026-01-15T12:00:00Z"
      }
    ],
    "has_more": true,
    "next_cursor": "cursor_123"
  }
}
```

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

## Input reference

Returns row changes for a collection, newest first.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.collection_id` | `string` | Yes | — | Collection ID. |
| `payload.limit` | `integer` | No | — | Maximum items to return. Defaults to 25. Minimum: 1. Maximum: 100. |
| `payload.cursor` | `string` | No | — | Pagination cursor from a previous response. |
| `payload.since` | `string` | No | — | Return entries at or after this time. |
| `payload.tags` | `array` | No | — | Optional comma-separated caller-defined tags for tracking this request. Tags are recorded on the request's usage log and can be used to filter usage on the dashboard usage page. Up to 20 tags, each 1-50 characters. Maximum items: 20. |

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

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Returns row changes for a collection, newest first.",
    "properties": {
      "collection_id": {
        "type": "string",
        "description": "Collection ID."
      },
      "limit": {
        "type": "integer",
        "description": "Maximum items to return. Defaults to 25.",
        "minimum": 1,
        "maximum": 100
      },
      "cursor": {
        "type": "string",
        "description": "Pagination cursor from a previous response."
      },
      "since": {
        "type": "string",
        "description": "Return entries at or after this time."
      },
      "tags": {
        "type": "array",
        "description": "Optional comma-separated caller-defined tags for tracking this request. Tags are recorded on the request's usage log and can be used to filter usage on the dashboard usage page. Up to 20 tags, each 1-50 characters.",
        "maxItems": 20,
        "items": {
          "type": "string",
          "minLength": 1,
          "maxLength": 50
        }
      }
    },
    "required": [
      "collection_id"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | — |
| `result.data.data` | `array` | Yes | — | — |
| `result.data.data[].id` | `string` | Yes | — | — |
| `result.data.data[].row_id` | `string` | Yes | — | — |
| `result.data.data[].collection_id` | `string` | Yes | — | — |
| `result.data.data[].run_id` | `string` | Yes | — | — |
| `result.data.data[].event` | `"row.created" \| "row.updated" \| "row.removed" \| "row.error" \| "row.cap_consumed"` | Yes | — | Allowed: `row.created`, `row.updated`, `row.removed`, `row.error`, `row.cap_consumed`. |
| `result.data.data[].version` | `integer` | Yes | — | — |
| `result.data.data[].fields` | `object \| null` | Yes | — | — |
| `result.data.data[].url` | `string` | Yes | — | — |
| `result.data.data[].at` | `string` | Yes | — | Format: `date-time`. |
| `result.data.has_more` | `boolean` | Yes | — | — |
| `result.data.next_cursor` | `string \| null` | Yes | — | — |
| `result.data.key_metadata` | `object` | No | — | — |
| `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": {
          "data": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "row_id": {
                  "type": "string"
                },
                "collection_id": {
                  "type": "string"
                },
                "run_id": {
                  "type": "string"
                },
                "event": {
                  "type": "string",
                  "enum": [
                    "row.created",
                    "row.updated",
                    "row.removed",
                    "row.error",
                    "row.cap_consumed"
                  ]
                },
                "version": {
                  "type": "integer"
                },
                "fields": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "additionalProperties": {
                    "type": "object",
                    "properties": {
                      "from": {},
                      "to": {}
                    },
                    "required": [
                      "from",
                      "to"
                    ],
                    "additionalProperties": false
                  }
                },
                "url": {
                  "type": "string"
                },
                "at": {
                  "type": "string",
                  "format": "date-time"
                }
              },
              "required": [
                "id",
                "row_id",
                "collection_id",
                "run_id",
                "event",
                "version",
                "fields",
                "url",
                "at"
              ],
              "additionalProperties": false
            }
          },
          "has_more": {
            "type": "boolean"
          },
          "next_cursor": {
            "type": [
              "string",
              "null"
            ]
          },
          "key_metadata": {
            "type": "object",
            "properties": {},
            "required": [],
            "additionalProperties": false
          }
        },
        "required": [
          "data",
          "has_more",
          "next_cursor"
        ],
        "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](https://deepline.com/docs/providers/contextdev/guide.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.