{"openapi":"3.1.0","info":{"title":"Shoshiki API（ショシキ）","version":"1.0.0","description":"日本の書類の API。帳票 PDF（適格請求書の記載事項の検査つき）・Stripe の領収書・書類の読み取り・インボイス登録番号の確認と見張り。認証は Authorization: Bearer shk_live_...。金額と税額はサーバーが計算する。","contact":{"name":"合同会社SBGG","email":"info@sbgg.jp","url":"https://sbgg.jp"}},"servers":[{"url":"https://shoshiki.com"}],"security":[{"bearer":[]}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","bearerFormat":"shk_live_..."}},"schemas":{"Error":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"issues":{"type":"array","items":{"$ref":"#/components/schemas/Issue"}}},"required":["code","message"]}}},"Issue":{"type":"object","properties":{"path":{"type":"string"},"code":{"type":"string"},"message":{"type":"string"},"expected":{}}},"Party":{"type":"object","properties":{"name":{"type":"string"},"honorific":{"type":"string","enum":["御中","様",""]},"postal_code":{"type":"string"},"address":{"type":"string"},"phone":{"type":"string"},"email":{"type":"string"},"registration_number":{"type":"string","description":"T＋13桁（検査用数字を確かめる）"}}},"Line":{"type":"object","required":["description"],"properties":{"description":{"type":"string"},"quantity":{"type":"number","default":1},"unit":{"type":"string"},"unit_price":{"type":"number"},"amount":{"type":"number","description":"明細の金額をそのまま渡すとき（数量×単価を使わない）"},"tax_rate":{"type":"integer","enum":[10,8,0],"default":10}}},"BusinessDoc":{"type":"object","required":["issue_date","issuer"],"properties":{"title":{"type":"string"},"number":{"type":"string"},"issue_date":{"type":"string","format":"date"},"transaction_date":{"type":"string","format":"date"},"transaction_period":{"type":"object","properties":{"from":{"type":"string","format":"date"},"to":{"type":"string","format":"date"}}},"due_date":{"type":"string","format":"date"},"issuer":{"$ref":"#/components/schemas/Party"},"recipient":{"$ref":"#/components/schemas/Party"},"lines":{"type":"array","items":{"$ref":"#/components/schemas/Line"}},"prices":{"type":"string","enum":["exclusive","inclusive"],"default":"exclusive"},"rounding":{"type":"string","enum":["floor","round","ceil"],"default":"floor"},"tax_amounts":{"type":"array","items":{"type":"object","properties":{"tax_rate":{"type":"integer"},"tax":{"type":"number"}}},"description":"送ると計算と照らす（合わなければ tax_mismatch）"},"qualified":{"type":"boolean","default":false,"description":"true で適格請求書の記載事項を検査し、「適格請求書」と登録番号を印字する"},"received_for":{"type":"string","description":"領収書の但し書き"},"received_date":{"type":"string","format":"date"},"issuer_business":{"type":"string","enum":["retail","restaurant","photo","travel","taxi","parking","similar","other"],"description":"発行者の業種。宛名なしの領収書を「適格簡易請求書」にできるのは retail〜similar（消費税法施行令70条の11）だけ。指定なし・other で qualified の領収書は宛名が必要"},"payment_method":{"type":"string","description":"領収書の支払方法（例：クレジットカード）。「お支払方法」として印字する"},"notes":{"type":"string"},"payment":{"type":"string","description":"お振込先"}}},"TaxResult":{"type":"object","properties":{"by_rate":{"type":"array","items":{"type":"object","properties":{"tax_rate":{"type":"integer"},"subtotal":{"type":"integer"},"net":{"type":"integer"},"tax":{"type":"integer"},"gross":{"type":"integer"}}}},"net_total":{"type":"integer"},"tax_total":{"type":"integer"},"total":{"type":"integer"}}},"Registration":{"type":"object","properties":{"input":{"type":"string"},"number":{"type":["string","null"]},"valid_format":{"type":"boolean"},"error":{"type":"string","enum":["invalid_format","invalid_check_digit"],"description":"invalid_check_digit は T なしの法人番号だけ。T 付きの登録番号は検査用数字で誤りとせず、status（国税庁の公表情報との照合）で判定する"},"check_digit":{"type":"string","enum":["ok","mismatch"],"description":"T 付きの番号の検査用数字が法人番号の式と合うか（参考。mismatch でも誤りとは限らない）"},"status":{"type":"string","enum":["registered","expired","revoked","deleted","not_found","unknown"]},"name":{"type":["string","null"],"description":"法人だけ（個人は公表情報のダウンロードに載らない）"},"registered_on":{"type":["string","null"]},"disposal_on":{"type":["string","null"]},"expire_on":{"type":["string","null"]},"data_as_of":{"type":["string","null"]},"source_status":{"type":"string","enum":["ok","pending"]}}},"WebhookEvent":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","enum":["receipt.created","receipt.reissued","registration.revoked","registration.expired","registration.changed","quota.reached"]},"created":{"type":"integer"},"data":{"type":"object"}}}}},"paths":{"/api/v1/connections/resend/domains":{"get":{"summary":"Resend: domains（読取・接続確認）","description":"integrations:read が必要。キーに固定されたプロジェクト・live/test区分の接続だけを使用。操作は一覧先頭ページまたは認証確認に限定。区分名は提供者のsandboxを作成しない。","parameters":[{"name":"project","in":"query","schema":{"type":"string","pattern":"^[a-z0-9][a-z0-9_-]{0,47}$"},"description":"省略時はキーのプロジェクト。異なる値は403。"},{"name":"environment","in":"query","schema":{"type":"string","enum":["live","test"]},"description":"省略時はキーの区分。異なる値は403。"}],"responses":{"200":{"description":"接続先の必要最小限の情報","content":{"application/json":{"schema":{"type":"object","required":["resources","hasMore"],"properties":{"resources":{"type":"array","items":{"type":"object","required":["id","name"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"status":{"type":"string"}}}},"hasMore":{"type":["boolean","null"],"description":"nullは続きの有無が不明。全件取得を保証しない。"}}}}}},"401":{"description":"鍵がない・正しくない","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"この鍵では使えない製品","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"未接続・検証中・接続変更との競合","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"資格情報・権限または入力が不適切","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"今月の上限（quota_exceeded）か、1分の回数（rate_limited）","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"提供者に接続できない","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"機能停止・DB/暗号化設定待ち","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/connections/vercel/projects":{"get":{"summary":"Vercel: projects（読取・接続確認）","description":"integrations:read が必要。キーに固定されたプロジェクト・live/test区分の接続だけを使用。操作は一覧先頭ページまたは認証確認に限定。区分名は提供者のsandboxを作成しない。","parameters":[{"name":"project","in":"query","schema":{"type":"string","pattern":"^[a-z0-9][a-z0-9_-]{0,47}$"},"description":"省略時はキーのプロジェクト。異なる値は403。"},{"name":"environment","in":"query","schema":{"type":"string","enum":["live","test"]},"description":"省略時はキーの区分。異なる値は403。"}],"responses":{"200":{"description":"接続先の必要最小限の情報","content":{"application/json":{"schema":{"type":"object","required":["resources","hasMore"],"properties":{"resources":{"type":"array","items":{"type":"object","required":["id","name"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"status":{"type":"string"}}}},"hasMore":{"type":["boolean","null"],"description":"nullは続きの有無が不明。全件取得を保証しない。"}}}}}},"401":{"description":"鍵がない・正しくない","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"この鍵では使えない製品","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"未接続・検証中・接続変更との競合","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"資格情報・権限または入力が不適切","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"今月の上限（quota_exceeded）か、1分の回数（rate_limited）","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"提供者に接続できない","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"機能停止・DB/暗号化設定待ち","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/connections/supabase/projects":{"get":{"summary":"Supabase: projects（読取・接続確認）","description":"integrations:read が必要。キーに固定されたプロジェクト・live/test区分の接続だけを使用。操作は一覧先頭ページまたは認証確認に限定。区分名は提供者のsandboxを作成しない。","parameters":[{"name":"project","in":"query","schema":{"type":"string","pattern":"^[a-z0-9][a-z0-9_-]{0,47}$"},"description":"省略時はキーのプロジェクト。異なる値は403。"},{"name":"environment","in":"query","schema":{"type":"string","enum":["live","test"]},"description":"省略時はキーの区分。異なる値は403。"}],"responses":{"200":{"description":"接続先の必要最小限の情報","content":{"application/json":{"schema":{"type":"object","required":["resources","hasMore"],"properties":{"resources":{"type":"array","items":{"type":"object","required":["id","name"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"status":{"type":"string"}}}},"hasMore":{"type":["boolean","null"],"description":"nullは続きの有無が不明。全件取得を保証しない。"}}}}}},"401":{"description":"鍵がない・正しくない","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"この鍵では使えない製品","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"未接続・検証中・接続変更との競合","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"資格情報・権限または入力が不適切","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"今月の上限（quota_exceeded）か、1分の回数（rate_limited）","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"提供者に接続できない","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"機能停止・DB/暗号化設定待ち","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/connections/cloudflare/verify":{"get":{"summary":"Cloudflare: verify（読取・接続確認）","description":"integrations:read が必要。キーに固定されたプロジェクト・live/test区分の接続だけを使用。操作は一覧先頭ページまたは認証確認に限定。区分名は提供者のsandboxを作成しない。","parameters":[{"name":"project","in":"query","schema":{"type":"string","pattern":"^[a-z0-9][a-z0-9_-]{0,47}$"},"description":"省略時はキーのプロジェクト。異なる値は403。"},{"name":"environment","in":"query","schema":{"type":"string","enum":["live","test"]},"description":"省略時はキーの区分。異なる値は403。"}],"responses":{"200":{"description":"接続先の必要最小限の情報","content":{"application/json":{"schema":{"type":"object","required":["resources","hasMore"],"properties":{"resources":{"type":"array","items":{"type":"object","required":["id","name"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"status":{"type":"string"}}}},"hasMore":{"type":["boolean","null"],"description":"nullは続きの有無が不明。全件取得を保証しない。"}}}}}},"401":{"description":"鍵がない・正しくない","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"この鍵では使えない製品","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"未接続・検証中・接続変更との競合","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"資格情報・権限または入力が不適切","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"今月の上限（quota_exceeded）か、1分の回数（rate_limited）","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"提供者に接続できない","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"機能停止・DB/暗号化設定待ち","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/connections/neon/projects":{"get":{"summary":"Neon: projects（読取・接続確認）","description":"integrations:read が必要。キーに固定されたプロジェクト・live/test区分の接続だけを使用。操作は一覧先頭ページまたは認証確認に限定。区分名は提供者のsandboxを作成しない。","parameters":[{"name":"project","in":"query","schema":{"type":"string","pattern":"^[a-z0-9][a-z0-9_-]{0,47}$"},"description":"省略時はキーのプロジェクト。異なる値は403。"},{"name":"environment","in":"query","schema":{"type":"string","enum":["live","test"]},"description":"省略時はキーの区分。異なる値は403。"}],"responses":{"200":{"description":"接続先の必要最小限の情報","content":{"application/json":{"schema":{"type":"object","required":["resources","hasMore"],"properties":{"resources":{"type":"array","items":{"type":"object","required":["id","name"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"status":{"type":"string"}}}},"hasMore":{"type":["boolean","null"],"description":"nullは続きの有無が不明。全件取得を保証しない。"}}}}}},"401":{"description":"鍵がない・正しくない","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"この鍵では使えない製品","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"未接続・検証中・接続変更との競合","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"資格情報・権限または入力が不適切","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"今月の上限（quota_exceeded）か、1分の回数（rate_limited）","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"提供者に接続できない","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"機能停止・DB/暗号化設定待ち","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/connections/netlify/sites":{"get":{"summary":"Netlify: sites（読取・接続確認）","description":"integrations:read が必要。キーに固定されたプロジェクト・live/test区分の接続だけを使用。操作は一覧先頭ページまたは認証確認に限定。区分名は提供者のsandboxを作成しない。","parameters":[{"name":"project","in":"query","schema":{"type":"string","pattern":"^[a-z0-9][a-z0-9_-]{0,47}$"},"description":"省略時はキーのプロジェクト。異なる値は403。"},{"name":"environment","in":"query","schema":{"type":"string","enum":["live","test"]},"description":"省略時はキーの区分。異なる値は403。"}],"responses":{"200":{"description":"接続先の必要最小限の情報","content":{"application/json":{"schema":{"type":"object","required":["resources","hasMore"],"properties":{"resources":{"type":"array","items":{"type":"object","required":["id","name"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"status":{"type":"string"}}}},"hasMore":{"type":["boolean","null"],"description":"nullは続きの有無が不明。全件取得を保証しない。"}}}}}},"401":{"description":"鍵がない・正しくない","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"この鍵では使えない製品","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"未接続・検証中・接続変更との競合","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"資格情報・権限または入力が不適切","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"今月の上限（quota_exceeded）か、1分の回数（rate_limited）","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"提供者に接続できない","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"機能停止・DB/暗号化設定待ち","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/connections/sentry/organizations":{"get":{"summary":"Sentry: organizations（読取・接続確認）","description":"integrations:read が必要。キーに固定されたプロジェクト・live/test区分の接続だけを使用。操作は一覧先頭ページまたは認証確認に限定。区分名は提供者のsandboxを作成しない。","parameters":[{"name":"project","in":"query","schema":{"type":"string","pattern":"^[a-z0-9][a-z0-9_-]{0,47}$"},"description":"省略時はキーのプロジェクト。異なる値は403。"},{"name":"environment","in":"query","schema":{"type":"string","enum":["live","test"]},"description":"省略時はキーの区分。異なる値は403。"}],"responses":{"200":{"description":"接続先の必要最小限の情報","content":{"application/json":{"schema":{"type":"object","required":["resources","hasMore"],"properties":{"resources":{"type":"array","items":{"type":"object","required":["id","name"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"status":{"type":"string"}}}},"hasMore":{"type":["boolean","null"],"description":"nullは続きの有無が不明。全件取得を保証しない。"}}}}}},"401":{"description":"鍵がない・正しくない","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"この鍵では使えない製品","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"未接続・検証中・接続変更との競合","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"資格情報・権限または入力が不適切","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"今月の上限（quota_exceeded）か、1分の回数（rate_limited）","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"提供者に接続できない","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"機能停止・DB/暗号化設定待ち","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/connections/notion/identity":{"get":{"summary":"Notion: identity（読取・接続確認）","description":"integrations:read が必要。キーに固定されたプロジェクト・live/test区分の接続だけを使用。操作は一覧先頭ページまたは認証確認に限定。区分名は提供者のsandboxを作成しない。","parameters":[{"name":"project","in":"query","schema":{"type":"string","pattern":"^[a-z0-9][a-z0-9_-]{0,47}$"},"description":"省略時はキーのプロジェクト。異なる値は403。"},{"name":"environment","in":"query","schema":{"type":"string","enum":["live","test"]},"description":"省略時はキーの区分。異なる値は403。"}],"responses":{"200":{"description":"接続先の必要最小限の情報","content":{"application/json":{"schema":{"type":"object","required":["resources","hasMore"],"properties":{"resources":{"type":"array","items":{"type":"object","required":["id","name"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"status":{"type":"string"}}}},"hasMore":{"type":["boolean","null"],"description":"nullは続きの有無が不明。全件取得を保証しない。"}}}}}},"401":{"description":"鍵がない・正しくない","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"この鍵では使えない製品","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"未接続・検証中・接続変更との競合","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"資格情報・権限または入力が不適切","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"今月の上限（quota_exceeded）か、1分の回数（rate_limited）","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"提供者に接続できない","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"機能停止・DB/暗号化設定待ち","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/connections/slack/identity":{"get":{"summary":"Slack: identity（読取・接続確認）","description":"integrations:read が必要。キーに固定されたプロジェクト・live/test区分の接続だけを使用。操作は一覧先頭ページまたは認証確認に限定。区分名は提供者のsandboxを作成しない。","parameters":[{"name":"project","in":"query","schema":{"type":"string","pattern":"^[a-z0-9][a-z0-9_-]{0,47}$"},"description":"省略時はキーのプロジェクト。異なる値は403。"},{"name":"environment","in":"query","schema":{"type":"string","enum":["live","test"]},"description":"省略時はキーの区分。異なる値は403。"}],"responses":{"200":{"description":"接続先の必要最小限の情報","content":{"application/json":{"schema":{"type":"object","required":["resources","hasMore"],"properties":{"resources":{"type":"array","items":{"type":"object","required":["id","name"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"status":{"type":"string"}}}},"hasMore":{"type":["boolean","null"],"description":"nullは続きの有無が不明。全件取得を保証しない。"}}}}}},"401":{"description":"鍵がない・正しくない","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"この鍵では使えない製品","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"未接続・検証中・接続変更との競合","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"資格情報・権限または入力が不適切","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"今月の上限（quota_exceeded）か、1分の回数（rate_limited）","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"提供者に接続できない","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"機能停止・DB/暗号化設定待ち","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/connections/github/repositories":{"get":{"summary":"GitHub: repositories（読取・接続確認）","description":"integrations:read が必要。キーに固定されたプロジェクト・live/test区分の接続だけを使用。操作は一覧先頭ページまたは認証確認に限定。区分名は提供者のsandboxを作成しない。","parameters":[{"name":"project","in":"query","schema":{"type":"string","pattern":"^[a-z0-9][a-z0-9_-]{0,47}$"},"description":"省略時はキーのプロジェクト。異なる値は403。"},{"name":"environment","in":"query","schema":{"type":"string","enum":["live","test"]},"description":"省略時はキーの区分。異なる値は403。"}],"responses":{"200":{"description":"接続先の必要最小限の情報","content":{"application/json":{"schema":{"type":"object","required":["resources","hasMore"],"properties":{"resources":{"type":"array","items":{"type":"object","required":["id","name"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"status":{"type":"string"}}}},"hasMore":{"type":["boolean","null"],"description":"nullは続きの有無が不明。全件取得を保証しない。"}}}}}},"401":{"description":"鍵がない・正しくない","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"この鍵では使えない製品","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"未接続・検証中・接続変更との競合","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"資格情報・権限または入力が不適切","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"今月の上限（quota_exceeded）か、1分の回数（rate_limited）","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"提供者に接続できない","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"機能停止・DB/暗号化設定待ち","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/connections/airtable/bases":{"get":{"summary":"Airtable: bases（読取・接続確認）","description":"integrations:read が必要。キーに固定されたプロジェクト・live/test区分の接続だけを使用。操作は一覧先頭ページまたは認証確認に限定。区分名は提供者のsandboxを作成しない。","parameters":[{"name":"project","in":"query","schema":{"type":"string","pattern":"^[a-z0-9][a-z0-9_-]{0,47}$"},"description":"省略時はキーのプロジェクト。異なる値は403。"},{"name":"environment","in":"query","schema":{"type":"string","enum":["live","test"]},"description":"省略時はキーの区分。異なる値は403。"}],"responses":{"200":{"description":"接続先の必要最小限の情報","content":{"application/json":{"schema":{"type":"object","required":["resources","hasMore"],"properties":{"resources":{"type":"array","items":{"type":"object","required":["id","name"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"status":{"type":"string"}}}},"hasMore":{"type":["boolean","null"],"description":"nullは続きの有無が不明。全件取得を保証しない。"}}}}}},"401":{"description":"鍵がない・正しくない","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"この鍵では使えない製品","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"未接続・検証中・接続変更との競合","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"資格情報・権限または入力が不適切","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"今月の上限（quota_exceeded）か、1分の回数（rate_limited）","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"提供者に接続できない","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"機能停止・DB/暗号化設定待ち","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/connections/linear/teams":{"get":{"summary":"Linear: teams（読取・接続確認）","description":"integrations:read が必要。キーに固定されたプロジェクト・live/test区分の接続だけを使用。操作は一覧先頭ページまたは認証確認に限定。区分名は提供者のsandboxを作成しない。","parameters":[{"name":"project","in":"query","schema":{"type":"string","pattern":"^[a-z0-9][a-z0-9_-]{0,47}$"},"description":"省略時はキーのプロジェクト。異なる値は403。"},{"name":"environment","in":"query","schema":{"type":"string","enum":["live","test"]},"description":"省略時はキーの区分。異なる値は403。"}],"responses":{"200":{"description":"接続先の必要最小限の情報","content":{"application/json":{"schema":{"type":"object","required":["resources","hasMore"],"properties":{"resources":{"type":"array","items":{"type":"object","required":["id","name"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"status":{"type":"string"}}}},"hasMore":{"type":["boolean","null"],"description":"nullは続きの有無が不明。全件取得を保証しない。"}}}}}},"401":{"description":"鍵がない・正しくない","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"この鍵では使えない製品","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"未接続・検証中・接続変更との競合","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"資格情報・権限または入力が不適切","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"今月の上限（quota_exceeded）か、1分の回数（rate_limited）","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"提供者に接続できない","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"機能停止・DB/暗号化設定待ち","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/connections/todoist/projects":{"get":{"summary":"Todoist: projects（読取・接続確認）","description":"integrations:read が必要。キーに固定されたプロジェクト・live/test区分の接続だけを使用。操作は一覧先頭ページまたは認証確認に限定。区分名は提供者のsandboxを作成しない。","parameters":[{"name":"project","in":"query","schema":{"type":"string","pattern":"^[a-z0-9][a-z0-9_-]{0,47}$"},"description":"省略時はキーのプロジェクト。異なる値は403。"},{"name":"environment","in":"query","schema":{"type":"string","enum":["live","test"]},"description":"省略時はキーの区分。異なる値は403。"}],"responses":{"200":{"description":"接続先の必要最小限の情報","content":{"application/json":{"schema":{"type":"object","required":["resources","hasMore"],"properties":{"resources":{"type":"array","items":{"type":"object","required":["id","name"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"status":{"type":"string"}}}},"hasMore":{"type":["boolean","null"],"description":"nullは続きの有無が不明。全件取得を保証しない。"}}}}}},"401":{"description":"鍵がない・正しくない","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"この鍵では使えない製品","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"未接続・検証中・接続変更との競合","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"資格情報・権限または入力が不適切","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"今月の上限（quota_exceeded）か、1分の回数（rate_limited）","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"提供者に接続できない","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"機能停止・DB/暗号化設定待ち","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/connections/render/services":{"get":{"summary":"Render: services（読取・接続確認）","description":"integrations:read が必要。キーに固定されたプロジェクト・live/test区分の接続だけを使用。操作は一覧先頭ページまたは認証確認に限定。区分名は提供者のsandboxを作成しない。","parameters":[{"name":"project","in":"query","schema":{"type":"string","pattern":"^[a-z0-9][a-z0-9_-]{0,47}$"},"description":"省略時はキーのプロジェクト。異なる値は403。"},{"name":"environment","in":"query","schema":{"type":"string","enum":["live","test"]},"description":"省略時はキーの区分。異なる値は403。"}],"responses":{"200":{"description":"接続先の必要最小限の情報","content":{"application/json":{"schema":{"type":"object","required":["resources","hasMore"],"properties":{"resources":{"type":"array","items":{"type":"object","required":["id","name"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"status":{"type":"string"}}}},"hasMore":{"type":["boolean","null"],"description":"nullは続きの有無が不明。全件取得を保証しない。"}}}}}},"401":{"description":"鍵がない・正しくない","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"この鍵では使えない製品","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"未接続・検証中・接続変更との競合","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"資格情報・権限または入力が不適切","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"今月の上限（quota_exceeded）か、1分の回数（rate_limited）","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"提供者に接続できない","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"機能停止・DB/暗号化設定待ち","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/connections/clerk/domains":{"get":{"summary":"Clerk: domains（読取・接続確認）","description":"integrations:read が必要。キーに固定されたプロジェクト・live/test区分の接続だけを使用。操作は一覧先頭ページまたは認証確認に限定。区分名は提供者のsandboxを作成しない。","parameters":[{"name":"project","in":"query","schema":{"type":"string","pattern":"^[a-z0-9][a-z0-9_-]{0,47}$"},"description":"省略時はキーのプロジェクト。異なる値は403。"},{"name":"environment","in":"query","schema":{"type":"string","enum":["live","test"]},"description":"省略時はキーの区分。異なる値は403。"}],"responses":{"200":{"description":"接続先の必要最小限の情報","content":{"application/json":{"schema":{"type":"object","required":["resources","hasMore"],"properties":{"resources":{"type":"array","items":{"type":"object","required":["id","name"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"status":{"type":"string"}}}},"hasMore":{"type":["boolean","null"],"description":"nullは続きの有無が不明。全件取得を保証しない。"}}}}}},"401":{"description":"鍵がない・正しくない","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"この鍵では使えない製品","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"未接続・検証中・接続変更との競合","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"資格情報・権限または入力が不適切","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"今月の上限（quota_exceeded）か、1分の回数（rate_limited）","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"提供者に接続できない","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"機能停止・DB/暗号化設定待ち","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/connections/sendgrid/scopes":{"get":{"summary":"SendGrid: scopes（読取・接続確認）","description":"integrations:read が必要。キーに固定されたプロジェクト・live/test区分の接続だけを使用。操作は一覧先頭ページまたは認証確認に限定。区分名は提供者のsandboxを作成しない。","parameters":[{"name":"project","in":"query","schema":{"type":"string","pattern":"^[a-z0-9][a-z0-9_-]{0,47}$"},"description":"省略時はキーのプロジェクト。異なる値は403。"},{"name":"environment","in":"query","schema":{"type":"string","enum":["live","test"]},"description":"省略時はキーの区分。異なる値は403。"}],"responses":{"200":{"description":"接続先の必要最小限の情報","content":{"application/json":{"schema":{"type":"object","required":["resources","hasMore"],"properties":{"resources":{"type":"array","items":{"type":"object","required":["id","name"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"status":{"type":"string"}}}},"hasMore":{"type":["boolean","null"],"description":"nullは続きの有無が不明。全件取得を保証しない。"}}}}}},"401":{"description":"鍵がない・正しくない","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"この鍵では使えない製品","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"未接続・検証中・接続変更との競合","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"資格情報・権限または入力が不適切","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"今月の上限（quota_exceeded）か、1分の回数（rate_limited）","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"提供者に接続できない","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"機能停止・DB/暗号化設定待ち","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/connections/postmark/server":{"get":{"summary":"Postmark: server（読取・接続確認）","description":"integrations:read が必要。キーに固定されたプロジェクト・live/test区分の接続だけを使用。操作は一覧先頭ページまたは認証確認に限定。区分名は提供者のsandboxを作成しない。","parameters":[{"name":"project","in":"query","schema":{"type":"string","pattern":"^[a-z0-9][a-z0-9_-]{0,47}$"},"description":"省略時はキーのプロジェクト。異なる値は403。"},{"name":"environment","in":"query","schema":{"type":"string","enum":["live","test"]},"description":"省略時はキーの区分。異なる値は403。"}],"responses":{"200":{"description":"接続先の必要最小限の情報","content":{"application/json":{"schema":{"type":"object","required":["resources","hasMore"],"properties":{"resources":{"type":"array","items":{"type":"object","required":["id","name"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"status":{"type":"string"}}}},"hasMore":{"type":["boolean","null"],"description":"nullは続きの有無が不明。全件取得を保証しない。"}}}}}},"401":{"description":"鍵がない・正しくない","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"この鍵では使えない製品","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"未接続・検証中・接続変更との競合","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"資格情報・権限または入力が不適切","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"今月の上限（quota_exceeded）か、1分の回数（rate_limited）","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"提供者に接続できない","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"機能停止・DB/暗号化設定待ち","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/connections/axiom/datasets":{"get":{"summary":"Axiom: datasets（読取・接続確認）","description":"integrations:read が必要。キーに固定されたプロジェクト・live/test区分の接続だけを使用。操作は一覧先頭ページまたは認証確認に限定。区分名は提供者のsandboxを作成しない。","parameters":[{"name":"project","in":"query","schema":{"type":"string","pattern":"^[a-z0-9][a-z0-9_-]{0,47}$"},"description":"省略時はキーのプロジェクト。異なる値は403。"},{"name":"environment","in":"query","schema":{"type":"string","enum":["live","test"]},"description":"省略時はキーの区分。異なる値は403。"}],"responses":{"200":{"description":"接続先の必要最小限の情報","content":{"application/json":{"schema":{"type":"object","required":["resources","hasMore"],"properties":{"resources":{"type":"array","items":{"type":"object","required":["id","name"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"status":{"type":"string"}}}},"hasMore":{"type":["boolean","null"],"description":"nullは続きの有無が不明。全件取得を保証しない。"}}}}}},"401":{"description":"鍵がない・正しくない","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"この鍵では使えない製品","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"未接続・検証中・接続変更との競合","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"資格情報・権限または入力が不適切","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"今月の上限（quota_exceeded）か、1分の回数（rate_limited）","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"提供者に接続できない","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"機能停止・DB/暗号化設定待ち","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/connections/pinecone/indexes":{"get":{"summary":"Pinecone: indexes（読取・接続確認）","description":"integrations:read が必要。キーに固定されたプロジェクト・live/test区分の接続だけを使用。操作は一覧先頭ページまたは認証確認に限定。区分名は提供者のsandboxを作成しない。","parameters":[{"name":"project","in":"query","schema":{"type":"string","pattern":"^[a-z0-9][a-z0-9_-]{0,47}$"},"description":"省略時はキーのプロジェクト。異なる値は403。"},{"name":"environment","in":"query","schema":{"type":"string","enum":["live","test"]},"description":"省略時はキーの区分。異なる値は403。"}],"responses":{"200":{"description":"接続先の必要最小限の情報","content":{"application/json":{"schema":{"type":"object","required":["resources","hasMore"],"properties":{"resources":{"type":"array","items":{"type":"object","required":["id","name"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"status":{"type":"string"}}}},"hasMore":{"type":["boolean","null"],"description":"nullは続きの有無が不明。全件取得を保証しない。"}}}}}},"401":{"description":"鍵がない・正しくない","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"この鍵では使えない製品","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"未接続・検証中・接続変更との競合","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"資格情報・権限または入力が不適切","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"今月の上限（quota_exceeded）か、1分の回数（rate_limited）","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"提供者に接続できない","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"機能停止・DB/暗号化設定待ち","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/connections/mistral/models":{"get":{"summary":"Mistral: models（読取・接続確認）","description":"integrations:read が必要。キーに固定されたプロジェクト・live/test区分の接続だけを使用。操作は一覧先頭ページまたは認証確認に限定。区分名は提供者のsandboxを作成しない。","parameters":[{"name":"project","in":"query","schema":{"type":"string","pattern":"^[a-z0-9][a-z0-9_-]{0,47}$"},"description":"省略時はキーのプロジェクト。異なる値は403。"},{"name":"environment","in":"query","schema":{"type":"string","enum":["live","test"]},"description":"省略時はキーの区分。異なる値は403。"}],"responses":{"200":{"description":"接続先の必要最小限の情報","content":{"application/json":{"schema":{"type":"object","required":["resources","hasMore"],"properties":{"resources":{"type":"array","items":{"type":"object","required":["id","name"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"status":{"type":"string"}}}},"hasMore":{"type":["boolean","null"],"description":"nullは続きの有無が不明。全件取得を保証しない。"}}}}}},"401":{"description":"鍵がない・正しくない","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"この鍵では使えない製品","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"未接続・検証中・接続変更との競合","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"資格情報・権限または入力が不適切","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"今月の上限（quota_exceeded）か、1分の回数（rate_limited）","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"提供者に接続できない","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"機能停止・DB/暗号化設定待ち","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/connections/openai/models":{"get":{"summary":"OpenAI: models（読取・接続確認）","description":"integrations:read が必要。キーに固定されたプロジェクト・live/test区分の接続だけを使用。操作は一覧先頭ページまたは認証確認に限定。区分名は提供者のsandboxを作成しない。","parameters":[{"name":"project","in":"query","schema":{"type":"string","pattern":"^[a-z0-9][a-z0-9_-]{0,47}$"},"description":"省略時はキーのプロジェクト。異なる値は403。"},{"name":"environment","in":"query","schema":{"type":"string","enum":["live","test"]},"description":"省略時はキーの区分。異なる値は403。"}],"responses":{"200":{"description":"接続先の必要最小限の情報","content":{"application/json":{"schema":{"type":"object","required":["resources","hasMore"],"properties":{"resources":{"type":"array","items":{"type":"object","required":["id","name"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"status":{"type":"string"}}}},"hasMore":{"type":["boolean","null"],"description":"nullは続きの有無が不明。全件取得を保証しない。"}}}}}},"401":{"description":"鍵がない・正しくない","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"この鍵では使えない製品","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"未接続・検証中・接続変更との競合","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"資格情報・権限または入力が不適切","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"今月の上限（quota_exceeded）か、1分の回数（rate_limited）","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"提供者に接続できない","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"機能停止・DB/暗号化設定待ち","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/connections/anthropic/models":{"get":{"summary":"Anthropic: models（読取・接続確認）","description":"integrations:read が必要。キーに固定されたプロジェクト・live/test区分の接続だけを使用。操作は一覧先頭ページまたは認証確認に限定。区分名は提供者のsandboxを作成しない。","parameters":[{"name":"project","in":"query","schema":{"type":"string","pattern":"^[a-z0-9][a-z0-9_-]{0,47}$"},"description":"省略時はキーのプロジェクト。異なる値は403。"},{"name":"environment","in":"query","schema":{"type":"string","enum":["live","test"]},"description":"省略時はキーの区分。異なる値は403。"}],"responses":{"200":{"description":"接続先の必要最小限の情報","content":{"application/json":{"schema":{"type":"object","required":["resources","hasMore"],"properties":{"resources":{"type":"array","items":{"type":"object","required":["id","name"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"status":{"type":"string"}}}},"hasMore":{"type":["boolean","null"],"description":"nullは続きの有無が不明。全件取得を保証しない。"}}}}}},"401":{"description":"鍵がない・正しくない","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"この鍵では使えない製品","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"未接続・検証中・接続変更との競合","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"資格情報・権限または入力が不適切","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"今月の上限（quota_exceeded）か、1分の回数（rate_limited）","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"提供者に接続できない","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"機能停止・DB/暗号化設定待ち","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/connections/gemini/models":{"get":{"summary":"Google Gemini: models（読取・接続確認）","description":"integrations:read が必要。キーに固定されたプロジェクト・live/test区分の接続だけを使用。操作は一覧先頭ページまたは認証確認に限定。区分名は提供者のsandboxを作成しない。","parameters":[{"name":"project","in":"query","schema":{"type":"string","pattern":"^[a-z0-9][a-z0-9_-]{0,47}$"},"description":"省略時はキーのプロジェクト。異なる値は403。"},{"name":"environment","in":"query","schema":{"type":"string","enum":["live","test"]},"description":"省略時はキーの区分。異なる値は403。"}],"responses":{"200":{"description":"接続先の必要最小限の情報","content":{"application/json":{"schema":{"type":"object","required":["resources","hasMore"],"properties":{"resources":{"type":"array","items":{"type":"object","required":["id","name"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"status":{"type":"string"}}}},"hasMore":{"type":["boolean","null"],"description":"nullは続きの有無が不明。全件取得を保証しない。"}}}}}},"401":{"description":"鍵がない・正しくない","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"この鍵では使えない製品","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"未接続・検証中・接続変更との競合","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"資格情報・権限または入力が不適切","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"今月の上限（quota_exceeded）か、1分の回数（rate_limited）","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"提供者に接続できない","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"機能停止・DB/暗号化設定待ち","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/connections/line/identity":{"get":{"summary":"LINE Messaging API: identity（読取・接続確認）","description":"integrations:read が必要。キーに固定されたプロジェクト・live/test区分の接続だけを使用。操作は一覧先頭ページまたは認証確認に限定。区分名は提供者のsandboxを作成しない。","parameters":[{"name":"project","in":"query","schema":{"type":"string","pattern":"^[a-z0-9][a-z0-9_-]{0,47}$"},"description":"省略時はキーのプロジェクト。異なる値は403。"},{"name":"environment","in":"query","schema":{"type":"string","enum":["live","test"]},"description":"省略時はキーの区分。異なる値は403。"}],"responses":{"200":{"description":"接続先の必要最小限の情報","content":{"application/json":{"schema":{"type":"object","required":["resources","hasMore"],"properties":{"resources":{"type":"array","items":{"type":"object","required":["id","name"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"status":{"type":"string"}}}},"hasMore":{"type":["boolean","null"],"description":"nullは続きの有無が不明。全件取得を保証しない。"}}}}}},"401":{"description":"鍵がない・正しくない","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"この鍵では使えない製品","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"未接続・検証中・接続変更との競合","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"資格情報・権限または入力が不適切","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"今月の上限（quota_exceeded）か、1分の回数（rate_limited）","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"提供者に接続できない","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"機能停止・DB/暗号化設定待ち","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/connections/qstash/queues":{"get":{"summary":"QStash: queues（読取・接続確認）","description":"integrations:read が必要。キーに固定されたプロジェクト・live/test区分の接続だけを使用。操作は一覧先頭ページまたは認証確認に限定。区分名は提供者のsandboxを作成しない。","parameters":[{"name":"project","in":"query","schema":{"type":"string","pattern":"^[a-z0-9][a-z0-9_-]{0,47}$"},"description":"省略時はキーのプロジェクト。異なる値は403。"},{"name":"environment","in":"query","schema":{"type":"string","enum":["live","test"]},"description":"省略時はキーの区分。異なる値は403。"}],"responses":{"200":{"description":"接続先の必要最小限の情報","content":{"application/json":{"schema":{"type":"object","required":["resources","hasMore"],"properties":{"resources":{"type":"array","items":{"type":"object","required":["id","name"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"status":{"type":"string"}}}},"hasMore":{"type":["boolean","null"],"description":"nullは続きの有無が不明。全件取得を保証しない。"}}}}}},"401":{"description":"鍵がない・正しくない","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"この鍵では使えない製品","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"未接続・検証中・接続変更との競合","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"資格情報・権限または入力が不適切","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"今月の上限（quota_exceeded）か、1分の回数（rate_limited）","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"提供者に接続できない","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"機能停止・DB/暗号化設定待ち","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/connections/turso/organizations":{"get":{"summary":"Turso: organizations（読取・接続確認）","description":"integrations:read が必要。キーに固定されたプロジェクト・live/test区分の接続だけを使用。操作は一覧先頭ページまたは認証確認に限定。区分名は提供者のsandboxを作成しない。","parameters":[{"name":"project","in":"query","schema":{"type":"string","pattern":"^[a-z0-9][a-z0-9_-]{0,47}$"},"description":"省略時はキーのプロジェクト。異なる値は403。"},{"name":"environment","in":"query","schema":{"type":"string","enum":["live","test"]},"description":"省略時はキーの区分。異なる値は403。"}],"responses":{"200":{"description":"接続先の必要最小限の情報","content":{"application/json":{"schema":{"type":"object","required":["resources","hasMore"],"properties":{"resources":{"type":"array","items":{"type":"object","required":["id","name"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"status":{"type":"string"}}}},"hasMore":{"type":["boolean","null"],"description":"nullは続きの有無が不明。全件取得を保証しない。"}}}}}},"401":{"description":"鍵がない・正しくない","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"この鍵では使えない製品","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"未接続・検証中・接続変更との競合","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"資格情報・権限または入力が不適切","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"今月の上限（quota_exceeded）か、1分の回数（rate_limited）","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"提供者に接続できない","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"機能停止・DB/暗号化設定待ち","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/connections/datadog/verify":{"get":{"summary":"Datadog: verify（読取・接続確認）","description":"integrations:read が必要。キーに固定されたプロジェクト・live/test区分の接続だけを使用。操作は一覧先頭ページまたは認証確認に限定。区分名は提供者のsandboxを作成しない。","parameters":[{"name":"project","in":"query","schema":{"type":"string","pattern":"^[a-z0-9][a-z0-9_-]{0,47}$"},"description":"省略時はキーのプロジェクト。異なる値は403。"},{"name":"environment","in":"query","schema":{"type":"string","enum":["live","test"]},"description":"省略時はキーの区分。異なる値は403。"}],"responses":{"200":{"description":"接続先の必要最小限の情報","content":{"application/json":{"schema":{"type":"object","required":["resources","hasMore"],"properties":{"resources":{"type":"array","items":{"type":"object","required":["id","name"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"status":{"type":"string"}}}},"hasMore":{"type":["boolean","null"],"description":"nullは続きの有無が不明。全件取得を保証しない。"}}}}}},"401":{"description":"鍵がない・正しくない","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"この鍵では使えない製品","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"未接続・検証中・接続変更との競合","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"資格情報・権限または入力が不適切","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"今月の上限（quota_exceeded）か、1分の回数（rate_limited）","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"提供者に接続できない","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"機能停止・DB/暗号化設定待ち","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/connections/newrelic/accounts":{"get":{"summary":"New Relic: accounts（読取・接続確認）","description":"integrations:read が必要。キーに固定されたプロジェクト・live/test区分の接続だけを使用。操作は一覧先頭ページまたは認証確認に限定。区分名は提供者のsandboxを作成しない。","parameters":[{"name":"project","in":"query","schema":{"type":"string","pattern":"^[a-z0-9][a-z0-9_-]{0,47}$"},"description":"省略時はキーのプロジェクト。異なる値は403。"},{"name":"environment","in":"query","schema":{"type":"string","enum":["live","test"]},"description":"省略時はキーの区分。異なる値は403。"}],"responses":{"200":{"description":"接続先の必要最小限の情報","content":{"application/json":{"schema":{"type":"object","required":["resources","hasMore"],"properties":{"resources":{"type":"array","items":{"type":"object","required":["id","name"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"status":{"type":"string"}}}},"hasMore":{"type":["boolean","null"],"description":"nullは続きの有無が不明。全件取得を保証しない。"}}}}}},"401":{"description":"鍵がない・正しくない","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"この鍵では使えない製品","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"未接続・検証中・接続変更との競合","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"資格情報・権限または入力が不適切","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"今月の上限（quota_exceeded）か、1分の回数（rate_limited）","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"提供者に接続できない","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"機能停止・DB/暗号化設定待ち","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/connections/posthog/organizations":{"get":{"summary":"PostHog: organizations（読取・接続確認）","description":"integrations:read が必要。キーに固定されたプロジェクト・live/test区分の接続だけを使用。操作は一覧先頭ページまたは認証確認に限定。区分名は提供者のsandboxを作成しない。","parameters":[{"name":"project","in":"query","schema":{"type":"string","pattern":"^[a-z0-9][a-z0-9_-]{0,47}$"},"description":"省略時はキーのプロジェクト。異なる値は403。"},{"name":"environment","in":"query","schema":{"type":"string","enum":["live","test"]},"description":"省略時はキーの区分。異なる値は403。"}],"responses":{"200":{"description":"接続先の必要最小限の情報","content":{"application/json":{"schema":{"type":"object","required":["resources","hasMore"],"properties":{"resources":{"type":"array","items":{"type":"object","required":["id","name"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"status":{"type":"string"}}}},"hasMore":{"type":["boolean","null"],"description":"nullは続きの有無が不明。全件取得を保証しない。"}}}}}},"401":{"description":"鍵がない・正しくない","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"この鍵では使えない製品","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"未接続・検証中・接続変更との競合","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"資格情報・権限または入力が不適切","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"今月の上限（quota_exceeded）か、1分の回数（rate_limited）","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"提供者に接続できない","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"機能停止・DB/暗号化設定待ち","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/ping":{"get":{"summary":"鍵の確かめ","responses":{"200":{"description":"ok"},"401":{"description":"鍵がない・正しくない","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"この鍵では使えない製品","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"今月の上限（quota_exceeded）か、1分の回数（rate_limited）","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/usage":{"get":{"summary":"今月の回数と上限","responses":{"200":{"description":"ok"},"401":{"description":"鍵がない・正しくない","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"この鍵では使えない製品","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"今月の上限（quota_exceeded）か、1分の回数（rate_limited）","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/pdf/render":{"post":{"summary":"帳票の PDF を作る（ショシキ PDF・1通として数える）","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["template","data"],"properties":{"template":{"type":"string","enum":["invoice","receipt","delivery_note","quote","postcard_address","postcard_letter","address_labels"]},"data":{"type":"object","description":"invoice・receipt・delivery_note・quote は BusinessDoc。postcard_address・postcard_letter・address_labels は説明を参照"},"options":{"type":"object","properties":{"draw_postal_boxes":{"type":"boolean"}}}}}}}},"responses":{"200":{"description":"PDF（Accept: application/json なら pdf_base64）","content":{"application/pdf":{"schema":{"type":"string","format":"binary"}}}},"401":{"description":"鍵がない・正しくない","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"この鍵では使えない製品","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"記載事項の不足など（issues）","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"今月の上限（quota_exceeded）か、1分の回数（rate_limited）","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/pdf/validate":{"post":{"summary":"検査だけ（数えない）","responses":{"200":{"description":"{ok, issues, totals}"},"401":{"description":"鍵がない・正しくない","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"この鍵では使えない製品","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"今月の上限（quota_exceeded）か、1分の回数（rate_limited）","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/tax/calc":{"post":{"summary":"税率ごとの合計と税額（数えない）","responses":{"200":{"description":"ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaxResult"}}}},"401":{"description":"鍵がない・正しくない","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"この鍵では使えない製品","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"今月の上限（quota_exceeded）か、1分の回数（rate_limited）","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/receipts":{"get":{"summary":"領収書の一覧（ショシキ 領収書便）","parameters":[{"name":"limit","in":"query","schema":{"type":"integer"}},{"name":"offset","in":"query","schema":{"type":"integer"}}],"responses":{"200":{"description":"ok"},"401":{"description":"鍵がない・正しくない","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"この鍵では使えない製品","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"今月の上限（quota_exceeded）か、1分の回数（rate_limited）","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/receipts/{id}":{"get":{"summary":"領収書と版の履歴","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"ok"},"401":{"description":"鍵がない・正しくない","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"この鍵では使えない製品","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"今月の上限（quota_exceeded）か、1分の回数（rate_limited）","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/receipts/{id}/pdf":{"get":{"summary":"領収書の PDF（今の版）","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"PDF","content":{"application/pdf":{"schema":{"type":"string","format":"binary"}}}},"401":{"description":"鍵がない・正しくない","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"この鍵では使えない製品","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"今月の上限（quota_exceeded）か、1分の回数（rate_limited）","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/extract":{"post":{"summary":"書類の写真・PDF を読む（ショシキ よみとり・1ページ＝1枚）","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["file","media_type"],"properties":{"file":{"type":"string","description":"base64（10MB まで）"},"media_type":{"type":"string","enum":["image/jpeg","image/png","image/webp","image/gif","application/pdf"]},"document_type":{"type":"string","enum":["invoice","receipt","delivery_note","quote","auto"]},"format":{"type":"string","enum":["json","csv"],"default":"json","description":"応答の形。省略時は JSON"},"csv":{"type":"object","additionalProperties":false,"description":"format: csv のときだけ指定できます。回数・読み直し・検算は JSON と同じです","properties":{"mode":{"type":"string","enum":["summary","lines"],"default":"summary","description":"summary は1書類1行、lines は1明細1行"},"columns":{"type":"array","items":{"type":"string"},"minItems":1,"description":"列の名前。省略時は標準の列。知らない列は 422。summary: company_name, date, document_number, total, subtotal, check_result, review_items, tax_total, document_type, recipient_name, registration_number, due_date, transaction_date, company_address, company_phone, prices_include_tax, line_count, notes。lines: line_no, company_name, date, document_number, description, quantity, unit_price, amount, tax_rate, line_check, review_items, check_result, total, subtotal, recipient_name"},"encoding":{"type":"string","enum":["utf-8-bom","utf-8"],"default":"utf-8-bom"}}}}}}}},"responses":{"200":{"description":"既定は {fields, checks, needs_review, registration_status, model}。format: csv のときは text/csv（X-Shoshiki-Csv-Mode・X-Shoshiki-Csv-Rows・X-Shoshiki-Check-Result・X-Shoshiki-Needs-Review・X-Shoshiki-Pages を付ける）","content":{"application/json":{"schema":{"type":"object"}},"text/csv":{"schema":{"type":"string"}}}},"401":{"description":"鍵がない・正しくない","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"この鍵では使えない製品","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"今月の上限（quota_exceeded）か、1分の回数（rate_limited）","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"読み取りの失敗（数えない）","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"今日の AI の上限","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/registrations/check":{"post":{"summary":"登録番号・法人番号を確かめる（1件＝1回）","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["numbers"],"properties":{"numbers":{"type":"array","items":{"type":"string"},"maxItems":100}}}}}},"responses":{"200":{"description":"ok","content":{"application/json":{"schema":{"type":"object","properties":{"results":{"type":"array","items":{"$ref":"#/components/schemas/Registration"}},"notice":{"type":"string"}}}}}},"401":{"description":"鍵がない・正しくない","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"この鍵では使えない製品","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"今月の上限（quota_exceeded）か、1分の回数（rate_limited）","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/watch/entries":{"get":{"summary":"見張りの名簿","responses":{"200":{"description":"ok"},"401":{"description":"鍵がない・正しくない","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"この鍵では使えない製品","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"今月の上限（quota_exceeded）か、1分の回数（rate_limited）","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"summary":"見張りの名簿に足す（プランの社数まで）","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"entries":{"type":"array","items":{"type":"object","properties":{"number":{"type":"string"},"label":{"type":"string"}}}}}}}}},"responses":{"201":{"description":"{added, duplicates, invalid}"},"401":{"description":"鍵がない・正しくない","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"この鍵では使えない製品","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"社数の上限","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"今月の上限（quota_exceeded）か、1分の回数（rate_limited）","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/watch/entries/{id}":{"delete":{"summary":"名簿から消す","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"ok"},"401":{"description":"鍵がない・正しくない","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"この鍵では使えない製品","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"今月の上限（quota_exceeded）か、1分の回数（rate_limited）","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/mcp":{"post":{"summary":"MCP（JSON-RPC 2.0・Streamable HTTP）","responses":{"200":{"description":"JSON-RPC の応答"},"401":{"description":"鍵がない・正しくない","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"この鍵では使えない製品","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"今月の上限（quota_exceeded）か、1分の回数（rate_limited）","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}},"webhooks":{"event":{"post":{"summary":"ショシキからの Webhook。見出し Shoshiki-Signature: t=<秒>,v1=<HMAC-SHA256(secret, t + \".\" + body)>","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEvent"}}}},"responses":{"200":{"description":"2xx で受け取り済み。それ以外は再送"}}}}}}