AurionAI Docs

Create Usage Event

POST
/api/v1/internal/usage-events

Header Parameters

x-internal-token*X-Internal-Token

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://loading/api/v1/internal/usage-events" \  -H "x-internal-token: string" \  -H "Content-Type: application/json" \  -d '{    "event_type": "string",    "quantity": 0,    "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0"  }'
null
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}