---
title: "Agent Proactive"
method: POST
path: "/api/v1/agent/proactive"
tags: ["Agent"]
---

# Agent Proactive

`POST /api/v1/agent/proactive`

## Request

- Base URL: `https://api.casaintelligence.com.au` (the document declares no server; this is the origin it was published from)
- URL: `https://api.casaintelligence.com.au/api/v1/agent/proactive`
- Auth: HTTP bearer

Quick proactive analysis for a property.

Returns three insight fields: key_opportunity, watch_out, quick_take.
Uses Haiku for fast response. Cached per property+user for 24h.

Does NOT count against agent query quota.

NOTE: Does NOT use Depends(get_db) — the function creates its own
short-lived session for DB queries and releases it before calling
the Anthropic API, avoiding connection pool exhaustion.

## Request body

- ProactiveRequest
  - `property_id` string, required
  - `address` string, required

## Response `200`

Successful Response

- ProactiveResponse
  - `key_opportunity` string, required
  - `watch_out` string, required
  - `quick_take` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/casaintelligence/apis/casa-intelligence-engine.md) · [All operations](https://skmtc.dev/casaintelligence/apis/casa-intelligence-engine/llms.txt) · [OpenAPI document](https://skmtc.dev/casaintelligence/apis/casa-intelligence-engine/revisions/71d711039de0?raw)
