---
title: "Enrich data on demand"
method: POST
path: "/enrich/on-demand/{enrichment}/{handle}/{col}"
tags: ["enrich"]
---

# Enrich data on demand

`POST /enrich/on-demand/{enrichment}/{handle}/{col}`

## Request

- Base URL: `//api.gigasheet.com` (relative, and the document’s source URL is not known)
- URL: `//api.gigasheet.com/enrich/on-demand/{enrichment}/{handle}/{col}`
- Auth: API key in header `X-GIGASHEET-TOKEN`
- TypeScript: <https://skmtc.dev/freshdesk/apis/gigasheet-api/docs/enrich/on-demand/:enrichment/:handle/:col/post.ts> (a function with typed inputs; its response is checked against the schema)

Enrich a column using an enrichment that runs right away, not batched. Available enrichments are: revenuebase-linkedin, revenuebase-email

## Path parameters

- `handle` string, required
- `col` string, required
- `enrichment` string, required

## Request body

- StructsRequestAgGrid
  - `AllowUnstableOrder` boolean: API may set true to allow unstable result order for faster performance on large files
  - `FieldTypes` string[]: if the app work with pivot mode the system should check type of field by ex. int, float, string
  - `endRow` integer
  - `filterModel` object
  - `groupKeys` unknown[]
    - unknown
  - `pivotCols` StructsColumnVO[]
    - `aggFunc` string
    - `displayName` string
    - `field` string
    - `groupFunc` string
    - `id` string
  - `pivotMode` boolean
  - `rowGroupCols` StructsColumnVO[]
    - `aggFunc` string
    - `displayName` string
    - `field` string
    - `groupFunc` string
    - `id` string
  - `sortModel` StructsSortEntry[]
    - `colId` string
    - `pivotFieldGroupId` string: if pivot mode is enabled it can be sorted by pivot field group id (the column headers in pivot mode)
    - `sort` string
  - `startRow` integer
  - `ungroupedAggregations` StructsColumnVO[]
    - `aggFunc` string
    - `displayName` string
    - `field` string
    - `groupFunc` string
    - `id` string
  - `valueCols` StructsColumnVO[]
    - `aggFunc` string
    - `displayName` string
    - `field` string
    - `groupFunc` string
    - `id` string

## Response `200`

OK

- unknown

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `500`: Internal Server Error

---

[API](https://skmtc.dev/freshdesk/apis/gigasheet-api.md) - [All operations](https://skmtc.dev/freshdesk/apis/gigasheet-api/llms.txt) - [OpenAPI document](https://skmtc.dev/freshdesk/apis/gigasheet-api/revisions/d1e5cbb24557?raw)
