Cancel a browser-agent run
tinyfish.web.agent.run.cancelStop a pending or running Agent run; completed steps remain billable upstream.
- Price
- freeプロバイダー原価
- Success rate
- 100%Last 30 days · 13 calls
- Latency p50
- 110 msp95 568 ms
- Last verified
- 2026/09/23Verified working
POSThttps://toolswitch.dev/v1/tools/tinyfish.web.agent.run.cancelPreviewTry online近日公開Provider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
パラメータ
| パラメータ | 型 | 必須 | 説明 | 例 |
|---|---|---|---|---|
| パスパラメータ | ||||
run_id | 文字列 | 必須 | e1f90a04-486f-441b-95af-7f7223eb994b | |
- パスパラメータ
run_id文字列必須例:
e1f90a04-486f-441b-95af-7f7223eb994b
コード例
$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。
Preview
curl -X POST 'https://toolswitch.dev/v1/tools/tinyfish.web.agent.run.cancel' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"POST",
"https://toolswitch.dev/v1/tools/tinyfish.web.agent.run.cancel",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/tinyfish.web.agent.run.cancel", {
method: "POST",
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 です。サービス料を含みます。