> ## Documentation Index
> Fetch the complete documentation index at: https://docs.realtoraai.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Finalize AI Cost

> Record actual cost after AI action completion.

Finalize the cost of an AI action after completion, updating from estimated to actual cost.

## Endpoint

```
POST /functions/v1/finalize-ai-cost
```

## Authentication

Requires valid JWT or service role.
