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

# Forager: Job Search Totals

> Count the job postings that match title, company, location, remote and date filters. Includes inputs, outputs, SDK V2 examples, and Deepline cost.

Count the job postings that match title, company, location, remote and date filters.

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

## 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(
  'forager_job_search_totals',
  {
    "page": 123,
    "job_source": "indeed",
    "date_featured_start": "2026-01-15"
  },
);

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

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute forager_job_search_totals --input '{
  "page": 123,
  "job_source": "indeed",
  "date_featured_start": "2026-01-15"
}' --json
```

## 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": {
    "total_search_results": 123
  }
}
```

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

## Input reference

JobPostEvent search request serializer.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.page` | `integer` | No | — | — |
| `payload.job_source` | `"indeed" \| "linkedin" \| "angellist"` | No | — | \* `indeed` - Indeed \* `linkedin` - LinkedIn \* `angellist` - AngelList Allowed: `indeed`, `linkedin`, `angellist`. |
| `payload.date_featured_start` | `string` | No | — | Format: `date`. |
| `payload.date_featured_end` | `string` | No | — | Format: `date`. |
| `payload.organization_ids` | `array` | No | — | To get a list of IDs use Organizations lookup endpoint . |
| `payload.title` | `string` | No | — | This field supports a boolean text search query. |
| `payload.description` | `string` | No | — | This field supports a boolean text search query. |
| `payload.is_remote` | `boolean` | No | — | — |
| `payload.is_active` | `boolean` | No | `true` | — |
| `payload.locations` | `array` | No | — | To get a list of IDs use Locations lookup endpoint . |
| `payload.locations_exclude` | `array` | No | — | To get a list of IDs use Locations lookup endpoint . |

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

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "JobPostEvent search request serializer.",
    "properties": {
      "page": {
        "type": "integer"
      },
      "job_source": {
        "type": "string",
        "description": "* `indeed` - Indeed * `linkedin` - LinkedIn * `angellist` - AngelList",
        "enum": [
          "indeed",
          "linkedin",
          "angellist"
        ]
      },
      "date_featured_start": {
        "type": "string",
        "format": "date"
      },
      "date_featured_end": {
        "type": "string",
        "format": "date"
      },
      "organization_ids": {
        "type": "array",
        "description": "To get a list of IDs use Organizations lookup endpoint .",
        "items": {
          "type": "integer"
        }
      },
      "title": {
        "type": "string",
        "description": "This field supports a boolean text search query."
      },
      "description": {
        "type": "string",
        "description": "This field supports a boolean text search query."
      },
      "is_remote": {
        "type": [
          "boolean",
          "null"
        ]
      },
      "is_active": {
        "type": "boolean",
        "default": true
      },
      "locations": {
        "type": "array",
        "description": "To get a list of IDs use Locations lookup endpoint .",
        "items": {
          "type": "integer"
        }
      },
      "locations_exclude": {
        "type": "array",
        "description": "To get a list of IDs use Locations lookup endpoint .",
        "items": {
          "type": "integer"
        }
      }
    },
    "required": [],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | OrganizationJobPostEvent search totals response serializer. |
| `result.data.total_search_results` | `integer` | Yes | — | Minimum: 0. |
| `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": "OrganizationJobPostEvent search totals response serializer.",
        "properties": {
          "total_search_results": {
            "type": "integer",
            "minimum": 0
          }
        },
        "required": [
          "total_search_results"
        ],
        "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

* [Forager provider guide](https://deepline.com/docs/providers/forager/guide.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.