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

# Findymail: Get Export Status

> Check whether a Findymail search export is finished: success, processing, pending, failed or not found. Includes SDK V2 examples, schemas, and cost.

Check whether a Findymail search export is finished: success, processing, pending, failed or not found.

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

## 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(
  'findymail_get_export_status',
  {
    "hash": "example"
  },
);

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

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute findymail_get_export_status --input '{
  "hash": "example"
}' --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": {
    "status": "example",
    "progress": 123,
    "total_jobs": 123
  }
}
```

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

## Input reference

Poll this endpoint to check if a given search is completed. The response will contain a `status` field with one of the following values: - `success`: Export is completed and ready to download - `processing`: Export is currently being processed (includes progress information) - `pending`: Export is queued but not yet started - `failed`: Export has failed - `not_found`: Export hash not found or expired

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.hash` | `string` | Yes | — | The export hash returned by the search endpoint. |

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

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Poll this endpoint to check if a given search is completed. The response will contain a `status` field with one of the following values: - `success`: Export is completed and ready to download - `processing`: Export is currently being processed (includes progress information) - `pending`: Export is queued but not yet started - `failed`: Export has failed - `not_found`: Export hash not found or expired",
    "properties": {
      "hash": {
        "type": "string",
        "description": "The export hash returned by the search endpoint."
      }
    },
    "required": [
      "hash"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Provider response payload. |
| `result.data.status` | `string` | No | — | The current status of the export. |
| `result.data.progress` | `integer` | No | — | The progress percentage (only when status is "processing"). |
| `result.data.total_jobs` | `integer` | No | — | Total number of jobs (only when status is "processing"). |
| `result.data.processed_jobs` | `integer` | No | — | Number of processed jobs (only when status is "processing"). |
| `result.data.pending_jobs` | `integer` | No | — | Number of pending jobs (only when status is "processing"). |
| `result.data.failed_jobs` | `integer` | No | — | Number of failed jobs (only when status is "processing"). |
| `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": {
          "status": {
            "type": "string",
            "description": "The current status of the export."
          },
          "progress": {
            "type": "integer",
            "description": "The progress percentage (only when status is \"processing\")."
          },
          "total_jobs": {
            "type": "integer",
            "description": "Total number of jobs (only when status is \"processing\")."
          },
          "processed_jobs": {
            "type": "integer",
            "description": "Number of processed jobs (only when status is \"processing\")."
          },
          "pending_jobs": {
            "type": "integer",
            "description": "Number of pending jobs (only when status is \"processing\")."
          },
          "failed_jobs": {
            "type": "integer",
            "description": "Number of failed jobs (only when status is \"processing\")."
          }
        },
        "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

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