OpenAPI Endpoint Inventory
Signal Foundry API の公開 endpoint、auth、credit、CLI equivalent、OpenAPI 化の準備状態を一覧化します。
このページの内容12項目
このページは、OpenAPI 化の前に固定する endpoint inventory です。
OpenAPI spec は external integration / SDK generation には有効です。ただし現時点では、CLI JSON contract と docs の recovery path を正本にします。OpenAPI は deferred で、endpoint visibility、auth、credit tag、response schema owner が揃ってから公開 contract にします。
契約サマリー
| Field | Value |
|---|---|
| Purpose | OpenAPI 公開前の endpoint inventory |
| Auth | production は API key 必須 |
| Account scope | API key の team workspace scope |
| Credit | endpoint tag と Credit Schedule に従う |
| CLI equivalent | endpoint ごとに対応 command を明記 |
| OpenAPI status | deferred |
リクエスト
この page 自体は API endpoint ではありません。API を直接組み込む前に、該当 endpoint の docs と CLI equivalent を確認します。
最小の read request:
curl -s "$SIGNAL_FOUNDRY_BASE_URL/api/signal-foundry/companies?q=7203" \ -H "Authorization: Bearer <SIGNAL_FOUNDRY_API_KEY>"
同じ操作を CLI で先に通します。
sf companies search 7203 --json
レスポンス
endpoint ごとの response schema は各 docs page を正本にします。agent はまず次の種類の key を確認します。
{
"companies": [
{
"company": {
"company_id": "jpx_7203",
"display_name": "Toyota Motor Corporation"
},
"query_match": {
"identifier_matched": true
}
}
],
"meta": {
"returned_companies": 1
}
}
OpenAPI 公開前に、success response と error envelope の schema owner を endpoint group ごとに固定します。
Tag taxonomy
| Tag | Meaning |
|---|---|
public_read | API key で読む公開 endpoint。product credit は消費しない |
public_preview | 保存前の preview / estimate。product credit は消費しない |
public_write_free | 保存するが product credit を消費しない |
public_write_credit | execute / maxCredits / idempotency が必要な credit-consuming write |
advanced | public docs に載せるが通常は CLI / workflow から使う |
non_public | scheduler、delivery、ops worker など。OpenAPI public spec には出さない |
deferred | 方針はあるが v0 public contract ではない |
production は API key 必須です。通常 accountId / account_id は送らず、API key の team workspace scope に任せます。
Public read endpoints
| Method | Path | Tag | Credit | CLI equivalent | Docs |
|---|---|---|---|---|---|
GET | /api/signal-foundry/companies | public_read | 0 | sf companies search <query> --json | GET /companies |
GET | /api/signal-foundry/companies/{companyId}/profile | public_read | 0 | sf company profile <companyId> --json | Profile |
GET | /api/signal-foundry/companies/{companyId}/observations | public_read | 0 | sf company observations <companyId> --json | Company Observations |
GET | /api/signal-foundry/companies/{companyId}/filings | public_read | 0 | sf company filings <companyId> --json | Filings |
GET | /api/signal-foundry/companies/{companyId}/filings/{filingId} | public_read | 0 | sf filing show <companyId> <filingId> --json | Filing Show |
GET | /api/signal-foundry/companies/{companyId}/filings/{filingId}/compare | public_read | 0 | sf filing compare <companyId> <filingId> --json | Filing Compare |
POST | /api/signal-foundry/observations/search | public_read | 0 | sf observations search "<query>" --json | Observations Search |
GET | /api/signal-foundry/credits/balance | public_read | 0 | sf credits balance --json | Credits Balance |
GET | /api/signal-foundry/credits | public_read | 0 | sf credits summary --json | Credits Summary |
List workspace endpoints
| Method | Path | Tag | Credit | CLI equivalent | Docs |
|---|---|---|---|---|---|
GET | /api/signal-foundry/lists | public_read | 0 | sf list ls --json | Lists API |
GET | /api/signal-foundry/lists/{listId} | public_read | 0 | sf list show <listId> --json | Lists API |
GET | /api/signal-foundry/lists/{listId}/preview | public_read | 0 | sf list preview <listId> --json | Lists API |
POST | /api/signal-foundry/lists/estimate | public_preview | 0 | sf list estimate "<query>" --json | Lists Estimate |
GET | /api/signal-foundry/lists/candidates | public_preview | 0 | sf list candidates --from-estimate <estimateId> --json | Lists Candidates |
POST | /api/signal-foundry/lists/materialize | public_write_credit | saved row 分 | sf list materialize --from-estimate <estimateId> --execute --max-credits <n> --json | Lists Materialize |
POST | /api/signal-foundry/lists/{listId}/enrichments/estimate | public_preview | 0 | sf list enrich <listId> --source website --estimate --json | Lists Enrichments |
POST | /api/signal-foundry/lists/{listId}/enrichments/run | public_write_credit | source ごと | sf list enrich <listId> --source website --execute --max-credits <n> --json | Lists Enrichments |
GET | /api/signal-foundry/lists/{listId}/export | public_read | 0 | sf list export <listId> --format csv --output ./list.csv --json | Lists Export |
POST |
public_write_credit は execute: true、maxCredits、Idempotency-Key を要求します。CLI では --execute --max-credits <n> --json を使います。
Source endpoints
| Method | Path | Tag | Credit | CLI equivalent | Docs |
|---|---|---|---|---|---|
POST | /api/signal-foundry/sources/import | public_write_free | 0 | sf source import ./companies.csv --json | Source API |
GET | /api/signal-foundry/sources/{sourceId}/inspect | public_read | 0 | sf source inspect <sourceId> --json | Source API |
POST | /api/signal-foundry/sources/{sourceId}/map | public_write_free | 0 | sf source map <sourceId> --entity company ... --json | Source API |
POST | /api/signal-foundry/sources/{sourceId}/resolve | public_write_credit | matched row 分 | sf source resolve <sourceId> --execute --max-credits <n> --json | Source API |
GET | /api/signal-foundry/sources/{sourceId}/review | public_read | 0 | sf source review <sourceId> --status multiple_candidates --json | Source API |
POST | /api/signal-foundry/sources/{sourceId}/select | public_write_credit | 新規確定 row ごとに 1 | sf source select <sourceId> --row <sourceRowId> --company <companyId> --max-credits 1 --json | Source API |
Research / feedback endpoints
| Method | Path | Tag | Credit | CLI equivalent | Docs |
|---|---|---|---|---|---|
GET | /api/signal-foundry/research/items | public_read | 0 | sf research ls --json | Research Items |
POST | /api/signal-foundry/research/items | public_write_free | 0 | sf research add <companyId> --content-file ./note.md --json | Research Items |
POST | /api/signal-foundry/research/external/estimate | advanced | 0 | 通常は sf research add | External Research |
POST | /api/signal-foundry/research/external/fetch | advanced | estimate に応じる | sf research add <companyId> --content-file ./note.md --json | External Research |
GET | /api/signal-foundry/research/external | advanced | 0 | sf research ls --json | External Research |
POST | /api/signal-foundry/feedback | public_write_free | 0 | sf feedback create "..." --json | Feedback API |
Non-public routes
次の routes は public OpenAPI spec には入れません。
| Route family | Reason |
|---|---|
/api/signal-foundry/lists/run-due-refreshes | scheduler / operations |
/api/signal-foundry/lists/run-pending-deliveries | scheduler / delivery worker |
/api/signal-foundry/lists/{listId}/deliver / delivery | delivery lifecycle |
/api/signal-foundry/lists/{listId}/schedule | app / scheduler coordination |
/api/signal-foundry/lists/{listId}/publish / status / suppressions / workspace-preferences | app control plane |
/api/signal-foundry/lists/{listId}/diff-rows/{diffRowId}/review / exclusion | app review state |
/api/signal-foundry/job-artifacts | job artifact storage; CLI docs are the current contract |
/api/signal-foundry/usage/* | app usage summary; customer-facing route is API key settings / credits docs |
/api/signal-foundry/discovery/runs/{runId} | discovery recovery route; CLI workflow remains the public entry |
non_public は、外部 integration contract として support しない route です。公開 docs では CLI / workflow / API overview から辿れる route を正本にします。
OpenAPI readiness checklist
| Area | Required state before public spec |
|---|---|
| Endpoint visibility | public_read / public_preview / public_write_free / public_write_credit / advanced / non_public が固定されている |
| Request schema | query / params / body schema が export 可能 |
| Response schema | success response と error envelope の owner が決まっている |
| Auth tag | API key required / ops worker / scheduler が route ごとに固定されている |
| Credit tag | free / preview / basic credit / enrichment credit / conditional が route ごとに固定されている |
| CLI equivalent | agent が最初に使う command が endpoint と対応している |
| Recovery | error code と次 command が docs にある |
次に読むページ
- API overview: API リファレンス
- data provenance: Data Provenance
- credit contract: Credit Schedule
- direct API auth: API Key Authentication
復旧方法
| Error | 次に見る page / command | 復旧 |
|---|---|---|
invalid_api_key | sf auth show --json | API key を再発行し、CLI 設定を更新する |
account_scope_conflict | Account Scope | request 側の account 指定を外し、API key の team workspace scope に任せる |
max_credits_required | Credit Schedule | execute / maxCredits または --execute --max-credits <n> を付ける |
unsupported / weak / needs_human | sf data capabilities --json | silent 0 件にせず、人間へ coverage gap を返す |