---
title: "Custom topics"
method: POST
path: "/textql.rpc.public.observe.ObservabilityService/RefineTopicDraft"
tags: ["ObservabilityService"]
---

# Custom topics

`POST /textql.rpc.public.observe.ObservabilityService/RefineTopicDraft`

Custom topics

## Headers

- `Connect-Protocol-Version` 1, required — Define the version of the Connect protocol
- `Connect-Timeout-Ms` number — Define the timeout, in ms

## Request body

- TextqlRpcPublicObserveRefineTopicDraftRequest
  - `prompt` string
  - `examples` string[] — example questions users ask
  - `exclusions` string[] — "should NOT be tagged" phrases

## Response `200`

Success

- TextqlRpcPublicObserveRefineTopicDraftResponse
  - `name` string
  - `covers` string
  - `excludes` string
  - `vague` boolean
  - `qualityHint` string
  - `similarTopics` TextqlRpcPublicObserveSimilarTopic[]
    - `id` string
    - `name` string

## Other responses

- `default` — Error

---

[API](https://skmtc.net/textql/apis/textql-rpc-platform.md) · [All operations](https://skmtc.net/textql/apis/textql-rpc-platform/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/textql/textql-rpc-platform/revisions/31ce2b0c4427/schema)
