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

# Resend: Domains Get

> Retrieve a single domain. Includes SDK V2 and CLI requests, input constraints, response fields, and Deepline credit cost.

Retrieve a single domain.

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

## 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(
  'resend_domains_get',
  {
    "domain_id": "example.com"
  },
);

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

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline run resend_domains_get --input '{
  "domain_id": "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": {
    "object": "example",
    "id": "id_123",
    "name": "Example"
  }
}
```

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

## Input reference

Retrieve a single domain

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.domain_id` | `string` | Yes | — | The ID of the domain. |

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

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Retrieve a single domain",
    "properties": {
      "domain_id": {
        "type": "string",
        "description": "The ID of the domain."
      }
    },
    "required": [
      "domain_id"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Provider response payload. |
| `result.data.object` | `string` | No | — | The type of object. |
| `result.data.id` | `string` | No | — | The ID of the domain. |
| `result.data.name` | `string` | No | — | The name of the domain. |
| `result.data.status` | `"pending" \| "verified" \| "failed" \| "not_started" \| "partially_verified" \| "partially_failed"` | No | — | The status of the domain. Allowed: `pending`, `verified`, `failed`, `not_started`, `partially_verified`, `partially_failed`. |
| `result.data.created_at` | `string` | No | — | The date and time the domain was created. |
| `result.data.region` | `string` | No | — | The region where the domain is hosted. |
| `result.data.open_tracking` | `boolean` | No | — | Whether open tracking is enabled for this domain. |
| `result.data.click_tracking` | `boolean` | No | — | Whether click tracking is enabled for this domain. |
| `result.data.tracking_subdomain` | `string` | No | — | The subdomain used for click and open tracking. |
| `result.data.capabilities` | `object` | No | — | Configure the domain capabilities for sending and receiving emails. At least one capability must be enabled. |
| `result.data.capabilities.sending` | `"enabled" \| "disabled"` | No | — | Enable or disable sending emails from this domain. Allowed: `enabled`, `disabled`. |
| `result.data.capabilities.receiving` | `"enabled" \| "disabled"` | No | — | Enable or disable receiving emails to this domain. Allowed: `enabled`, `disabled`. |
| `result.data.records` | `array` | No | — | — |
| `result.data.records[].record` | `"SPF" \| "DKIM" \| "Receiving" \| "Tracking" \| "TrackingCAA"` | No | — | The type of record (SPF for sending, DKIM for sending, Receiving for inbound emails, Tracking & TrackingCAA for click and open tracking). Allowed: `SPF`, `DKIM`, `Receiving`, `Tracking`, `TrackingCAA`. |
| `result.data.records[].name` | `string` | No | — | The name of the DNS record. |
| `result.data.records[].type` | `"MX" \| "TXT" \| "CNAME" \| "CAA"` | No | — | The DNS record type. Allowed: `MX`, `TXT`, `CNAME`, `CAA`. |
| `result.data.records[].ttl` | `string` | No | — | The time to live for the record. |
| `result.data.records[].status` | `"pending" \| "verified" \| "failed" \| "temporary_failure" \| "not_started"` | No | — | The status of the record. Allowed: `pending`, `verified`, `failed`, `temporary_failure`, `not_started`. |
| `result.data.records[].value` | `string` | No | — | The value of the record. |
| `result.data.records[].priority` | `integer` | No | — | The priority of the record (only applicable for MX records). |
| `result.meta` | `object` | No | — | Additional response metadata (status, paging). |

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

  ### Output JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Standard tool result payload.",
    "properties": {
      "data": {
        "type": "object",
        "description": "Provider response payload.",
        "properties": {
          "object": {
            "type": "string",
            "description": "The type of object."
          },
          "id": {
            "type": "string",
            "description": "The ID of the domain."
          },
          "name": {
            "type": "string",
            "description": "The name of the domain."
          },
          "status": {
            "type": "string",
            "description": "The status of the domain.",
            "enum": [
              "pending",
              "verified",
              "failed",
              "not_started",
              "partially_verified",
              "partially_failed"
            ]
          },
          "created_at": {
            "type": "string",
            "description": "The date and time the domain was created."
          },
          "region": {
            "type": "string",
            "description": "The region where the domain is hosted."
          },
          "open_tracking": {
            "type": "boolean",
            "description": "Whether open tracking is enabled for this domain."
          },
          "click_tracking": {
            "type": "boolean",
            "description": "Whether click tracking is enabled for this domain."
          },
          "tracking_subdomain": {
            "type": "string",
            "description": "The subdomain used for click and open tracking."
          },
          "capabilities": {
            "type": "object",
            "description": "Configure the domain capabilities for sending and receiving emails. At least one capability must be enabled.",
            "properties": {
              "sending": {
                "type": "string",
                "description": "Enable or disable sending emails from this domain.",
                "enum": [
                  "enabled",
                  "disabled"
                ]
              },
              "receiving": {
                "type": "string",
                "description": "Enable or disable receiving emails to this domain.",
                "enum": [
                  "enabled",
                  "disabled"
                ]
              }
            },
            "additionalProperties": false
          },
          "records": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "record": {
                  "type": "string",
                  "description": "The type of record (SPF for sending, DKIM for sending, Receiving for inbound emails, Tracking & TrackingCAA for click and open tracking).",
                  "enum": [
                    "SPF",
                    "DKIM",
                    "Receiving",
                    "Tracking",
                    "TrackingCAA"
                  ]
                },
                "name": {
                  "type": "string",
                  "description": "The name of the DNS record."
                },
                "type": {
                  "type": "string",
                  "description": "The DNS record type.",
                  "enum": [
                    "MX",
                    "TXT",
                    "CNAME",
                    "CAA"
                  ]
                },
                "ttl": {
                  "type": "string",
                  "description": "The time to live for the record."
                },
                "status": {
                  "type": "string",
                  "description": "The status of the record.",
                  "enum": [
                    "pending",
                    "verified",
                    "failed",
                    "temporary_failure",
                    "not_started"
                  ]
                },
                "value": {
                  "type": "string",
                  "description": "The value of the record."
                },
                "priority": {
                  "type": "integer",
                  "description": "The priority of the record (only applicable for MX records)."
                }
              },
              "additionalProperties": false
            }
          }
        },
        "additionalProperties": false
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "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.