Enrichment

Create Formula Template

Save a reusable formula-authoring template. FREE.

A template is a stored prompt plus the fields it depends on; creating one calls no model. It costs when someone later authors a formula from it.

post/enrichment/formula-templates

Request

  • Base URL: https://be.graph8.com/api/v1
  • URL: https://be.graph8.com/api/v1/enrichment/formula-templates
  • Auth: HTTP bearer

Headers

Authorizationstring nullable
X-Target-Org-Idstring nullable

Request body

namestring required
descriptionstring required
promptstring required
categorystring required
target_typestring required

'companies' or 'contacts'.

output_typestring required

'text', 'number' or 'boolean'.

field_dependenciesstring[] required
example_formulastring nullable
is_system_templateboolean

Response

Successful Response

dataEnrichmentPayload required

One enrichment object, open-shaped.

Open on purpose: a workbench column set is defined by the CUSTOMER at runtime, and the enrichment result shapes grow with every provider added. Pinning them would drop whatever a provider returned that this contract had not caught up on, which on an enrichment surface is the data the customer paid for.

Changes

No recorded changes to this operation across all 2 revisions of this API.