Search Memory Containers API
출처: 문서
본문
메모리 컨테이너 검색 API
3.3에 도입됨 {: .label .label-purple }
이 API를 사용하면 OpenSearch 쿼리 도메인 특화 언어(DSL)로 메모리 컨테이너를 검색할 수 있어요.
엔드포인트
GET /_plugins/_ml/memory_containers/_search
POST /_plugins/_ml/memory_containers/_search
요청 필드
요청 본문은 표준 OpenSearch 쿼리 DSL을 지원해요. 자세한 내용은 Query DSL을 참고하세요.
요청 예제
GET /_plugins/_ml/memory_containers/_search
{
"query": {
"match_all": {}
}
}
{% include copy-curl.html %}
응답 예제
{
"took": 5,
"timed_out": false,
"_shards": {
"total": 1,
"successful": 1,
"skipped": 0,
"failed": 0
},
"hits": {
"total": {
"value": 2,
"relation": "eq"
},
"max_score": 1.0,
"hits": [
{
"_index": ".plugins-ml-memory-meta",
"_id": "HudqiJkB1SltqOcZusVU",
"_score": 1.0,
"_source": {
"name": "agentic memory test",
"description": "Store conversations with semantic search and summarization",
"configuration": {
"embedding_model_type": "TEXT_EMBEDDING",
"embedding_model_id": "uXZAtJkBvHNmcp1JAROh",
"embedding_dimension": 1024,
"llm_id": "aFouy5kBrfmzAZ6R6wo-",
"strategies": [
{
"type": "SEMANTIC",
"namespace": ["user_id"]
}
]
},
"created_time": 1757956737699,
"last_updated_time": 1757956737699
}
}
]
}
}
응답 필드
다음 표에서는 응답 본문의 모든 필드를 설명해요.
| 필드 | 데이터 타입 | 설명 |
|---|---|---|
name |
String | 메모리 컨테이너의 이름이에요. |
description |
String | 메모리 컨테이너에 대한 설명이에요. |
configuration |
Object | 모델과 전략을 포함한 메모리 컨테이너 설정이에요. |
created_time |
Long | 컨테이너가 생성된 시각의 타임스탬프예요. |
last_updated_time |
Long | 컨테이너가 마지막으로 업데이트된 시각의 타임스탬프예요. |