Agent Observability
List patterns templates
List all enabled patterns templates.
get/api/v2/llm-obs/v1/topic-discovery-templates
Request
- Base URLhttps://api.datadoghq.com
- Auth
- API key in header DD-API-KEY and API key in header DD-APPLICATION-KEY
- or OAuth 2Authorization code/oauth2/v1/authorizeToken URL/oauth2/v1/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
OK
Example response
{
"data": {
"attributes": {
"templates": [
{
"clustering_instructions": "Group topics by user intent.",
"created_at": "2024-01-15T10:30:00Z",
"description": "A general-purpose starting point for topic discovery.",
"id": "a7c8d9e0-1234-5678-9abc-def012345678",
"name": "General",
"scope": "span",
"template": "{{span_input}}",
"time_frame_duration_ms": 604800000
}
]
},
"id": "topic_discovery_templates",
"type": "list_topic_discovery_templates_response"
}
}Changes
Changes to this operation have not been checked yet.