Skip to content

Quick List LLM Configurations



GET /api/v1/llm_cfg/quick_list

Overview

List the simple configuration information of LLM applications under the current workspace, suitable for dropdown options, lightweight display, and batch pre-validation.

Query Request Parameters

Parameter Name Type Required Description
search string Fuzzy search by application name
Allow empty: False
type string Application type, currently only supports Langfuse
Allow empty: False
Optional values: ['Langfuse']
appId commaArray Filter by appId, supports multiple values separated by commas
Allow empty: False

Parameter Supplementary Description

Interface Description

Returns a simple list of LLM applications under the current workspace, suitable for dropdown options, basic display, and lightweight enumeration.

Use Cases

  1. Selecting registered LLM applications in external systems.
  2. Batch backfilling basic application information based on appId.
  3. Quick queries when pagination and statistical metrics are not required.

Return Characteristics

  1. Only returns basic application configurations, does not return clientToken.
  2. jsonContent is the original configuration structure.
  3. The current interface only queries data under the workspace to which the AK belongs, and does not support cross-workspace queries.

Key fields in jsonContent are currently as follows:

Field Description
name Application name
type Application type, currently only supports Langfuse
site Site address
extend Extended configuration

Usage Recommendations

  1. Prioritize using this interface when only needing appId + name for a selector.
  2. If pagination, token information, or statistical information is required, please use GET /api/v1/llm_cfg/list instead.

Request Example

curl 'https://openapi.truewatch.com/api/v1/llm_cfg/quick_list?appId=llm_app_demo' \
  -H 'Content-Type: application/json' \
  -H 'DF-API-KEY: <DF-API-KEY>' \
  --compressed

Response

{
    "code": 200,
    "content": [
        {
            "appId": "llm_app_demo",
            "jsonContent": {
                "name": "Langfuse Prod",
                "type": "Langfuse",
                "site": "https://cloud.langfuse.com",
                "extend": {
                    "service": "prod"
                }
            },
            "uuid": "llm_app_demo",
            "workspaceUUID": "wksp_xxxx32"
        }
    ],
    "errorCode": "",
    "message": "",
    "success": true,
    "traceId": "TRACE-68EEEB4A-9ABC-4DDB-A72B-40F07F2699A5"
}