プライバシー設定

必須機能

セキュリティとサイトの基本機能に必要です。

常に有効

任意の利用状況解析

PostHogの利用状況解析を許可しますか?フッターでいつでも変更できます。

この公開サイトでのセッションリプレイも許可する

リプレイには公開ページと操作が表示され、入力内容や非公開コンテンツはマスクされます。Appのリプレイは別途選択します。

分析の有効化が必要です。ウェブサイトのリプレイは初期設定でオフです。

ブラウザーの分析設定でアカウントの分析が有効になることはありません。

検索は使用時のみ読み込みます。以下ですべてのカテゴリを閲覧できます。

MCPツール

限定的なリスニング収集を要求する

sosoapi_listening_runs_request

正確なストリームリビジョンに対して限定的な収集を要求します。キュー投入は収集完了ではありません。再試行では mutation_id を再利用します。agent:research が必要です。

Markdownで読む

プロファイルと通信方式

プロファイル: full · 通信方式: stdio, http

coreまたはfullで表示ツールを選べますが権限は変わりません。ローカルアップロードはstdioのみでHTTPは非対応です。SOSOAPI_OUTPUT_SCHEMAS=1で検出時に出力スキーマを含めます。設定に関係なく構造化結果を返します。

権限と副作用

注釈はクライアントがツールを説明するためのものです。各呼び出しでは引き続き認証、ロール、リソースアクセス、機能権限を確認します。

{
  "readOnlyHint": false,
  "destructiveHint": false,
  "idempotentHint": true,
  "openWorldHint": true
}
  • /listening-api/runs/request: agent:research · 受け付け済みのドメイン実行。収集を証明するのは確定済みの終了結果のみです

入力フィールド

必須とは、親オブジェクトと選択分岐内で必須という意味です。必須の子があっても任意の親は必須になりません。以下のルールとフィールド名は契約から転記しています。

入力フィールド
フィールド/分岐型/必須制約
$object親要素内で必須
  • additionalProperties: false
workspace_idstring親要素内で必須
  • format: "uuid"
mutation_idstring親要素内で必須
  • format: "uuid"
stream_idstring親要素内で必須
  • format: "uuid"
expected_stream_revisioninteger親要素内で必須
  • maximum: 9007199254740991
  • exclusiveMinimum: 0
完全なJSON Schema
{
  "type": "object",
  "properties": {
    "workspace_id": {
      "type": "string",
      "format": "uuid"
    },
    "mutation_id": {
      "type": "string",
      "format": "uuid"
    },
    "stream_id": {
      "type": "string",
      "format": "uuid"
    },
    "expected_stream_revision": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "workspace_id",
    "mutation_id",
    "stream_id",
    "expected_stream_revision"
  ],
  "additionalProperties": false
}

構造化された出力

このスキーマは、成功時のツール結果に含まれるstructuredContentを説明します。MCPレスポンスはcontentも含み、失敗時にisErrorを設定する場合があります。公開では、受理やテキスト応答を確認済みと扱わず、投稿の最終結果を取得してください。権限・再試行ルールはリンク先のAPI操作をご覧ください。

必須とは、親オブジェクトと選択分岐内で必須という意味です。必須の子があっても任意の親は必須になりません。以下のルールとフィールド名は契約から転記しています。

構造化された出力
フィールド/分岐型/必須制約
$object親要素内で必須
  • additionalProperties: false
runobject親要素内で必須
  • additionalProperties: false
run.idstring親要素内で必須
  • format: "uuid"
run.workspace_idstring親要素内で必須
  • format: "uuid"
run.stream_idstring親要素内で必須
  • format: "uuid"
run.stream_revisioninteger親要素内で必須
  • maximum: 9007199254740991
  • exclusiveMinimum: 0
run.query_revisioninteger親要素内で必須
  • maximum: 9007199254740991
  • exclusiveMinimum: 0
run.generationinteger親要素内で必須
  • maximum: 9007199254740991
  • exclusiveMinimum: 0
run.sourcestring親要素内で必須
  • const: "hacker_news"
run.statusstring親要素内で必須
  • enum: ["queued","running","partial","succeeded","deferred","cancelled","failed"]
run.reasonstring | null親要素内で必須—
run.reasonanyOf 1string親要素内で必須
  • enum: ["collection_paused","authorization_expired","authorization_revoked","stream_changed","stream_paused","stream_deleted","cancelled","workspace_budget","source_budget","run_budget","source_rate_limited","source_unavailable","source_invalid","execution_exhausted"]
run.reasonanyOf 2null親要素内で必須—
run.requested_atstring親要素内で必須
  • format: "date-time"
  • pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
run.completed_atstring | null親要素内で必須—
run.completed_atanyOf 1string親要素内で必須
  • format: "date-time"
  • pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
run.completed_atanyOf 2null親要素内で必須—
run.retry_afterstring | null親要素内で必須—
run.retry_afteranyOf 1string親要素内で必須
  • format: "date-time"
  • pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
run.retry_afteranyOf 2null親要素内で必須—
run.result_countinteger親要素内で必須
  • minimum: 0
  • maximum: 20
run.provider_getsinteger親要素内で必須
  • minimum: 0
  • maximum: 21
run.coveragestring親要素内で必須
  • const: "partial_indexed_sample"
run.exhaustiveboolean親要素内で必須
  • const: false
run.method_versionstring親要素内で必須
  • const: "hn-indexed-literal-sample/v1"
run.observation_countsobject親要素内で必須
  • additionalProperties: false
run.observation_counts.source_itemsinteger親要素内で必須
  • minimum: 0
  • maximum: 20
run.observation_counts.matched_itemsinteger親要素内で必須
  • minimum: 0
  • maximum: 20
run.observation_counts.removed_itemsinteger親要素内で必須
  • minimum: 0
  • maximum: 20
run.observation_counts.unavailable_itemsinteger親要素内で必須
  • minimum: 0
  • maximum: 20
run.window_sincestring親要素内で必須
  • format: "date-time"
  • pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
run.window_untilstring親要素内で必須
  • format: "date-time"
  • pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
run.pageinteger親要素内で必須
  • minimum: 0
  • maximum: 49
run.next_page_availableboolean親要素内で必須—
完全なJSON Schema
{
  "type": "object",
  "properties": {
    "run": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid"
        },
        "workspace_id": {
          "type": "string",
          "format": "uuid"
        },
        "stream_id": {
          "type": "string",
          "format": "uuid"
        },
        "stream_revision": {
          "type": "integer",
          "exclusiveMinimum": 0,
          "maximum": 9007199254740991
        },
        "query_revision": {
          "type": "integer",
          "exclusiveMinimum": 0,
          "maximum": 9007199254740991
        },
        "generation": {
          "type": "integer",
          "exclusiveMinimum": 0,
          "maximum": 9007199254740991
        },
        "source": {
          "type": "string",
          "const": "hacker_news"
        },
        "status": {
          "type": "string",
          "enum": [
            "queued",
            "running",
            "partial",
            "succeeded",
            "deferred",
            "cancelled",
            "failed"
          ]
        },
        "reason": {
          "anyOf": [
            {
              "type": "string",
              "enum": [
                "collection_paused",
                "authorization_expired",
                "authorization_revoked",
                "stream_changed",
                "stream_paused",
                "stream_deleted",
                "cancelled",
                "workspace_budget",
                "source_budget",
                "run_budget",
                "source_rate_limited",
                "source_unavailable",
                "source_invalid",
                "execution_exhausted"
              ]
            },
            {
              "type": "null"
            }
          ]
        },
        "requested_at": {
          "type": "string",
          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
          "format": "date-time"
        },
        "completed_at": {
          "anyOf": [
            {
              "type": "string",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
              "format": "date-time"
            },
            {
              "type": "null"
            }
          ]
        },
        "retry_after": {
          "anyOf": [
            {
              "type": "string",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
              "format": "date-time"
            },
            {
              "type": "null"
            }
          ]
        },
        "result_count": {
          "type": "integer",
          "minimum": 0,
          "maximum": 20
        },
        "provider_gets": {
          "type": "integer",
          "minimum": 0,
          "maximum": 21
        },
        "coverage": {
          "type": "string",
          "const": "partial_indexed_sample"
        },
        "exhaustive": {
          "type": "boolean",
          "const": false
        },
        "method_version": {
          "type": "string",
          "const": "hn-indexed-literal-sample/v1"
        },
        "observation_counts": {
          "type": "object",
          "properties": {
            "source_items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 20
            },
            "matched_items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 20
            },
            "removed_items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 20
            },
            "unavailable_items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 20
            }
          },
          "required": [
            "source_items",
            "matched_items",
            "removed_items",
            "unavailable_items"
          ],
          "additionalProperties": false
        },
        "window_since": {
          "type": "string",
          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
          "format": "date-time"
        },
        "window_until": {
          "type": "string",
          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
          "format": "date-time"
        },
        "page": {
          "type": "integer",
          "minimum": 0,
          "maximum": 49
        },
        "next_page_available": {
          "type": "boolean"
        }
      },
      "required": [
        "id",
        "workspace_id",
        "stream_id",
        "stream_revision",
        "query_revision",
        "generation",
        "source",
        "status",
        "reason",
        "requested_at",
        "completed_at",
        "retry_after",
        "result_count",
        "provider_gets",
        "coverage",
        "exhaustive",
        "method_version",
        "observation_counts",
        "window_since",
        "window_until",
        "page",
        "next_page_available"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "run"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}

ツール呼び出しの例

スキーマ確認済みの架空値の例です。認可されたID、準備済みメディア、確認済みの公開日時に置き換え、書き込み前に適格性を確認してください。このページはAPIを呼びません。

{
  "name": "sosoapi_listening_runs_request",
  "arguments": {
    "workspace_id": "11111111-1111-4111-8111-111111111111",
    "mutation_id": "11111111-1111-4111-8111-111111111111",
    "stream_id": "11111111-1111-4111-8111-111111111111",
    "expected_stream_revision": 1
  }
}

structuredContent

{
  "run": {
    "id": "11111111-1111-4111-8111-111111111111",
    "workspace_id": "11111111-1111-4111-8111-111111111111",
    "stream_id": "11111111-1111-4111-8111-111111111111",
    "stream_revision": 1,
    "query_revision": 1,
    "generation": 1,
    "source": "hacker_news",
    "status": "queued",
    "reason": null,
    "requested_at": "2099-01-15T09:00:00Z",
    "completed_at": null,
    "retry_after": null,
    "result_count": 0,
    "provider_gets": 0,
    "coverage": "partial_indexed_sample",
    "exhaustive": false,
    "method_version": "hn-indexed-literal-sample/v1",
    "observation_counts": {
      "source_items": 0,
      "matched_items": 0,
      "removed_items": 0,
      "unavailable_items": 0
    },
    "window_since": "2099-01-15T09:00:00Z",
    "window_until": "2099-01-15T09:00:00Z",
    "page": 0,
    "next_page_available": false
  }
}
MCPをインストール・接続