# Hashtags

Hashtag related APIs

## 지식베이스 오토 해시태그 피드백 (분류)

> 이 API는 문서의 분류 해시태그를 승인하거나 거부할 수 있게 합니다.

```json
{"openapi":"3.1.0","info":{"title":"Alli API Documentation","version":"1.0.0"},"tags":[{"name":"hashtags","description":"Hashtag related APIs"}],"servers":[{"url":"https://backend.alli.ai","description":"US"}],"security":[{"ApiKeyAuth":[]},{"TokenAuth":[]},{"ProjectIdHeader":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"API-KEY","description":"Your API key for authentication"},"TokenAuth":{"type":"http","scheme":"bearer","description":"Your token for authentication"}},"parameters":{"AgentEmailHeader":{"name":"AGENT-EMAIL","in":"header","required":false,"schema":{"type":"string"},"description":"Optional: Email of the agent to use for this request"},"UserEmailHeader":{"name":"USER-EMAIL","in":"header","required":false,"schema":{"type":"string"},"description":"Optional: Email address to associate with the user"},"OwnUserIdHeader":{"name":"OWN-USER-ID","in":"header","required":false,"schema":{"type":"string"},"description":"Optional: User ID to identify or create a user"}}},"paths":{"/webapi/kb_auto_hashtag_feedback":{"post":{"tags":["hashtags"],"operationId":"kbAutoHashtagFeedback","summary":"지식베이스 오토 해시태그 피드백 (분류)","description":"이 API는 문서의 분류 해시태그를 승인하거나 거부할 수 있게 합니다.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"autoHashtagFeedbacks":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"업데이트할 해시태그의 ID"},"state":{"type":"string","description":"해시태그에 설정할 상태입니다. 'accepted', 'declined', 'suggested' 중 하나일 수 있습니다."}}}}}}}}},"responses":{"200":{"description":"오토 해시태그 피드백이 성공적으로 제출되었습니다.","content":{"application/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"업데이트된 해시태그의 ID"},"state":{"type":"string","description":"해시태그의 새로운 상태. \"제안됨\", \"승인됨\", \"거부됨\" 중 하나입니다."}}}}}}}}},"400":{"description":"잘못된 매개변수"}},"parameters":[{"$ref":"#/components/parameters/AgentEmailHeader"},{"$ref":"#/components/parameters/UserEmailHeader"},{"$ref":"#/components/parameters/OwnUserIdHeader"}]}}}}
```

## 모든 해시태그 가져오기

> FAQ 및 지식베이스에서 모든 해시태그와 사용 횟수를 가져옵니다.

```json
{"openapi":"3.1.0","info":{"title":"Alli API Documentation","version":"1.0.0"},"tags":[{"name":"hashtags","description":"Hashtag related APIs"}],"servers":[{"url":"https://backend.alli.ai","description":"US"}],"security":[{"ApiKeyAuth":[]},{"TokenAuth":[]},{"ProjectIdHeader":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"API-KEY","description":"Your API key for authentication"},"TokenAuth":{"type":"http","scheme":"bearer","description":"Your token for authentication"}},"parameters":{"AgentEmailHeader":{"name":"AGENT-EMAIL","in":"header","required":false,"schema":{"type":"string"},"description":"Optional: Email of the agent to use for this request"},"UserEmailHeader":{"name":"USER-EMAIL","in":"header","required":false,"schema":{"type":"string"},"description":"Optional: Email address to associate with the user"},"OwnUserIdHeader":{"name":"OWN-USER-ID","in":"header","required":false,"schema":{"type":"string"},"description":"Optional: User ID to identify or create a user"}}},"paths":{"/webapi/hashtags":{"get":{"tags":["hashtags"],"operationId":"getHashtags","summary":"모든 해시태그 가져오기","description":"FAQ 및 지식베이스에서 모든 해시태그와 사용 횟수를 가져옵니다.","responses":{"200":{"description":"해시태그를 성공적으로 가져왔습니다.","content":{"application/json":{"schema":{"type":"object","properties":{"result":{"type":"object","additionalProperties":{"type":"integer"},"description":"해시태그 이름을 사용 횟수로 매핑"}}}}}}},"parameters":[{"$ref":"#/components/parameters/AgentEmailHeader"},{"$ref":"#/components/parameters/UserEmailHeader"},{"$ref":"#/components/parameters/OwnUserIdHeader"}]}}}}
```

## 지식베이스 오토 해시태그 (분류)

> 이 API는 문서에 대한 분류 키워드가 포함된 해시태그 목록을 가져옵니다.

```json
{"openapi":"3.1.0","info":{"title":"Alli API Documentation","version":"1.0.0"},"tags":[{"name":"hashtags","description":"Hashtag related APIs"}],"servers":[{"url":"https://backend.alli.ai","description":"US"}],"security":[{"ApiKeyAuth":[]},{"TokenAuth":[]},{"ProjectIdHeader":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"API-KEY","description":"Your API key for authentication"},"TokenAuth":{"type":"http","scheme":"bearer","description":"Your token for authentication"}},"parameters":{"AgentEmailHeader":{"name":"AGENT-EMAIL","in":"header","required":false,"schema":{"type":"string"},"description":"Optional: Email of the agent to use for this request"},"UserEmailHeader":{"name":"USER-EMAIL","in":"header","required":false,"schema":{"type":"string"},"description":"Optional: Email address to associate with the user"},"OwnUserIdHeader":{"name":"OWN-USER-ID","in":"header","required":false,"schema":{"type":"string"},"description":"Optional: User ID to identify or create a user"}}},"paths":{"/webapi/kb_auto_hashtag":{"post":{"tags":["hashtags"],"operationId":"kbAutoHashtag","summary":"지식베이스 오토 해시태그 (분류)","description":"이 API는 문서에 대한 분류 키워드가 포함된 해시태그 목록을 가져옵니다.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"ids":{"type":"array","description":"오토 해시태그를 검색하려는 문서 ID"}}}}}},"responses":{"200":{"description":"오토 해시태그가 성공적으로 검색되었습니다.","content":{"application/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"updated":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"해시태그가 해당하는 문서의 ID"},"autoHashtags":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"해시태그의 ID"},"state":{"type":"string","description":"해시태그 상태: \"제안됨\", \"승인됨\", \"거부됨\" 중 하나"},"bestConfidence":{"type":"number","description":"자동 생성된 이 해시태그의 수치적 신뢰도: 0에서 1까지"},"autoHashtag":{"type":"object","properties":{"hashtag":{"type":"string","description":"대시보드에 표시되는 해시태그의 문자열 값"}}}}}}}}}}},"errors":{"type":"object","nullable":true}}}}}},"400":{"description":"잘못된 매개변수"}},"parameters":[{"$ref":"#/components/parameters/AgentEmailHeader"},{"$ref":"#/components/parameters/UserEmailHeader"},{"$ref":"#/components/parameters/OwnUserIdHeader"}]}}}}
```
