> ## 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: List Accounts

> Find CRM accounts in Sybill by name, website, owner, created date or last activity, with each account’s latest deal. Returns one cursor page.

Find CRM accounts in Sybill by name, website, owner, created date or last activity, with each account’s latest deal.

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

## 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_list_accounts',
  {
    "name": "Example",
    "website": "https://example.com",
    "owner": "example"
  },
);

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

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline run sybill_list_accounts --input '{
  "name": "Example",
  "website": "https://example.com",
  "owner": "example"
}'
```

## 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": {
    "accounts": [
      {
        "accountId": "123456789"
      }
    ],
    "pagination": {
      "nextCursor": "cursor_123",
      "hasMore": false
    }
  }
}
```

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

## Input reference

List CRM accounts available to the API key's organization. Requires the **Export** permission (`read` scope). Results use cursor-based pagination.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.name` | `string` | No | — | Filter by account name (case-insensitive partial match) |
| `payload.website` | `string` | No | — | Filter by website URL (case-insensitive partial match) |
| `payload.owner` | `string` | No | — | Filter by owner name or email (case-insensitive partial match) |
| `payload.createdBefore` | `string` | No | — | Upper bound for created date (ISO 8601, e.g. 2025-06-30T00:00:00Z) |
| `payload.createdAfter` | `string` | No | — | Lower bound for created date (ISO 8601) |
| `payload.lastActivityBefore` | `string` | No | — | Upper bound for last activity date (ISO 8601) |
| `payload.lastActivityAfter` | `string` | No | — | Lower bound for last activity date (ISO 8601) |
| `payload.limit` | `integer` | No | `20` | Maximum number of results per page (1-50) Minimum: 1. Maximum: 50. |
| `payload.cursor` | `string` | No | — | Opaque pagination cursor from a previous response |

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

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "List CRM accounts available to the API key's organization. Requires the **Export** permission (`read` scope). Results use cursor-based pagination.",
    "properties": {
      "name": {
        "type": [
          "string",
          "null"
        ],
        "description": "Filter by account name (case-insensitive partial match)"
      },
      "website": {
        "type": [
          "string",
          "null"
        ],
        "description": "Filter by website URL (case-insensitive partial match)"
      },
      "owner": {
        "type": [
          "string",
          "null"
        ],
        "description": "Filter by owner name or email (case-insensitive partial match)"
      },
      "createdBefore": {
        "type": [
          "string",
          "null"
        ],
        "description": "Upper bound for created date (ISO 8601, e.g. 2025-06-30T00:00:00Z)"
      },
      "createdAfter": {
        "type": [
          "string",
          "null"
        ],
        "description": "Lower bound for created date (ISO 8601)"
      },
      "lastActivityBefore": {
        "type": [
          "string",
          "null"
        ],
        "description": "Upper bound for last activity date (ISO 8601)"
      },
      "lastActivityAfter": {
        "type": [
          "string",
          "null"
        ],
        "description": "Lower bound for last activity date (ISO 8601)"
      },
      "limit": {
        "type": "integer",
        "description": "Maximum number of results per page (1-50)",
        "default": 20,
        "minimum": 1,
        "maximum": 50
      },
      "cursor": {
        "type": [
          "string",
          "null"
        ],
        "description": "Opaque pagination cursor from a previous response"
      }
    },
    "required": [],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Provider response payload. |
| `result.data.accounts` | `array` | Yes | — | — |
| `result.data.accounts[].accountId` | `string` | Yes | — | — |
| `result.data.accounts[].name` | `string \| null` | No | — | — |
| `result.data.accounts[].website` | `string \| null` | No | — | — |
| `result.data.accounts[].owner` | `object \| null` | No | — | — |
| `result.data.accounts[].owner.name` | `string \| null` | No | — | — |
| `result.data.accounts[].owner.email` | `string \| null` | No | — | — |
| `result.data.accounts[].createdDate` | `string \| null` | No | — | Format: `date-time`. |
| `result.data.accounts[].lastActivityDate` | `string \| null` | No | — | Format: `date-time`. |
| `result.data.accounts[].latestDeal` | `object \| null` | No | — | — |
| `result.data.accounts[].latestDeal.dealId` | `string` | Yes | — | — |
| `result.data.accounts[].latestDeal.name` | `string \| null` | No | — | — |
| `result.data.accounts[].latestDeal.stage` | `string \| null` | No | — | — |
| `result.data.accounts[].latestDeal.amount` | `number \| null` | No | — | — |
| `result.data.accounts[].latestDeal.closeDate` | `string \| null` | No | — | Format: `date-time`. |
| `result.data.pagination` | `object` | Yes | — | Cursor-based pagination metadata returned alongside list responses. All public-API list endpoints emit the same shape: pass `next_cursor` back as the `cursor` query parameter to fetch the next page. check `has_more` to know whether more pages exist. |
| `result.data.pagination.nextCursor` | `string \| null` | No | — | — |
| `result.data.pagination.hasMore` | `boolean` | No | `false` | — |
| `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": {
          "accounts": {
            "type": "array",
            "items": {
              "type": "object",
              "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
                }
              },
              "required": [
                "accountId"
              ],
              "additionalProperties": false
            }
          },
          "pagination": {
            "type": "object",
            "description": "Cursor-based pagination metadata returned alongside list responses. All public-API list endpoints emit the same shape: pass ``next_cursor`` back as the ``cursor`` query parameter to fetch the next page; check ``has_more`` to know whether more pages exist.",
            "properties": {
              "nextCursor": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "hasMore": {
                "type": "boolean",
                "default": false
              }
            },
            "additionalProperties": false
          }
        },
        "required": [
          "accounts",
          "pagination"
        ],
        "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.