---
title: "Discogen Process"
method: POST
path: "/discogen/process"
---

# Discogen Process

`POST /discogen/process`

Run an LLM prompt against each domain with company context. Returns an async task for status polling.

## Request body

- BodyDiscogenProcessDiscogenProcessPost
  - `query` string, required
  - `domains` string[], required
  - `integration_id` string, nullable
  - `web_search` boolean
  - `context_mode` 'website' | 'profile' | 'domain'
  - `previous_discogen_data` object, nullable
  - `include_x_search` boolean
  - `search_provider_id` string, nullable
  - `search_context_size` 'low' | 'medium' | 'high'

## Response `200`

Successful Response

- DiscoGenTaskResponse — Initial response from /discogen/process endpoint (202 Accepted).
  - `task_id` string, required — Unique task identifier for polling status
  - `column_name` union, required — AI-generated or user-provided column name(s) for results
    - string
    - string[]
  - `status` 'in_progress', required — Task status: in_progress
  - `total_domains` integer, required — Total number of domains to process

## Other responses

- `422` — Validation Error

---

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