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

# Sumble Find Organizations: Inputs, Cost & CLI Example

> Find organizations. Requires the workspace's own Sumble API key. Sumble Sumble Find Organizations docs include request fields, response shape, pricing notes

## Run in Enrichment Spreadsheet

<Info>
  Use this function as a column step in `deepline enrich`.
</Info>

```bash theme={null}
deepline enrich --input leads.csv --output leads.enriched.csv --with 'result=sumble_find_organizations:{"filters":{}}' --json
```

<Tip>
  Map payload values to spreadsheet columns with `{{column_name}}` placeholders.
</Tip>

## Input Schema

| Name                             | Type                                                                                                                                                                                                                                              | Required | Default | Description                                                                              |
| -------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- | ------- | ---------------------------------------------------------------------------------------- |
| `payload.filters`                | `object`                                                                                                                                                                                                                                          | Yes      |         | Filters to apply to the people search. Can be either a Filters object or a Query object. |
| `payload.order_by_column`        | `"industry" \| "employee_count" \| "employee_count_int" \| "first_activity_time" \| "last_activity_time" \| "jobs_count" \| "teams_count" \| "people_count" \| "jobs_count_growth_6mo" \| "cloud_spend_estimate_millions_usd" \| "account_score"` | No       |         | Column to order by                                                                       |
| `payload.order_by_direction`     | `"ASC" \| "DESC"`                                                                                                                                                                                                                                 | No       |         | Direction to order by                                                                    |
| `payload.include_entity_details` | `boolean`                                                                                                                                                                                                                                         | No       | `false` | Whether to include entity-specific data (matching\_entities) in the response             |
| `payload.limit`                  | `integer`                                                                                                                                                                                                                                         | No       | `10`    | Maximum number of results to return                                                      |
| `payload.offset`                 | `integer`                                                                                                                                                                                                                                         | No       | `0`     | Number of results to skip                                                                |

### Allowed values

| Field                        | Allowed values                                                                                                                                                                                                              |
| ---------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `payload.order_by_column`    | `industry`, `employee_count`, `employee_count_int`, `first_activity_time`, `last_activity_time`, `jobs_count`, `teams_count`, `people_count`, `jobs_count_growth_6mo`, `cloud_spend_estimate_millions_usd`, `account_score` |
| `payload.order_by_direction` | `ASC`, `DESC`                                                                                                                                                                                                               |

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

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Find organizations",
    "properties": {
      "filters": {
        "description": "Filters to apply to the people search. Can be either a Filters object or a Query object.",
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "technologies": {
                "type": "array",
                "description": "Technologies to search for",
                "default": [],
                "items": {
                  "type": "string"
                }
              },
              "technology_categories": {
                "type": "array",
                "description": "Technology categories to search for",
                "default": [],
                "items": {
                  "type": "string"
                }
              },
              "since": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Only consider data since this date. Format: YYYY-MM-DD"
              }
            },
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "query": {
                "type": "string"
              }
            },
            "required": [
              "query"
            ],
            "additionalProperties": false
          }
        ]
      },
      "order_by_column": {
        "type": [
          "string",
          "null"
        ],
        "description": "Column to order by",
        "enum": [
          "industry",
          "employee_count",
          "employee_count_int",
          "first_activity_time",
          "last_activity_time",
          "jobs_count",
          "teams_count",
          "people_count",
          "jobs_count_growth_6mo",
          "cloud_spend_estimate_millions_usd",
          "account_score"
        ]
      },
      "order_by_direction": {
        "type": [
          "string",
          "null"
        ],
        "description": "Direction to order by",
        "enum": [
          "ASC",
          "DESC"
        ]
      },
      "include_entity_details": {
        "type": "boolean",
        "description": "Whether to include entity-specific data (matching_entities) in the response",
        "default": false
      },
      "limit": {
        "type": "integer",
        "description": "Maximum number of results to return",
        "default": 10,
        "minimum": 1,
        "maximum": 200
      },
      "offset": {
        "type": "integer",
        "description": "Number of results to skip",
        "default": 0,
        "minimum": 0,
        "maximum": 10000
      }
    },
    "required": [
      "filters"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output Schema

| Name          | Type     | Required | Default | Description                                    |
| ------------- | -------- | -------- | ------- | ---------------------------------------------- |
| `result.data` | `object` | Yes      |         | Provider response payload.                     |
| `result.meta` | `object` | No       |         | Additional response metadata (status, paging). |

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

  ### Output JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Standard tool result payload.",
    "properties": {
      "data": {
        "type": "object",
        "description": "Provider response payload.",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "organizations": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "integer"
                },
                "parent_id": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "name": {
                  "type": "string"
                },
                "url": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 2083,
                  "format": "uri"
                },
                "industry": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "total_employees": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "matching_people_count": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "matching_team_count": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "matching_job_post_count": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "headquarters_country": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "headquarters_state": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "domain": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "linkedin_organization_url": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "minLength": 1,
                  "maxLength": 2083,
                  "format": "uri"
                },
                "account_score": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "account_score_fit": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "matching_tags": {
                  "type": [
                    "array",
                    "null"
                  ],
                  "items": {
                    "type": "string"
                  }
                },
                "matching_entities": {
                  "type": [
                    "array",
                    "null"
                  ],
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string"
                      },
                      "term": {
                        "type": "string"
                      },
                      "job_post_count": {
                        "type": "integer"
                      },
                      "people_count": {
                        "type": "integer"
                      },
                      "team_count": {
                        "type": "integer"
                      },
                      "job_post_used_count": {
                        "type": [
                          "integer",
                          "null"
                        ]
                      },
                      "team_count_used": {
                        "type": [
                          "integer",
                          "null"
                        ]
                      }
                    },
                    "required": [
                      "type",
                      "term",
                      "job_post_count",
                      "people_count",
                      "team_count",
                      "job_post_used_count",
                      "team_count_used"
                    ],
                    "additionalProperties": false
                  }
                },
                "account_status": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "enum": [
                    "is_customer",
                    "is_in_crm",
                    "is_not_in_crm"
                  ]
                },
                "funding_last_round_type": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "funding_last_round_date": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date"
                },
                "funding_total_raised": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "funding_sources": {
                  "type": [
                    "array",
                    "null"
                  ],
                  "items": {
                    "type": "string"
                  }
                }
              },
              "required": [
                "id",
                "parent_id",
                "name",
                "url",
                "industry",
                "total_employees",
                "matching_people_count",
                "matching_team_count",
                "matching_job_post_count",
                "headquarters_country",
                "headquarters_state",
                "domain",
                "linkedin_organization_url",
                "funding_last_round_type",
                "funding_last_round_date",
                "funding_total_raised",
                "funding_sources"
              ],
              "additionalProperties": false
            }
          },
          "source_data_url": {
            "type": "string",
            "minLength": 1,
            "maxLength": 2083,
            "format": "uri"
          },
          "total": {
            "type": "integer"
          }
        },
        "required": [
          "id",
          "organizations",
          "source_data_url",
          "total"
        ],
        "additionalProperties": false
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": true
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Advanced: Direct CLI

<Info>
  Use direct execution for single payload debugging.
</Info>

```bash theme={null}
deepline tools execute sumble_find_organizations --payload '{
  "filters": {}
}' --json
```

### CLI flags

| Flag                        | Description                                         |
| --------------------------- | --------------------------------------------------- |
| `--json`                    | Print machine-readable output.                      |
| `--wait`                    | Wait for terminal provider status when supported.   |
| `--debug`                   | Enable wait mode with additional status/log output. |
| `--wait-timeout SECONDS`    | Max seconds to wait in wait mode.                   |
| `--poll-interval SECONDS`   | Polling interval in seconds during wait mode.       |
| `--timeout SECONDS`         | Request timeout in seconds.                         |
| `--connect-timeout SECONDS` | Connection timeout in seconds.                      |

## Cost

* Pricing model: `fixed` (per call).
* Estimated Deepline credits: `0` per pricing unit.
* Provider-native pricing may still exist outside Deepline credit billing.
* Billing mode: `no_bill`.
