---
title: "Start Response Streaming"
method: POST
path: "/api/v1/response-streaming/start"
tags: ["Basics"]
---

# Start Response Streaming

`POST /api/v1/response-streaming/start`

Kicks off a response-streaming run for a website: Athena queries the selected AI models for the website's prompts and ingests the responses. Omit `prompt_ids` to run every active prompt, or pass a selection (up to 1,000). Returns immediately with the `workflow_id` of the run and `status: "running"`; poll **GET /api/v1/response-streaming/status** for progress. Requires a website-admin API key.

## Request body

- object
  - `website_id` string, uuid, required — Website to run the response streaming for.
  - `prompt_ids` string[] — Specific prompts to run (1–1,000). Omit to run all active prompts for the website. Only active prompts are executed: paused prompt IDs are accepted (the run still returns 201) but are silently skipped and never queued, so pass active prompt IDs.
  - `selected_models` object — Map of model id to enabled flag (e.g. `{ "ai_overview": true, "ai_mode": false }`). Omit to run every currently active model — this is not the dashboard's saved default selection. An explicit selection that resolves to no available models is rejected with 400.
  - `prompt_variations` integer — Number of paraphrased variations to generate per prompt (0–10).
  - `use_personas` boolean — Whether to run the prompts through configured personas.
  - `use_locations` boolean — Whether to run the prompts across the website's configured locations.
  - `only_locations` boolean — When true, skip the base (non-localized) run and execute only the location-scoped variants. Requires `use_locations: true`: sending `only_locations: true` without `use_locations: true` queues nothing (the base run is skipped and no location variants are added), so the run completes as a no-op.

## Response `201`

Run started

- object
  - `workflow_id` string, required
  - `status` 'running', required

## Other responses

- `400` — Bad request - Invalid parameters
- `401` — Unauthorized - Invalid or missing API key
- `403` — Forbidden - Admin access to this website is required
- `409` — Conflict - A response-streaming run is already in progress for this website. Poll GET /api/v1/response-streaming/status and retry once it is no longer `running`.
- `429` — Too many requests - Rate limit exceeded. Retry after a short delay.
- `500` — Internal server error

---

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