Skip to content

Settles a hold with the cost the effect actually incurred, returning whatever headroom the estimate held beyond it.

POST
/v1/m/finops/admission/commit
curl --request POST \
--url https://example.com/v1/m/finops/admission/commit \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "actual_micro_usd": 1, "handle": "example" }'

Settles a hold with the cost the effect actually incurred, returning whatever headroom the estimate held beyond it.

X-Olivares-Tenant
string format: uuid

Target tenant id; required when the principal can act in more than one tenant.

Media type application/json
object
actual_micro_usd

The measured cost. Ingest the spend first, so the ceiling never under-counts during settlement. A repeat with the same amount is answered as the first commit was; another amount after a commit is refused with 409.

integer format: int64
handle

The handle Reserve answered with. An empty handle settles nothing.

string
Example generated
{
"actual_micro_usd": 1,
"handle": "example"
}

OK

Media type application/json
object
Example generated
{}

Bad request

Media type application/json
object
Example generated
{}

Unauthenticated

Media type application/json
object
Example generated
{}

Forbidden

Media type application/json
object
Example generated
{}

Not found

Media type application/json
object
Example generated
{}

Conflict / setup required

Media type application/json
object
Example generated
{}

Rate limited

Media type application/json
object
Example generated
{}