Get LLM Configuration¶
GET /api/v1/llm_cfg/{appid}/get
Overview¶
Retrieve the details of a specific LLM application by its appId, used for editing backfilling and single-item queries.
Route Parameters¶
| Parameter Name | Type | Required | Description |
|---|---|---|---|
| appid | string | Y | The appId of the LLM application |
Parameter Additional Notes¶
Interface Description¶
Retrieve the details of a single LLM application based on the path parameter appid.
Return Description¶
- Returns the complete configuration object.
clientTokenreturns the actual token string, not the internal token UUID.ifTokenExpired=trueindicates that the currently bound token has expired or been deleted.
Common Uses¶
- Read the original configuration before editing.
- External systems query a single application by
appId. - Check if the token currently bound to an application is still available.
Error Semantics¶
- If the
appiddoes not exist, typically returnsft.NotFoundLlmSetorft.InvalidLlmAppuuid.
Request Example¶
curl 'https://openapi.truewatch.com/api/v1/llm_cfg/llm_app_demo/get' \
-H 'Content-Type: application/json' \
-H 'DF-API-KEY: <DF-API-KEY>' \
--compressed
Response¶
{
"code": 200,
"content": {
"appId": "llm_app_demo",
"createAt": 1690813059,
"creator": "acnt_xxxx32",
"deleteAt": -1,
"id": 1,
"jsonContent": {
"name": "Langfuse Prod",
"type": "Langfuse",
"site": "https://cloud.langfuse.com",
"extend": {
"service": "prod"
}
},
"status": 0,
"updateAt": 1690813059,
"updator": "acnt_xxxx32",
"uuid": "llm_app_demo",
"workspaceUUID": "wksp_xxxx32",
"clientToken": "token_xxx",
"ifTokenExpired": false
},
"errorCode": "",
"message": "",
"success": true,
"traceId": "TRACE-68EEEB4A-9ABC-4DDB-A72B-40F07F2699A5"
}