AppAIGatewayDocs
API referenceAdmin operations

Preview or apply current catalog prices to stored usage

POST
/v1/admin/apps/{app}/usage/reprice

Authorization

agw_identity_auth.session_token<token>

The console's session cookie. Admin requests from the console also send x-console-request: 1.

In: cookie

Path Parameters

app*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/admin/apps/string/usage/reprice" \  -H "Content-Type: application/json" \  -d '{    "provider": "openai",    "model": "string",    "month": "string"  }'
null