Entities
Entity Definition
Entities represent the internal LLMGW definition of request identities.
They are used to track:
- Display names
- Spend limits
- Connected API keys
- Connected user-based tokens
- Model access, guardrails, etc. (upcoming)
Entities can be defined via the admin portal or directly via the admin API.
Entity Validation
Each request is validated according to the entity type configurations:
required: The entity must always be present in the request.allow_multiple: When set, multiple entity values can be sent in a request.
Warning:
When multiple entities are supported for a given entity type, LLMGW only tracks those stored internally (or defaults to the first one in the list) to avoid tracking excessive request identities.