Get a segmentation's results
oceanio.companies.segment.getRetrieve a segmentation by its id, including its segments, traits, and CRM metrics once status is SUCCESSFUL
- Price
- freeプロバイダー原価
- Success rate
- —成功率データはまだありません成功率データはまだありません
- Latency p50
- ——
- Last verified
- 2026/08/20Verified working
GEThttps://toolswitch.dev/v1/tools/oceanio.companies.segment.getPreview- Uses platform quota
- Synchronous response
- Reads public data
パラメータ
the poll half of the segmentation pair — free, so poll it freely. `status` moves to SUCCESSFUL, then `segments` carries one entry per cluster with its name, domains and companyCount
| パラメータ | 型 | 必須 | 説明 | 例 |
|---|---|---|---|---|
| パスパラメータ | ||||
segmentation_id | 整数 | 必須 | the id returned by oceanio.companies.segment.create | 153746 |
- パスパラメータ
segmentation_id整数必須the id returned by oceanio.companies.segment.create
例:
153746
コード例
$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/oceanio.companies.segment.get' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/oceanio.companies.segment.get",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/oceanio.companies.segment.get", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());このゲートウェイ API はプレビュー版です。URL や認証方式は変更される場合があります。 パラメータはサンプルデータです。 呼び出し料金は free です。サービス料を含みます。