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

> Get one Context.dev WebDB webhook's settings by webhook ID. Includes SDK V2 guidance, input constraints, response fields, and Deepline credit cost.

Get one Context.dev WebDB webhook's settings by webhook ID.

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

## 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_get_webdb_webhook',
  {
    "webhook_id": "webhook_123"
  },
);

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

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute contextdev_get_webdb_webhook --input '{
  "webhook_id": "webhook_123"
}' --json
```

## Example response

The static output schema lacks the details for a reliable example. Use `deepline describe contextdev_get_webdb_webhook --json` for the complete live contract.

## Input reference

Returns one WebDB webhook.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.webhook_id` | `string` | Yes | — | Webhook ID. |
| `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 one WebDB webhook.",
    "properties": {
      "webhook_id": {
        "type": "string",
        "description": "Webhook ID."
      },
      "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": [
      "webhook_id"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | — |
| `result.data.id` | `string` | Yes | — | — |
| `result.data.url` | `string` | Yes | — | Format: `uri`. |
| `result.data.events` | `array` | Yes | — | — |
| `result.data.collection_id` | `string \| null` | Yes | — | — |
| `result.data.on` | `object \| null` | Yes | — | — |
| `result.data.on.fields` | `array` | Yes | — | — |
| `result.data.delivery` | `"instant" \| "batch"` | Yes | — | Allowed: `instant`, `batch`. |
| `result.data.batch` | `object \| null` | Yes | — | — |
| `result.data.batch.max_size` | `integer` | No | — | Minimum: 1. Maximum: 500. |
| `result.data.batch.max_delay` | `string` | No | — | Pattern: `^(\d+)(s\|m\|h\|d)$`. |
| `result.data.status` | `"active" \| "disabled"` | Yes | — | Allowed: `active`, `disabled`. |
| `result.data.created_at` | `string` | Yes | — | Format: `date-time`. |
| `result.data.updated_at` | `string` | Yes | — | Format: `date-time`. |
| `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": {
          "id": {
            "type": "string"
          },
          "url": {
            "type": "string",
            "format": "uri"
          },
          "events": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "row.created",
                "row.updated",
                "row.removed",
                "row.error",
                "row.cap_consumed",
                "run.completed",
                "run.failed",
                "provider.capacity"
              ]
            }
          },
          "collection_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "on": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "fields": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            },
            "required": [
              "fields"
            ],
            "additionalProperties": false
          },
          "delivery": {
            "type": "string",
            "enum": [
              "instant",
              "batch"
            ]
          },
          "batch": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "max_size": {
                "type": "integer",
                "minimum": 1,
                "maximum": 500
              },
              "max_delay": {
                "type": "string",
                "pattern": "^(\\d+)(s|m|h|d)$"
              }
            },
            "additionalProperties": false
          },
          "status": {
            "type": "string",
            "enum": [
              "active",
              "disabled"
            ]
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "key_metadata": {
            "type": "object",
            "properties": {},
            "required": [],
            "additionalProperties": false
          }
        },
        "required": [
          "id",
          "url",
          "events",
          "collection_id",
          "on",
          "delivery",
          "batch",
          "status",
          "created_at",
          "updated_at"
        ],
        "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.