Mark companies good or poor fit
oceanio.companies.segment.mark_domainsAppend domains to the positive or negative list of an existing segmentation
- Price
- freeプロバイダー原価
- Success rate
- —成功率データはまだありません成功率データはまだありません
- Latency p50
- ——
- Last verified
- 2026/08/20Verified working
POSThttps://toolswitch.dev/v1/tools/oceanio.companies.segment.mark_domainsPreview- Uses platform quota
- Synchronous response
- Reads public data
パラメータ
the feedback loop: closed-won accounts in as positive, churned or disqualified ones as negative, then re-run the segmentation. Returns {"status": "updated"}
| パラメータ | 型 | 必須 | 説明 | 例 |
|---|---|---|---|---|
| パスパラメータ | ||||
segmentation_id | 整数 | 必須 | the segmentation to teach | 153746 |
- パスパラメータ
segmentation_id整数必須the segmentation to teach
例:
153746
コード例
$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。
Preview
curl -X POST 'https://toolswitch.dev/v1/tools/oceanio.companies.segment.mark_domains' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY" \
-H "Content-Type: application/json" \
--data-raw '{"type":"positive","domains":["adyen.com"]}'import os
import json
import requests
response = requests.request(
"POST",
"https://toolswitch.dev/v1/tools/oceanio.companies.segment.mark_domains",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
json=json.loads("{\"type\":\"positive\",\"domains\":[\"adyen.com\"]}"),
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/oceanio.companies.segment.mark_domains", {
method: "POST",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
"Content-Type": "application/json",
},
body: JSON.stringify(JSON.parse("{\"type\":\"positive\",\"domains\":[\"adyen.com\"]}")),
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());このゲートウェイ API はプレビュー版です。URL や認証方式は変更される場合があります。 パラメータはサンプルデータです。 呼び出し料金は free です。サービス料を含みます。