---
title: "Enrichment Fields"
method: POST
path: "/api/enrichment/{connection_id}/inputfields"
tags: ["Models"]
---

# Enrichment Fields

`POST /api/enrichment/{connection_id}/inputfields`

Returns the valid input field sets for an enrichment configuration on a connection.

When configuring an enrichment source in a model sync, use this endpoint to
discover which input fields the enrichment connection requires. Pass the
proposed enrichment configuration in the request body; the response lists the
valid input field sets that map your model's fields to the enrichment service's
expected inputs.

## Path parameters

- `connection_id` string, uuid, required

## Headers

- `X-Polytomic-Version` string

## Request body

- EnrichmentInputFieldsRequest
  - `configuration` EnricherConfiguration — Similar to a model configuration, this configures the enricher. For example, if you wanted to use Apollo to enrich people, you would send `{"object": "people"}` as the configuration. Each enricher configuration can be found in the connection configuration docs.

## Response `200`

OK

- GetEnrichmentInputFieldsResponseEnvelope
  - `data` array[], nullable
    - string[]

## Other responses

- `403` — Forbidden
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.net/polytomic/apis/polytomic-api.md) · [All operations](https://skmtc.net/polytomic/apis/polytomic-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/polytomic/polytomic-api/versions/5e9bcd4cfb2d/schema)
