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

> List your Context.dev WebDB collections. Includes SDK V2 guidance, input constraints, response fields, and Deepline credit cost.

List your Context.dev WebDB collections.

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

## 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_collections',
  {
    "limit": 100,
    "cursor": "cursor_123",
    "tags": [
      "example"
    ]
  },
);

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

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute contextdev_list_webdb_collections --input '{
  "limit": 100,
  "cursor": "cursor_123",
  "tags": [
    "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": {
    "data": [
      {
        "id": "id_123",
        "name": "Example",
        "schema": {},
        "eligibility": {
          "prefilter": {}
        },
        "targets": [
          {}
        ],
        "sync": {
          "every": "example"
        },
        "change_tracking": {
          "enabled": true
        },
        "budgets": {},
        "on_disappear": "soft_delete",
        "stale_after": 123,
        "status": "active",
        "next_sync_at": "2026-01-15T12:00:00Z",
        "last_run_at": "2026-01-15T12:00:00Z",
        "last_error": {
          "code": "example",
          "message": "Example message"
        },
        "row_count": 123,
        "sync_count": 123,
        "created_at": "2026-01-15T12:00:00Z",
        "updated_at": "2026-01-15T12:00:00Z"
      }
    ],
    "has_more": true,
    "next_cursor": "cursor_123"
  }
}
```

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

## Input reference

Returns your WebDB collections.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `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.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 your WebDB collections.",
    "properties": {
      "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."
      },
      "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": [],
    "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[].name` | `string` | Yes | — | — |
| `result.data.data[].description` | `string \| null` | No | — | — |
| `result.data.data[].schema` | `record` | Yes | — | — |
| `result.data.data[].eligibility` | `object \| null` | Yes | — | — |
| `result.data.data[].eligibility.prefilter` | `object` | No | — | — |
| `result.data.data[].eligibility.prefilter.url_match` | `array` | No | — | Maximum items: 50. |
| `result.data.data[].eligibility.prefilter.must_contain_any` | `array` | No | — | Maximum items: 50. |
| `result.data.data[].eligibility.prefilter.must_not_contain` | `array` | No | — | Maximum items: 50. |
| `result.data.data[].eligibility.semantic` | `object` | No | — | — |
| `result.data.data[].eligibility.semantic.condition` | `string` | Yes | — | Minimum length: 1. Maximum length: 4000. |
| `result.data.data[].eligibility.semantic.min_score` | `number` | No | — | Minimum: 0. Maximum: 1. |
| `result.data.data[].targets` | `array` | Yes | — | — |
| `result.data.data[].sync` | `object` | Yes | — | — |
| `result.data.data[].sync.every` | `string` | Yes | — | — |
| `result.data.data[].sync.mode` | `"incremental" \| "full"` | No | — | Allowed: `incremental`, `full`. |
| `result.data.data[].change_tracking` | `object` | Yes | — | — |
| `result.data.data[].change_tracking.enabled` | `boolean` | Yes | — | — |
| `result.data.data[].change_tracking.granularity` | `"field"` | No | — | Allowed: `field`. |
| `result.data.data[].change_tracking.retention` | `string` | No | — | Pattern: `^(\d+)(s\|m\|h\|d)$`. |
| `result.data.data[].budgets` | `object \| null` | Yes | — | — |
| `result.data.data[].on_disappear` | `"soft_delete" \| "hard_delete" \| "keep"` | Yes | — | Allowed: `soft_delete`, `hard_delete`, `keep`. |
| `result.data.data[].stale_after` | `integer` | Yes | — | — |
| `result.data.data[].status` | `"active" \| "paused" \| "failed"` | Yes | — | Allowed: `active`, `paused`, `failed`. |
| `result.data.data[].next_sync_at` | `string \| null` | Yes | — | Format: `date-time`. |
| `result.data.data[].last_run_at` | `string \| null` | Yes | — | Format: `date-time`. |
| `result.data.data[].last_error` | `object \| null` | Yes | — | — |
| `result.data.data[].last_error.code` | `string` | Yes | — | — |
| `result.data.data[].last_error.message` | `string` | Yes | — | — |
| `result.data.data[].row_count` | `integer` | Yes | — | — |
| `result.data.data[].sync_count` | `integer` | Yes | — | — |
| `result.data.data[].created_at` | `string` | Yes | — | Format: `date-time`. |
| `result.data.data[].updated_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"
                },
                "name": {
                  "type": "string"
                },
                "description": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                },
                "eligibility": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "prefilter": {
                      "type": "object",
                      "properties": {
                        "url_match": {
                          "type": "array",
                          "maxItems": 50,
                          "items": {
                            "type": "string"
                          }
                        },
                        "must_contain_any": {
                          "type": "array",
                          "maxItems": 50,
                          "items": {
                            "type": "string"
                          }
                        },
                        "must_not_contain": {
                          "type": "array",
                          "maxItems": 50,
                          "items": {
                            "type": "string"
                          }
                        }
                      },
                      "additionalProperties": false
                    },
                    "semantic": {
                      "type": "object",
                      "properties": {
                        "condition": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 4000
                        },
                        "min_score": {
                          "type": "number",
                          "minimum": 0,
                          "maximum": 1
                        }
                      },
                      "required": [
                        "condition"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "additionalProperties": false
                },
                "targets": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                },
                "sync": {
                  "type": "object",
                  "properties": {
                    "every": {
                      "type": "string"
                    },
                    "mode": {
                      "type": "string",
                      "enum": [
                        "incremental",
                        "full"
                      ]
                    }
                  },
                  "required": [
                    "every"
                  ],
                  "additionalProperties": false
                },
                "change_tracking": {
                  "type": "object",
                  "properties": {
                    "enabled": {
                      "type": "boolean"
                    },
                    "granularity": {
                      "type": "string",
                      "enum": [
                        "field"
                      ]
                    },
                    "retention": {
                      "type": "string",
                      "pattern": "^(\\d+)(s|m|h|d)$"
                    }
                  },
                  "required": [
                    "enabled"
                  ],
                  "additionalProperties": false
                },
                "budgets": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {},
                  "additionalProperties": false
                },
                "on_disappear": {
                  "type": "string",
                  "enum": [
                    "soft_delete",
                    "hard_delete",
                    "keep"
                  ]
                },
                "stale_after": {
                  "type": "integer"
                },
                "status": {
                  "type": "string",
                  "enum": [
                    "active",
                    "paused",
                    "failed"
                  ]
                },
                "next_sync_at": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time"
                },
                "last_run_at": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time"
                },
                "last_error": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "code": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "code",
                    "message"
                  ],
                  "additionalProperties": false
                },
                "row_count": {
                  "type": "integer"
                },
                "sync_count": {
                  "type": "integer"
                },
                "created_at": {
                  "type": "string",
                  "format": "date-time"
                },
                "updated_at": {
                  "type": "string",
                  "format": "date-time"
                }
              },
              "required": [
                "id",
                "name",
                "schema",
                "eligibility",
                "targets",
                "sync",
                "change_tracking",
                "budgets",
                "on_disappear",
                "stale_after",
                "status",
                "next_sync_at",
                "last_run_at",
                "last_error",
                "row_count",
                "sync_count",
                "created_at",
                "updated_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.