---
title: "Update Analysis Action"
method: PATCH
path: "/api/domains/{domain_id}/aeo/analysis-actions/{action_id}"
tags: ["aeo"]
---

# Update Analysis Action

`PATCH /api/domains/{domain_id}/aeo/analysis-actions/{action_id}`

## Request

- Base URL: `https://api-v1.unusual.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api-v1.unusual.ai/api/domains/{domain_id}/aeo/analysis-actions/{action_id}`
- Auth: OAuth 2
  - Password
  - Token URL: `/auth/login`

## Path parameters

- `action_id` string, required
- `domain_id` string, required

## Headers

- `x-view-as` string, nullable

## Request body

- AnalysisActionUpdateIn
  - `title` string, nullable
  - `plan` string, nullable
  - `levers` string[], nullable
  - `addresses_insight_numbers` integer[], nullable
  - `objective_id` string, nullable
  - `analysis_batch_id` string, nullable
  - `probe_id` string, nullable
  - `probe_execution_id` string, nullable
  - `insight_ids` string[], nullable
  - `completed` boolean, nullable

## Response `200`

Successful Response

- AnalysisActionOut
  - `id` string, required
  - `objective_id` string, nullable
  - `analysis_batch_id` string, nullable
  - `probe_id` string, nullable
  - `probe_execution_id` string, nullable
  - `title` string, required
  - `plan` string, nullable
  - `levers` string[]
  - `addresses_insight_numbers` integer[]
  - `insights` AnalysisInsightLinkOut[]
    - `id` string, required
    - `title` string, required
  - `created_at` string, nullable
  - `updated_at` string, nullable
  - `completed_at` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/unusual/apis/dashboard-server.md) - [All operations](https://skmtc.dev/unusual/apis/dashboard-server/llms.txt) - [OpenAPI document](https://skmtc.dev/unusual/apis/dashboard-server/revisions/89f716930ead?raw)
