v1
latestOpenAPI 3.0.02026-07-141,4077,1665.2 MBLLM Observability
Create or update a patterns configuration
Create a new patterns configuration, or update an existing one when a configuration ID is provided.
put/api/v2/llm-obs/v1/topic-discovery-configs
Request body
Example request
{
"data": {
"attributes": {
"account_id": "1000000001",
"config_id": "a7c8d9e0-1234-5678-9abc-def012345678",
"evp_query": "@ml_app:support-bot",
"hierarchy_depth": 2,
"integration_provider": "openai",
"model_name": "gpt-4o",
"name": "Support chatbot topics",
"num_records": 1000,
"sampling_ratio": 0.1
},
"type": "topic_discovery_configs"
}
}Response
OK
Example response
{
"data": {
"attributes": {
"account_id": "1000000001",
"created_at": "2024-01-15T10:30:00Z",
"evp_query": "@ml_app:support-bot",
"hierarchy_depth": 2,
"integration_provider": "openai",
"model_name": "gpt-4o",
"name": "Support chatbot topics",
"num_records": 1000,
"sampling_ratio": 0.1,
"updated_at": "2024-01-15T10:30:00Z"
},
"id": "a7c8d9e0-1234-5678-9abc-def012345678",
"type": "topic_discovery_configs"
}
}