Retrieves metadata about a configured AI endpoint.
Returns information about the endpoint's configuration,
and optionally detailed information about available models and associated files.
Lucee Function Reference
luceeaigetmetadata()
Example
luceeaigetmetadata(any name,[boolean detailed]):struct
Arguments
The arguments for this function are set. You can not use other arguments except the following ones.
| Name | Type | Required | Default Value | Description |
|---|---|---|---|---|
| name | any | Yes |
The name of the AI endpoint to get metadata for. Can be either: 1. A direct endpoint name as configured in the Lucee Administrator 2. A default reference (e.g., "default:exception") which will resolve to the configured default endpoint for that category 3. A AI session object from which to retrieve and analyze AI endpoint metadata |
|
| detailed | boolean | No | false |
When true, includes additional detailed information: |