---
title: "Campaign Agent Context"
method: POST
path: "/v1/campaign-creation/{interview_id}/agent-context"
tags: ["campaign-creation"]
---

# Campaign Agent Context

`POST /v1/campaign-creation/{interview_id}/agent-context`

Return server-side setup context for the Next.js AI SDK campaign agent.

workspace_company_domain is a fast DB read and must always make it back to the
caller. The RAG/embedding-backed foundation_context lookup is best-effort: if it's
slow, it must not take the already-saved domain down with it (that made the agent
re-ask for a domain the user had already provided).

## Path parameters

- `interview_id` string, uuid, required

## Request body

- CampaignAgentContextRequest
  - `message` string, required

## Response `200`

Successful Response

- CampaignAgentContextResponse
  - `workspace_company_domain` string, nullable
  - `foundation_context` string
  - `default_language` string, nullable
  - `participant_language_selection_enabled` boolean
  - `participant_selectable_languages` string[]
  - `participant_content_language` string

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/ontora/apis/ontora-api.md) · [All operations](https://skmtc.dev/ontora/apis/ontora-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ontora/ontora-api/revisions/7f57037fd94b/schema)
