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

# Salesforge Get Workspaces Workspaceid Threads: Inputs,

> Get workspace threads. Salesforge Salesforge Get Workspaces Workspaceid Threads docs include request fields, response shape, pricing notes, and Deepline CLI

## 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=salesforge_get_workspaces_workspaceid_threads:{"workspaceID":"{{workspaceID}}"}' --json
```

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

## Input Schema

| Name                     | Type      | Required | Default | Description                                  |
| ------------------------ | --------- | -------- | ------- | -------------------------------------------- |
| `payload.workspaceID`    | `string`  | Yes      |         | Workspace ID                                 |
| `payload.limit`          | `integer` | No       | `10`    | Limit                                        |
| `payload.offset`         | `integer` | No       | `0`     | Offset                                       |
| `payload.mailbox_ids`    | `array`   | No       |         | Filter by mailboxes                          |
| `payload.agent_ids`      | `array`   | No       |         | Filter by agents                             |
| `payload.sequence_ids`   | `array`   | No       |         | Filter by sequences                          |
| `payload.positive`       | `boolean` | No       |         | Filter by positive/negative sentiment        |
| `payload.filter`         | `string`  | No       |         | Filter criteria (e.g. all, unread, archived) |
| `payload.labels`         | `array`   | No       |         | Filter by label IDs                          |
| `payload.exclude_labels` | `array`   | No       |         | Exclude label IDs                            |
| `payload.q`              | `string`  | No       |         | Search query                                 |

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

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Get a list of threads associated with the workspace.",
    "properties": {
      "workspaceID": {
        "type": "string",
        "description": "Workspace ID"
      },
      "limit": {
        "type": "integer",
        "description": "Limit",
        "default": 10
      },
      "offset": {
        "type": "integer",
        "description": "Offset",
        "default": 0
      },
      "mailbox_ids": {
        "type": "array",
        "description": "Filter by mailboxes",
        "items": {
          "type": "string"
        }
      },
      "agent_ids": {
        "type": "array",
        "description": "Filter by agents",
        "items": {
          "type": "string"
        }
      },
      "sequence_ids": {
        "type": "array",
        "description": "Filter by sequences",
        "items": {
          "type": "string"
        }
      },
      "positive": {
        "type": "boolean",
        "description": "Filter by positive/negative sentiment"
      },
      "filter": {
        "type": "string",
        "description": "Filter criteria (e.g. all, unread, archived)"
      },
      "labels": {
        "type": "array",
        "description": "Filter by label IDs",
        "items": {
          "type": "string"
        }
      },
      "exclude_labels": {
        "type": "array",
        "description": "Exclude label IDs",
        "items": {
          "type": "string"
        }
      },
      "q": {
        "type": "string",
        "description": "Search query"
      }
    },
    "required": [
      "workspaceID"
    ],
    "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": {
          "data": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "createdAt": {
                  "type": "string"
                },
                "type": {
                  "type": "string",
                  "enum": [
                    "email",
                    "domain",
                    "linkedin"
                  ]
                },
                "value": {
                  "type": "string"
                }
              },
              "additionalProperties": false
            }
          }
        },
        "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 salesforge_get_workspaces_workspaceid_threads --payload '{
  "workspaceID": "string"
}' --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`.
