AIGetMetaData()

Retrieves metadata about a configured AI endpoint.

Returns information about the endpoint's configuration,

and optionally detailed information about available models and associated files.

AIGetMetaData( name=any, detailed=boolean );

Returns: Struct

Argument Description Default
name
any, required

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

Alias: aiName, nameAI, session

detailed
boolean, optional

When true, includes additional detailed information:

  • Models: List of available models with their names, labels, descriptions, and custom settings
  • Files: For file-capable engines, lists associated files with their IDs, purposes, sizes, creation dates, and status information

false

Examples

There are currently no examples for this function 14,218ms WARN No examples for function aigetmetadata

See also