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

# Discogen Process Personas

`POST /discogen/process-personas`

Run an LLM prompt against each contact record. Returns an async task for status polling.

## Request body

- BodyDiscogenProcessPersonasDiscogenProcessPersonasPost
  - `query` string, required
  - `persona_ids` integer[], required
  - `integration_id` string, nullable
  - `web_search` boolean
  - `context_mode` 'name_only' | 'profile' | 'profile_summary' | 'company' | 'full'
  - `previous_discogen_data` object, nullable
  - `include_x_search` boolean
  - `search_provider_id` string, nullable
  - `search_context_size` 'low' | 'medium' | 'high'

## Response `200`

Successful Response

- DiscoGenPersonaTaskResponse — Initial response from /discogen/process-personas endpoint.
  - `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_personas` integer, required — Total number of personas 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/revisions/eaeae50f8275/schema)
