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

# Sybill: Get Account

> Get one Sybill account by its CRM accountId with contacts, synced CRM fields, owner and latest deal. Includes SDK V2 examples, schemas, and cost.

Get one Sybill account by its CRM accountId with contacts, synced CRM fields, owner and latest deal.

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

## 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(
  'sybill_get_account',
  {
    "accountId": "123456789"
  },
);

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

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline run sybill_get_account --input '{
  "accountId": "123456789"
}'
```

## 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": {
    "accountId": "123456789"
  }
}
```

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

## Input reference

Return the available details for one CRM account. Includes contacts and synced CRM fields when present. Requires the **Export** permission (`read` scope).

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

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

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Return the available details for one CRM account. Includes contacts and synced CRM fields when present. Requires the **Export** permission (`read` scope).",
    "properties": {
      "accountId": {
        "type": "string"
      }
    },
    "required": [
      "accountId"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Provider response payload. |
| `result.data.accountId` | `string` | Yes | — | — |
| `result.data.name` | `string \| null` | No | — | — |
| `result.data.website` | `string \| null` | No | — | — |
| `result.data.owner` | `object \| null` | No | — | — |
| `result.data.owner.name` | `string \| null` | No | — | — |
| `result.data.owner.email` | `string \| null` | No | — | — |
| `result.data.createdDate` | `string \| null` | No | — | Format: `date-time`. |
| `result.data.lastActivityDate` | `string \| null` | No | — | Format: `date-time`. |
| `result.data.latestDeal` | `object \| null` | No | — | — |
| `result.data.latestDeal.dealId` | `string` | Yes | — | — |
| `result.data.latestDeal.name` | `string \| null` | No | — | — |
| `result.data.latestDeal.stage` | `string \| null` | No | — | — |
| `result.data.latestDeal.amount` | `number \| null` | No | — | — |
| `result.data.latestDeal.closeDate` | `string \| null` | No | — | Format: `date-time`. |
| `result.data.contacts` | `array` | No | — | — |
| `result.data.contacts[].name` | `string \| null` | No | — | — |
| `result.data.contacts[].email` | `string \| null` | No | — | — |
| `result.data.contacts[].title` | `string \| null` | No | — | — |
| `result.data.contacts[].phone` | `string \| null` | No | — | — |
| `result.data.syncedCrmFields` | `object \| null` | No | — | — |
| `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": {
          "accountId": {
            "type": "string"
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "website": {
            "type": [
              "string",
              "null"
            ]
          },
          "owner": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "name": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "email": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "additionalProperties": false
          },
          "createdDate": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "lastActivityDate": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "latestDeal": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "dealId": {
                "type": "string"
              },
              "name": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "stage": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "amount": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "closeDate": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              }
            },
            "required": [
              "dealId"
            ],
            "additionalProperties": false
          },
          "contacts": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "email": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "title": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "phone": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "additionalProperties": false
            }
          },
          "syncedCrmFields": {
            "type": [
              "object",
              "null"
            ],
            "additionalProperties": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                },
                {
                  "type": "number"
                },
                {
                  "type": "boolean"
                },
                {
                  "type": "array",
                  "items": {}
                },
                {
                  "type": "object",
                  "additionalProperties": true
                },
                {
                  "type": "null"
                }
              ]
            }
          }
        },
        "required": [
          "accountId"
        ],
        "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.