Models

Enrichment Fields

POST
For a given connection and enrichment configuration, provides the valid sets of input fields.

Path parameters

connection_idstringRequired

Request

This endpoint expects an object.
configuration
map from strings to anyOptional

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

This endpoint returns an object
data
list of lists of stringsOptional
POST
1curl -X POST https://app.polytomic.com/api/enrichment/248df4b7-aa70-47b8-a036-33ac447e668d/inputfields \
2 -H "Authorization: Bearer <token>" \
3 -H "Content-Type: application/json" \
4 -d '{}'
200Successful
1{
2 "data": [
3 [
4 "data"
5 ]
6 ]
7}