---
title: "Wallet Ai Analysis Generate"
method: POST
path: "/api/v2/wallet/{address}/ai-analysis/generate"
---

# Wallet Ai Analysis Generate

`POST /api/v2/wallet/{address}/ai-analysis/generate`

## Request

- Base URL: `https://orcalayer.com` (the document declares no server; this is the origin it was published from)
- URL: `https://orcalayer.com/api/v2/wallet/{address}/ai-analysis/generate`
- Auth: none declared

Internal-only generator. Caller must validate quota upstream.

Behavior:
  - If existing record AND age < 24h AND not force → return cached (no spend).
  - Otherwise: call Gemini, save row, return content.

Restricted to 127.0.0.1 (Next.js calls via internal URL).

## Path parameters

- `address` string, required

## Query parameters

- `force` boolean

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/orcalayer/apis/orcalayer-api.md) · [All operations](https://skmtc.dev/orcalayer/apis/orcalayer-api/llms.txt) · [OpenAPI document](https://skmtc.dev/orcalayer/apis/orcalayer-api/revisions/5d1d509daba6?raw)
