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

# Amplemarket: Get People Enrichment Requests ID

> Get the status and results of a batch person enrichment in Amplemarket by its request ID. Includes inputs, outputs, SDK V2 examples, and Deepline cost.

Get the status and results of a batch person enrichment in Amplemarket by its request ID.

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

## 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(
  'amplemarket_get_people_enrichment_requests_id',
  {
    "id": "id_123"
  },
);

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

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute amplemarket_get_people_enrichment_requests_id --input '{
  "id": "id_123"
}' --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": {
    "id": 123,
    "object": "person_enrichment",
    "status": "queued",
    "results": [
      {
        "id": 123,
        "status": "enriched",
        "result": {
          "id": "123e4567-e89b-42d3-a456-426614174000",
          "object": "person",
          "linkedin_url": "https://www.linkedin.com/in/jane-doe"
        }
      }
    ],
    "_links": {
      "self": {
        "href": "example"
      }
    }
  }
}
```

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

## Input reference

Retrieve person enrichment results

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.id` | `string` | Yes | — | Batch id |
| `payload.page` | `object` | No | — | Page size. Accepts an integer or a numeric string. Amplemarket types this field inconsistently across operations. |

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

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Retrieve person enrichment results",
    "properties": {
      "id": {
        "type": "string",
        "description": "Batch id"
      },
      "page": {
        "type": "object",
        "description": "Page size. Accepts an integer or a numeric string; Amplemarket types this field inconsistently across operations.",
        "properties": {
          "size": {
            "type": [
              "integer",
              "string"
            ],
            "description": "Page size. Accepts an integer or a numeric string; Amplemarket types this field inconsistently across operations."
          },
          "after": {
            "type": "string",
            "description": "Page after"
          },
          "before": {
            "type": "string",
            "description": "Page before"
          }
        },
        "required": [],
        "additionalProperties": false
      }
    },
    "required": [
      "id"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Provider response payload. |
| `result.data.id` | `integer` | Yes | — | — |
| `result.data.object` | `"person_enrichment"` | Yes | — | Allowed: `person_enrichment`. |
| `result.data.status` | `"queued" \| "processing" \| "completed" \| "canceled" \| "error"` | Yes | — | Allowed: `queued`, `processing`, `completed`, `canceled`, `error`. |
| `result.data.results` | `array` | Yes | — | — |
| `result.data.results[].id` | `integer` | No | — | — |
| `result.data.results[].status` | `"enriched" \| "not_found" \| "gdpr_removed"` | No | — | Allowed: `enriched`, `not_found`, `gdpr_removed`. |
| `result.data.results[].result` | `object` | No | — | — |
| `result.data.results[].result.id` | `string` | Yes | — | Format: `uuid`. |
| `result.data.results[].result.object` | `"person"` | Yes | — | Allowed: `person`. |
| `result.data.results[].result.linkedin_url` | `string` | Yes | — | — |
| `result.data.results[].result.name` | `string \| null` | No | — | — |
| `result.data.results[].result.email` | `string \| null` | No | — | — |
| `result.data.results[].result.first_name` | `string \| null` | No | — | — |
| `result.data.results[].result.last_name` | `string \| null` | No | — | — |
| `result.data.results[].result.title` | `string \| null` | No | — | — |
| `result.data.results[].result.headline` | `string \| null` | No | — | — |
| `result.data.results[].result.about` | `string \| null` | No | — | — |
| `result.data.results[].result.current_position_start_date` | `string \| null` | No | — | Format: `date`. |
| `result.data.results[].result.current_position_description` | `string \| null` | No | — | — |
| `result.data.results[].result.location` | `string \| null` | No | — | — |
| `result.data.results[].result.image_url` | `string` | No | — | Format: `uri`. |
| `result.data.results[].result.gender` | `"male" \| "female" \| "likely_male" \| "likely_female" \| "unknown"` | No | — | Allowed: `male`, `female`, `likely_male`, `likely_female`, `unknown`. |
| `result.data.results[].result.location_details` | `object` | No | — | — |
| `result.data.results[].result.location_details.country` | `string \| null` | No | — | — |
| `result.data.results[].result.location_details.state` | `string \| null` | No | — | — |
| `result.data.results[].result.location_details.city` | `string \| null` | No | — | — |
| `result.data.results[].result.location_details.postal_code` | `string \| null` | No | — | — |
| `result.data.results[].result.location_details.lat` | `number \| null` | No | — | — |
| `result.data.results[].result.location_details.long` | `number \| null` | No | — | — |
| `result.data.results[].result.experiences` | `array \| null` | No | — | — |
| `result.data.results[].result.experiences[].object` | `"experience"` | Yes | — | Allowed: `experience`. |
| `result.data.results[].result.experiences[].title` | `string` | Yes | — | — |
| `result.data.results[].result.experiences[].company_name` | `string` | Yes | — | — |
| `result.data.results[].result.experiences[].company_linkedin_url` | `string \| null` | Yes | — | Format: `uri`. |
| `result.data.results[].result.experiences[].description` | `string \| null` | Yes | — | — |
| `result.data.results[].result.experiences[].start_date` | `string \| null` | Yes | — | Format: `date`. |
| `result.data.results[].result.experiences[].end_date` | `string \| null` | Yes | — | Format: `date`. |
| `result.data.results[].result.educations` | `array \| null` | No | — | — |
| `result.data.results[].result.educations[].object` | `"education"` | Yes | — | Allowed: `education`. |
| `result.data.results[].result.educations[].degree` | `string \| null` | Yes | — | — |
| `result.data.results[].result.educations[].field_of_study` | `string \| null` | Yes | — | — |
| `result.data.results[].result.educations[].school_name` | `string` | Yes | — | — |
| `result.data.results[].result.educations[].school_linkedin_url` | `string \| null` | Yes | — | Format: `uri`. |
| `result.data.results[].result.educations[].start_date` | `string \| null` | Yes | — | Format: `date`. |
| `result.data.results[].result.educations[].end_date` | `string \| null` | Yes | — | Format: `date`. |
| `result.data.results[].result.languages` | `array \| null` | No | — | — |
| `result.data.results[].result.languages[].object` | `"language"` | Yes | — | Allowed: `language`. |
| `result.data.results[].result.languages[].language` | `string` | Yes | — | — |
| `result.data.results[].result.languages[].iso_code` | `string` | Yes | — | — |

The table shows the first 50 fields. Expand the raw schema below for every field.

> [!NOTE]
>
> This output schema is too large for an inline display. Read the complete live contract with `deepline describe amplemarket_get_people_enrichment_requests_id --json`.

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

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