{"openapi":"3.1.0","info":{"title":"RouterGrowth API","description":"One API for every GTM signal and action.\n\n## Reporting feedback to the services you use\n\nThe services you call accept structured feedback through `POST /feedback` (or the `submit_feedback` tool). Your reports go to the engineers who build the service and are used to fix what got in your way. Use it.\n\n**Submit feedback when something prevented or complicated your task, even if you found a workaround:**\n- a capability you needed does not exist (a filter, field, endpoint or bulk operation), so you made extra calls, filtered results yourself, or gave up;\n- the documentation was missing, ambiguous or wrong, and you had to guess;\n- a response was surprising or inconsistent with the docs;\n- an error message did not tell you how to fix the request;\n- the service behaved incorrectly;\n- latency, rate limits or pagination made the task impractical.\n\n**Before your final answer,** check whether any of these happened. If one did and you have not reported it, report it now, then answer.\n\n**Don't submit feedback** for your own mistakes that the service reported clearly, for things you have not tried, or more than once for the same problem in the same task.\n\n**Write it like this:**\n- `goal`: what you or your user were trying to accomplish, in plain language. \"Find companies currently hiring GTM engineers\", not \"call /companies/search\".\n- `message`: what got in the way, specifically. \"No hiring-role filter is available; `q` only matches company names.\"\n- `type`: `missing_capability`, `bug`, `unclear_documentation`, `unexpected_response`, `unhelpful_error`, `performance` or `other`.\n- Fill `endpoint`, `outcome` (`blocked`, `degraded` or `completed`), `workaround`, `expected` and `suggestion` when you know them. A concrete suggestion is the most useful thing you can give.\n- Always fill `agent`: `name` (the agent or product you run as) and `model`. Engineers use it to tell which agent a report came from.\n- Reuse the same `session_id` for every report in one task.\n\n**Never include** credentials, API keys, tokens, passwords, personal data, or your user's private content. Describe the shape of a request, not its secrets.\n\n**Keep going.** Submitting feedback is best effort. Send it, then continue with the task or a workaround. If the response contains `known_issue`, the problem is already tracked: tell your user if it matters, and use the workaround if one is given.","version":"0.1.0"},"paths":{"/v1/auth/request-code":{"post":{"tags":["auth"],"summary":"Request Code","description":"Email a six-digit, single-use sign-in code (10-minute expiry).\n\nIn non-production environments without email configured, the code is\nreturned in the response under dev_code, clearly labeled.","operationId":"request_code_v1_auth_request_code_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RequestCodeBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/overview"}}},"/v1/auth/verify-code":{"post":{"tags":["auth"],"summary":"Verify Code","description":"Trade a valid code for a dashboard session token (rg_sess_…, 30 days).\n\nFirst sign-in creates the user and (given organization_name) their\norganization with the promotional credit. Sign-in NEVER mints an API key:\nkeys exist only when the user explicitly creates one. The session token\nauthenticates the dashboard and is stored only as an HMAC.\n\nEvery unexpired, unconsumed code for the email is a candidate, not only\nthe newest: a third party requesting a code for someone else's address\nmust not invalidate the code that person is holding. A wrong guess counts\nagainst every candidate, so the guess budget stays 5 per code.","operationId":"verify_code_v1_auth_verify_code_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyCodeBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/overview"}}},"/v1/auth/verify-email/send":{"post":{"tags":["auth"],"summary":"Send Verification Code","description":"Email a six-digit code to the signed-in account's own address (instant\nsignups start unverified). A dashboard session, or RouterGrowth's own chat\nfor the person signed into it.","operationId":"send_verification_code_v1_auth_verify_email_send_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/overview"}}},"/v1/auth/verify-email/confirm":{"post":{"tags":["auth"],"summary":"Confirm Email","description":"Prove the inbox with the emailed code: unlocks runs and grants the\nsignup credit. Holding this session and reading the inbox makes the caller\nthe owner, so unlike a proof from outside (verify-code, reset link) nothing\nminted by this session is revoked.","operationId":"confirm_email_v1_auth_verify_email_confirm_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfirmEmailBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/overview"}}},"/v1/auth/set-password":{"post":{"tags":["auth"],"summary":"Set Password","description":"Set or change the account password. Requires a dashboard session (the\nemailed code proves control of the inbox); API keys cannot set passwords.\nForgotten password: sign in with an emailed code and set a new one.","operationId":"set_password_v1_auth_set_password_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetPasswordBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/overview"}}},"/v1/auth/sign-in":{"post":{"tags":["auth"],"summary":"Password Sign In","description":"Password sign-in for accounts that set one. Returns a dashboard\nsession, same shape as verify-code. scrypt verification is deliberately\nslow; the response never says which of email/password was wrong.","operationId":"password_sign_in_v1_auth_sign_in_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasswordSignInBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/overview"}}},"/v1/auth/whoami":{"get":{"tags":["auth"],"summary":"Whoami","operationId":"whoami_v1_auth_whoami_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/overview"}}},"/v1/connected-apps":{"get":{"tags":["auth"],"summary":"List Connected Apps","description":"Apps connected to this workspace over OAuth (claude.ai connectors and\nthe like). One entry per live authorization, newest first.","operationId":"list_connected_apps_v1_connected_apps_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/quickstart-mcp#disconnect-an-app"}}},"/v1/connected-apps/{token_id}":{"delete":{"tags":["auth"],"summary":"Revoke Connected App","description":"Disconnect an app: its access and refresh tokens stop working at once.","operationId":"revoke_connected_app_v1_connected_apps__token_id__delete","parameters":[{"name":"token_id","in":"path","required":true,"schema":{"type":"string","title":"Token Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/quickstart-mcp#disconnect-an-app"}}},"/v1/auth/session":{"delete":{"tags":["auth"],"summary":"Sign Out","description":"Revoke the calling dashboard session. No-op for API-key callers.","operationId":"sign_out_v1_auth_session_delete","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/overview"}}},"/v1/catalog/capabilities":{"get":{"tags":["catalog"],"summary":"List Capabilities","operationId":"list_capabilities_v1_catalog_capabilities_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/discover"}}},"/v1/catalog/capabilities/{capability}":{"get":{"tags":["catalog"],"summary":"Get Capability Route","operationId":"get_capability_route_v1_catalog_capabilities__capability__get","parameters":[{"name":"capability","in":"path","required":true,"schema":{"type":"string","title":"Capability"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/discover"}}},"/v1/catalog/providers":{"get":{"tags":["catalog"],"summary":"List Providers","operationId":"list_providers_v1_catalog_providers_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/endpoints"}}},"/v1/catalog/providers/{provider}":{"get":{"tags":["catalog"],"summary":"Get Provider Route","operationId":"get_provider_route_v1_catalog_providers__provider__get","parameters":[{"name":"provider","in":"path","required":true,"schema":{"type":"string","title":"Provider"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/endpoints"}}},"/v1/catalog/providers/{provider}/endpoints":{"get":{"tags":["catalog"],"summary":"List Provider Endpoints","description":"Raw endpoints one provider serves. Free. Substring filter with ?q=;\nplain-language search is /v1/discover with \"provider\".","operationId":"list_provider_endpoints_v1_catalog_providers__provider__endpoints_get","parameters":[{"name":"provider","in":"path","required":true,"schema":{"type":"string","title":"Provider"}},{"name":"q","in":"query","required":false,"schema":{"type":"string","default":"","title":"Q"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/endpoints"}}},"/v1/catalog/search":{"get":{"tags":["catalog"],"summary":"Catalog Search","operationId":"catalog_search_v1_catalog_search_get","parameters":[{"name":"q","in":"query","required":false,"schema":{"type":"string","default":"","title":"Q"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/discover"}}},"/v1/discover":{"post":{"tags":["catalog"],"summary":"Discover","description":"Ranked search over capabilities and raw provider endpoints, with\nrelevance scores and next-step hints. Never executes a paid call.","operationId":"discover_v1_discover_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiscoverRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/discover"}}},"/v1/inspect":{"post":{"tags":["catalog"],"summary":"Inspect","operationId":"inspect_v1_inspect_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InspectRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/inspect"}}},"/v1/run":{"post":{"tags":["runs"],"summary":"Run Capability","operationId":"run_capability_v1_run_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/run"}}},"/v1/runs":{"get":{"tags":["runs"],"summary":"List Runs","operationId":"list_runs_v1_runs_get","parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"capability","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Capability"}},{"name":"provider","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider"}},{"name":"endpoint","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Endpoint"}},{"name":"api_key_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Api Key Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/runs"}}},"/v1/runs/{run_id}":{"get":{"tags":["runs"],"summary":"Get Run","description":"One run. Pass ?wait=N (up to 120 seconds) to long-poll until it finishes.","operationId":"get_run_v1_runs__run_id__get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"wait","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Wait"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/runs"}}},"/v1/runs/{run_id}/cancel":{"post":{"tags":["runs"],"summary":"Cancel Run","operationId":"cancel_run_v1_runs__run_id__cancel_post","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/runs"}}},"/v1/history":{"get":{"tags":["runs"],"summary":"Get History","description":"Every run on record that mentions one subject (an email, domain, LinkedIn URL,\nURL, handle, phone or name), in its input or its result. Newest first, with the\noutbound touches, the paid results worth reusing, and hints. Free.","operationId":"get_history_v1_history_get","parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string","title":"Q"}},{"name":"kind","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Kind"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/runs#history-for-a-subject"}},"post":{"tags":["runs"],"summary":"Batch History","description":"Compact history for up to 200 subjects at once: seen or not, contacted or not,\nthe reusable result if any. The dedupe pass before a batch run. Free.","operationId":"batch_history_v1_history_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HistoryRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/runs#history-for-a-subject"}}},"/v1/watch":{"post":{"tags":["watches"],"summary":"Create Watch","description":"Save a query and run it once. Every record of the result is keyed and\nfingerprinted; POST /v1/watch/{id}/refresh reruns it and returns only what changed.","operationId":"create_watch_v1_watch_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WatchRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/watch"}},"get":{"tags":["watches"],"summary":"List Watches","operationId":"list_watches_v1_watch_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/watch"}}},"/v1/watch/{watch_id}/refresh":{"post":{"tags":["watches"],"summary":"Refresh Watch","description":"Rerun the watch's query (billed like any run) and answer with the new and\nchanged records only, plus the keys that disappeared.","operationId":"refresh_watch_v1_watch__watch_id__refresh_post","parameters":[{"name":"watch_id","in":"path","required":true,"schema":{"type":"string","title":"Watch Id"}},{"name":"wait","in":"query","required":false,"schema":{"type":"integer","default":30,"title":"Wait"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/watch"}}},"/v1/watch/{watch_id}":{"get":{"tags":["watches"],"summary":"Get Watch","description":"The watch, its last run receipt and the last changes with records. `wait`\nholds the request while a refresh is still executing.","operationId":"get_watch_v1_watch__watch_id__get","parameters":[{"name":"watch_id","in":"path","required":true,"schema":{"type":"string","title":"Watch Id"}},{"name":"wait","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Wait"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/watch"}},"delete":{"tags":["watches"],"summary":"Delete Watch","operationId":"delete_watch_v1_watch__watch_id__delete","parameters":[{"name":"watch_id","in":"path","required":true,"schema":{"type":"string","title":"Watch Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/watch"}}},"/v1/events":{"get":{"tags":["events"],"summary":"List Events","description":"What happened on the workspace's inboxes and connected accounts, oldest\nfirst: replies, bounces, LinkedIn messages, dropped sessions. Pass the\nprevious page's `next_after` as `after` to read only what is new. Free.","operationId":"list_events_v1_events_get","parameters":[{"name":"after","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"After"}},{"name":"since","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Since"}},{"name":"types","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Types"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/webhooks"}}},"/v1/webhooks":{"post":{"tags":["events"],"summary":"Create Webhook","description":"Register a URL to receive the workspace's events. The signing secret\nis in this response only.","operationId":"create_webhook_v1_webhooks_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/webhooks"}},"get":{"tags":["events"],"summary":"List Webhooks","operationId":"list_webhooks_v1_webhooks_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/webhooks"}}},"/v1/webhooks/{webhook_id}":{"get":{"tags":["events"],"summary":"Get Webhook","description":"The endpoint and its last 20 deliveries.","operationId":"get_webhook_v1_webhooks__webhook_id__get","parameters":[{"name":"webhook_id","in":"path","required":true,"schema":{"type":"string","title":"Webhook Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/webhooks"}},"patch":{"tags":["events"],"summary":"Update Webhook","operationId":"update_webhook_v1_webhooks__webhook_id__patch","parameters":[{"name":"webhook_id","in":"path","required":true,"schema":{"type":"string","title":"Webhook Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/webhooks"}},"delete":{"tags":["events"],"summary":"Delete Webhook","operationId":"delete_webhook_v1_webhooks__webhook_id__delete","parameters":[{"name":"webhook_id","in":"path","required":true,"schema":{"type":"string","title":"Webhook Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/webhooks"}}},"/v1/webhooks/{webhook_id}/test":{"post":{"tags":["events"],"summary":"Test Webhook","description":"Send one signed `webhook.test` event to the endpoint now and report how it answered.","operationId":"test_webhook_v1_webhooks__webhook_id__test_post","parameters":[{"name":"webhook_id","in":"path","required":true,"schema":{"type":"string","title":"Webhook Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/webhooks"}}},"/v1/wallet":{"get":{"tags":["wallet"],"summary":"Get Wallet","operationId":"get_wallet_v1_wallet_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/wallet"}}},"/v1/wallet/transactions":{"get":{"tags":["wallet"],"summary":"Wallet Transactions","operationId":"wallet_transactions_v1_wallet_transactions_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/wallet"}}},"/v1/wallet/topups/checkout":{"post":{"tags":["wallet"],"summary":"Create Topup","description":"Start a card top-up on Stripe Checkout and return its URL. The wallet is\ncredited by the verified Stripe webhook once the payment succeeds, never by\nthis endpoint's response. In development (no Stripe configured), test keys\nreceive a simulated credit, clearly labeled.","operationId":"create_topup_v1_wallet_topups_checkout_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TopupRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/wallet"}}},"/v1/wallet/topups/x402":{"post":{"tags":["wallet"],"summary":"Create X402 Topup","description":"Add credit by paying USDC over x402, with no card and no checkout page.\n\nSend the amount in dollars, in the body or as ?amount=. Without a payment\nthe answer is 402 with the terms in the PAYMENT-REQUIRED header (x402\nversion 2, exact scheme, USDC). An x402 client signs them and repeats the\nrequest with PAYMENT-SIGNATURE; the answer is then 200 with the new\nbalance and the transfer in PAYMENT-RESPONSE. The wallet is credited only\nonce the transfer has settled on chain. Sending a settled payment again\nreturns the same receipt and credits nothing more.","operationId":"create_x402_topup_v1_wallet_topups_x402_post","parameters":[{"name":"amount","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Amount"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/X402TopupRequest"},{"type":"null"}],"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/wallet#top-up-with-usdc-x402"}}},"/v1/wallet/auto-topup":{"get":{"tags":["wallet"],"summary":"Get Auto Topup","operationId":"get_auto_topup_v1_wallet_auto_topup_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/wallet"}},"post":{"tags":["wallet"],"summary":"Set Auto Topup","operationId":"set_auto_topup_v1_wallet_auto_topup_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AutoTopupRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/wallet"}}},"/v1/wallet/invoices":{"get":{"tags":["wallet"],"summary":"Wallet Invoices","description":"The invoices for card top-ups, auto top-ups and plan payments, newest first.","operationId":"wallet_invoices_v1_wallet_invoices_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/wallet"}}},"/v1/wallet/invoices/{invoice_id}":{"get":{"tags":["wallet"],"summary":"Wallet Invoice","description":"One invoice in full: issuer, billing details, lines and totals. The\ndashboard draws the document from it.","operationId":"wallet_invoice_v1_wallet_invoices__invoice_id__get","parameters":[{"name":"invoice_id","in":"path","required":true,"schema":{"type":"string","title":"Invoice Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/wallet"}}},"/v1/plan":{"get":{"tags":["wallet"],"summary":"Get Plan","description":"The monthly plan in effect (null: pay per call), the subscription\nbehind it and the plans on offer. A plan takes a share off RouterGrowth's\nmargin on every call; the provider's cost is never discounted.","operationId":"get_plan_v1_plan_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/wallet#monthly-plan"}},"post":{"tags":["wallet"],"summary":"Choose Plan","description":"Start a plan (Stripe Checkout), switch plans (an upgrade applies now and\ncharges the prorated difference, a downgrade from the next renewal) or\nresume one set to cancel.","operationId":"choose_plan_v1_plan_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlanRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/wallet#monthly-plan"}}},"/v1/plan/cancel":{"post":{"tags":["wallet"],"summary":"Cancel Plan","description":"Stop renewing. The plan and its discount run to the end of the period already paid.","operationId":"cancel_plan_v1_plan_cancel_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/wallet#monthly-plan"}}},"/v1/plan/portal":{"post":{"tags":["wallet"],"summary":"Plan Portal","description":"A Stripe billing page for the saved card, billing details and invoices.","operationId":"plan_portal_v1_plan_portal_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/wallet#monthly-plan"}}},"/v1/referrals":{"get":{"tags":["referrals"],"summary":"Get Referrals","description":"Your referral code and link, program terms, and what your referrals\nhave earned you. The code is minted on first call.","operationId":"get_referrals_v1_referrals_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/wallet#referrals"}}},"/v1/referrals/terms":{"get":{"tags":["referrals"],"summary":"Get Referral Terms","description":"What a referral link offers the person invited through it (public, for\nthe dashboard's invite banner). An unknown code reads as the public\nprogram, so the answer never says whether a code exists.","operationId":"get_referral_terms_v1_referrals_terms_get","parameters":[{"name":"code","in":"query","required":false,"schema":{"type":"string","default":"","title":"Code"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/wallet#referrals"}}},"/v1/spend-guard":{"get":{"tags":["wallet"],"summary":"Get Spend Guard","description":"The organization's daily cap and what today's runs have used (UTC day).","operationId":"get_spend_guard_v1_spend_guard_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/overview#spend-guard"}},"post":{"tags":["wallet"],"summary":"Set Spend Guard","description":"Switch the daily cap on or off. Once today's settled charges plus open\nholds would exceed it, new runs end as `blocked` with error budget_exceeded\ninstead of executing. Resets at 00:00 UTC.","operationId":"set_spend_guard_v1_spend_guard_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpendGuardRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/overview#spend-guard"}}},"/v1/api-keys":{"get":{"tags":["keys"],"summary":"List Keys","description":"Every key with what it spent over the window: one grouped query over\nthe run log, so a key per agent (or per tool) is a usage report per agent.","operationId":"list_keys_v1_api_keys_get","parameters":[{"name":"days","in":"query","required":false,"schema":{"type":"integer","default":30,"title":"Days"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/keys"}},"post":{"tags":["keys"],"summary":"Create Key","description":"Mint a key. Dashboard session only: a key that could mint keys would\noutlive its own revocation.","operationId":"create_key_v1_api_keys_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateKeyRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/keys"}}},"/v1/email/inboxes":{"get":{"tags":["email"],"summary":"List Email Inboxes","description":"Sending domains and inboxes this workspace owns, as recorded when\nthey were created: the free answer to \"which inbox do I already have?\"\nIncludes registered domains so the dashboard can show purchases that\nhave not yet been connected for email. No provider calls are made.","operationId":"list_email_inboxes_v1_email_inboxes_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/email-sending"}}},"/v1/linkedin/accounts":{"get":{"tags":["linkedin"],"summary":"List Linkedin Accounts","description":"LinkedIn accounts this workspace has connected, pending links included:\nhow many, which profile each one is, and the name to pass as account_id.\nSame payload as the linkedin.accounts capability (which also refreshes\neach status from the provider), without a run record. Each connected\naccount rents a seat on the platform's Unipile subscription and is\ncharged monthly until it is disconnected.","operationId":"list_linkedin_accounts_v1_linkedin_accounts_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/connected-accounts"}},"post":{"tags":["linkedin"],"summary":"Connect Linkedin Account","description":"Mint a hosted sign-in link for a LinkedIn account. The holder signs in\non Unipile's page, so no LinkedIn credential ever reaches RouterGrowth.\nFree: the account is charged monthly once it is actually connected.","operationId":"connect_linkedin_account_v1_linkedin_accounts_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectLinkedInBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/connected-accounts"}}},"/v1/linkedin/accounts/{name}":{"delete":{"tags":["linkedin"],"summary":"Disconnect Linkedin Account","description":"Disconnect an account: it is removed from the Unipile subscription and\nstops being charged. The LinkedIn account itself is untouched.","operationId":"disconnect_linkedin_account_v1_linkedin_accounts__name__delete","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/connected-accounts"}}},"/v1/instagram/accounts":{"get":{"tags":["instagram"],"summary":"List Instagram Accounts","description":"Instagram accounts this workspace has connected, pending links included.\nSame payload as the instagram.accounts capability, without a run record.","operationId":"list_instagram_accounts_v1_instagram_accounts_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/connected-accounts"}},"post":{"tags":["instagram"],"summary":"Connect Instagram Account","description":"Mint a hosted sign-in link for an Instagram account. The holder signs in\non Unipile's page, two-factor included; no Instagram credential ever\nreaches RouterGrowth. Free until the account is actually connected.","operationId":"connect_instagram_account_v1_instagram_accounts_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectLinkedInBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/connected-accounts"}}},"/v1/instagram/accounts/{name}":{"delete":{"tags":["instagram"],"summary":"Disconnect Instagram Account","description":"Disconnect an Instagram account: removed from the Unipile subscription,\nno longer charged. The Instagram account itself is untouched.","operationId":"disconnect_instagram_account_v1_instagram_accounts__name__delete","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/connected-accounts"}}},"/v1/whatsapp/accounts":{"get":{"tags":["whatsapp"],"summary":"List Whatsapp Accounts","description":"List this workspace's WhatsApp accounts, including pending connections.","operationId":"list_whatsapp_accounts_v1_whatsapp_accounts_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/connected-accounts"}},"post":{"tags":["whatsapp"],"summary":"Connect Whatsapp Account","description":"Connect WhatsApp through the hosted QR/pairing flow; the connected seat is billed monthly.","operationId":"connect_whatsapp_account_v1_whatsapp_accounts_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectLinkedInBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/connected-accounts"}}},"/v1/whatsapp/accounts/{name}":{"delete":{"tags":["whatsapp"],"summary":"Disconnect Whatsapp Account","description":"Release the connected WhatsApp seat without deleting the WhatsApp account.","operationId":"disconnect_whatsapp_account_v1_whatsapp_accounts__name__delete","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/connected-accounts"}}},"/v1/gmail/accounts":{"get":{"tags":["gmail"],"summary":"List Gmail Accounts","description":"List this workspace's Gmail accounts, including pending connections.","operationId":"list_gmail_accounts_v1_gmail_accounts_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/connected-accounts"}},"post":{"tags":["gmail"],"summary":"Connect Gmail Account","description":"Authorize an existing Gmail/Workspace mailbox through hosted Google OAuth.","operationId":"connect_gmail_account_v1_gmail_accounts_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectLinkedInBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/connected-accounts"}}},"/v1/gmail/accounts/{name}":{"delete":{"tags":["gmail"],"summary":"Disconnect Gmail Account","description":"Release the connected Gmail seat without deleting the Google mailbox.","operationId":"disconnect_gmail_account_v1_gmail_accounts__name__delete","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/connected-accounts"}}},"/v1/api-keys/{key_id}":{"delete":{"tags":["keys"],"summary":"Revoke Key","operationId":"revoke_key_v1_api_keys__key_id__delete","parameters":[{"name":"key_id","in":"path","required":true,"schema":{"type":"string","title":"Key Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/keys"}}},"/v1/features":{"get":{"tags":["tables"],"summary":"Get Features","description":"The opt-in features and whether this workspace has them on. Tables are off until turned on.","operationId":"get_features_v1_features_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/tables"}},"post":{"tags":["tables"],"summary":"Set Features","description":"Turn tables on or off for the workspace. Turning them on changes how sends behave: sends to\nsuppressed people and repeat first messages are blocked (docs: /docs/api/tables).","operationId":"set_features_v1_features_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeaturesBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/tables"}}},"/v1/tables":{"get":{"tags":["tables"],"summary":"List Tables","description":"Every table in the workspace with row counts by status, and the quota.","operationId":"list_tables_v1_tables_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/tables"}},"post":{"tags":["tables"],"summary":"Create Table","description":"Create a table up front (optional: the first row write creates one).","operationId":"create_table_v1_tables_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TableCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/tables"}}},"/v1/tables/{name}":{"get":{"tags":["tables"],"summary":"Describe Table","description":"The table: counts by status, rows due, columns with fill rates, the latest rows.","operationId":"describe_table_v1_tables__name__get","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/tables"}},"patch":{"tags":["tables"],"summary":"Patch Table","operationId":"patch_table_v1_tables__name__patch","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TablePatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/tables"}},"delete":{"tags":["tables"],"summary":"Drop Table","description":"Delete the table and its rows for good (?confirm=true). Suppressions stay.","operationId":"drop_table_v1_tables__name__delete","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"confirm","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Confirm"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/tables"}}},"/v1/tables/{name}/rows":{"get":{"tags":["tables"],"summary":"Get Rows","description":"Rows, filtered by status (comma-separated) and due. POST .../rows/query filters on data fields.","operationId":"get_rows_v1_tables__name__rows_get","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"due","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Due"}},{"name":"fields","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fields"}},{"name":"order","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Order"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/tables"}},"post":{"tags":["tables"],"summary":"Upsert Rows","description":"Insert or merge rows by identity; the first write to a new name creates the table.","operationId":"upsert_rows_v1_tables__name__rows_post","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RowsUpsert"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/tables"}},"patch":{"tags":["tables"],"summary":"Update Rows","description":"Patch rows by keys, or by filter with a limit. if_status makes the status change a claim.","operationId":"update_rows_v1_tables__name__rows_patch","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RowsUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/tables"}}},"/v1/tables/{name}/rows/query":{"post":{"tags":["tables"],"summary":"Query Rows","description":"Rows matching status, due and data-field filters (where), projected with fields, paginated.","operationId":"query_rows_v1_tables__name__rows_query_post","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RowsQuery"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/tables"}}},"/v1/tables/{name}/rows/delete":{"post":{"tags":["tables"],"summary":"Delete Rows","operationId":"delete_rows_v1_tables__name__rows_delete_post","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RowsDelete"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/tables"}}},"/v1/tables/{name}/rows/{key}":{"delete":{"tags":["tables"],"summary":"Delete Row","operationId":"delete_row_v1_tables__name__rows__key__delete","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"key","in":"path","required":true,"schema":{"type":"string","title":"Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/tables"}}},"/v1/tables/{name}/export.csv":{"get":{"tags":["tables"],"summary":"Export Csv","operationId":"export_csv_v1_tables__name__export_csv_get","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/tables"}}},"/v1/tables/{name}/import":{"post":{"tags":["tables"],"summary":"Import Csv","description":"Upsert every row of a CSV (the request body, first line the column names).","operationId":"import_csv_v1_tables__name__import_post","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/tables"}}},"/v1/suppressions":{"get":{"tags":["tables"],"summary":"List Suppressions","operationId":"list_suppressions_v1_suppressions_get","parameters":[{"name":"kind","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Kind"}},{"name":"reason","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/tables#suppressions"}},"post":{"tags":["tables"],"summary":"Add Suppressions","description":"Never contact these again, on any channel: emails, domains, LinkedIn URLs, phones, platform:handle.","operationId":"add_suppressions_v1_suppressions_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuppressBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/tables#suppressions"}}},"/v1/suppressions/remove":{"post":{"tags":["tables"],"summary":"Remove Suppressions","operationId":"remove_suppressions_v1_suppressions_remove_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnsuppressBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/tables#suppressions"}}},"/v1/outbound-guard":{"get":{"tags":["tables"],"summary":"Get Outbound Guard","operationId":"get_outbound_guard_v1_outbound_guard_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/tables"}},"post":{"tags":["tables"],"summary":"Set Outbound Guard","description":"The repeat first-touch window in days; 0 turns it off.","operationId":"set_outbound_guard_v1_outbound_guard_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OutboundGuardBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/tables"}}},"/v1/auth/social/providers":{"get":{"tags":["auth"],"summary":"Providers","operationId":"providers_v1_auth_social_providers_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/overview"}}},"/v1/auth/social/{provider}/start":{"get":{"tags":["auth"],"summary":"Start","operationId":"start_v1_auth_social__provider__start_get","parameters":[{"name":"provider","in":"path","required":true,"schema":{"type":"string","title":"Provider"}},{"name":"handoff_challenge","in":"query","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{43}$","title":"Handoff Challenge"}},{"name":"referral_code","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Referral Code"}},{"name":"return_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":4096},{"type":"null"}],"title":"Return To"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/overview"}}},"/v1/auth/social/{provider}/callback":{"get":{"tags":["auth"],"summary":"Callback","operationId":"callback_v1_auth_social__provider__callback_get","parameters":[{"name":"provider","in":"path","required":true,"schema":{"type":"string","title":"Provider"}},{"name":"state","in":"query","required":false,"schema":{"type":"string","default":"","title":"State"}},{"name":"code","in":"query","required":false,"schema":{"type":"string","default":"","title":"Code"}},{"name":"error","in":"query","required":false,"schema":{"type":"string","default":"","title":"Error"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/overview"}}},"/v1/auth/social/exchange":{"post":{"tags":["auth"],"summary":"Exchange","operationId":"exchange_v1_auth_social_exchange_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExchangeBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/overview"}}},"/v1/auth/password/signup":{"post":{"tags":["auth"],"summary":"Signup","description":"Create an account from an email and a password and sign it in at once.\n\nThe account starts unverified and the workspace locked (no credit, no\nruns) until the owner proves the inbox from the dashboard or adds funds.","operationId":"signup_v1_auth_password_signup_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Signup"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/overview"}}},"/v1/auth/password/request-link":{"post":{"tags":["auth"],"summary":"Request Link","operationId":"request_link_v1_auth_password_request_link_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RequestLink"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/overview"}}},"/v1/auth/password/complete":{"post":{"tags":["auth"],"summary":"Complete","operationId":"complete_v1_auth_password_complete_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompletePassword"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/overview"}}},"/v1/loops":{"post":{"tags":["loops"],"summary":"Create Loop","description":"Save a job that runs by itself on a schedule, capped per run.","operationId":"create_loop_v1_loops_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoopCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/loops"}},"get":{"tags":["loops"],"summary":"List Loops","operationId":"list_loops_v1_loops_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/loops"}}},"/v1/loops/runs/{loop_run_id}":{"get":{"tags":["loops"],"summary":"Get Loop Run","description":"One run in full: the report, the cost and the drafts. `wait` holds while it is still going.","operationId":"get_loop_run_v1_loops_runs__loop_run_id__get","parameters":[{"name":"loop_run_id","in":"path","required":true,"schema":{"type":"string","title":"Loop Run Id"}},{"name":"wait","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Wait"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/loops"}}},"/v1/loops/runs/{loop_run_id}/drafts":{"post":{"tags":["loops"],"summary":"Act On Drafts","description":"Send (or dismiss) the drafts a run left: every message of a loop in review mode, and what\nan auto loop wanted to send past its limit.","operationId":"act_on_drafts_v1_loops_runs__loop_run_id__drafts_post","parameters":[{"name":"loop_run_id","in":"path","required":true,"schema":{"type":"string","title":"Loop Run Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DraftsBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/loops"}}},"/v1/loops/{loop_id}":{"get":{"tags":["loops"],"summary":"Get Loop","operationId":"get_loop_v1_loops__loop_id__get","parameters":[{"name":"loop_id","in":"path","required":true,"schema":{"type":"string","title":"Loop Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":10,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/loops"}},"patch":{"tags":["loops"],"summary":"Update Loop","operationId":"update_loop_v1_loops__loop_id__patch","parameters":[{"name":"loop_id","in":"path","required":true,"schema":{"type":"string","title":"Loop Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoopUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/loops"}},"delete":{"tags":["loops"],"summary":"Delete Loop","operationId":"delete_loop_v1_loops__loop_id__delete","parameters":[{"name":"loop_id","in":"path","required":true,"schema":{"type":"string","title":"Loop Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/loops"}}},"/v1/loops/{loop_id}/run":{"post":{"tags":["loops"],"summary":"Run Loop Now","description":"Start a run outside the schedule; read it at GET /v1/loops/runs/{loop_run_id}.","operationId":"run_loop_now_v1_loops__loop_id__run_post","parameters":[{"name":"loop_id","in":"path","required":true,"schema":{"type":"string","title":"Loop Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/loops"}}},"/feedback":{"post":{"tags":["feedback"],"summary":"Report what got in your way","description":"Agent Feedback Protocol: a missing capability, a bug, unclear docs, an unhelpful error. Free, no key. Every report reaches the team.","operationId":"submit_feedback_feedback_post","requestBody":{"content":{"application/json":{"schema":{"properties":{"spec_version":{"type":"string","const":"0.1","description":"Protocol version the agent is speaking. Defaults to \"0.1\" when omitted."},"type":{"type":"string","enum":["missing_capability","bug","unclear_documentation","unexpected_response","unhelpful_error","performance","other"],"description":"Category of the problem."},"goal":{"type":"string","maxLength":1000,"minLength":1,"description":"What the agent (or its user) was trying to accomplish, in plain language. Describe the task, not the API call."},"message":{"type":"string","maxLength":4000,"minLength":1,"description":"What prevented or complicated the task."},"endpoint":{"type":"string","maxLength":512,"minLength":1,"description":"The operation involved: an HTTP path template (\"/companies/search\") or a tool name (\"search_companies\")."},"method":{"type":"string","enum":["GET","POST","PUT","PATCH","DELETE","HEAD","OPTIONS"],"description":"HTTP method, when the endpoint is an HTTP path."},"outcome":{"type":"string","enum":["blocked","degraded","completed"],"description":"What happened to the task. blocked: the task could not be completed. degraded: completed, but worse or slower than it should have been. completed: completed fine; the feedback is a suggestion."},"workaround":{"type":"boolean","description":"Whether the agent found a workaround."},"workaround_description":{"type":"string","maxLength":2000,"description":"The workaround the agent used, if any."},"expected":{"type":"string","maxLength":2000,"description":"What the agent expected to find or happen."},"suggestion":{"type":"string","maxLength":2000,"description":"A concrete change that would have let the agent succeed."},"request_id":{"type":"string","maxLength":256,"description":"The service's request ID for a related call, to join feedback with logs."},"session_id":{"type":"string","maxLength":256,"description":"Opaque ID shared by all feedback from one agent task run. Used to de-duplicate retries."},"agent":{"properties":{"name":{"type":"string","maxLength":128},"version":{"type":"string","maxLength":64},"model":{"type":"string","maxLength":128},"framework":{"type":"string","maxLength":128}},"additionalProperties":false,"type":"object","description":"Who is reporting: the agent or product name and its model. Self-reported; always fill `name` and `model`."},"evidence":{"properties":{"status_code":{"type":"integer","maximum":599.0,"minimum":100.0},"request":{"type":"object","description":"Parameters or body the agent sent, with secrets removed."},"response_excerpt":{"type":"string","maxLength":4000,"description":"The relevant part of the response."}},"additionalProperties":false,"type":"object","description":"Sanitized details of the failing interaction. Never include credentials or personal data."},"metadata":{"type":"object","description":"Free-form extra data. Services may ignore it."}},"additionalProperties":false,"type":"object","required":["type","goal","message"],"title":"Agent Feedback Submission","description":"Structured feedback an AI agent sends to a service when something prevents or complicates its task. Agent Feedback Protocol v0.1."}}},"required":true},"responses":{"202":{"description":"Accepted","content":{"application/json":{"schema":{"properties":{"id":{"type":"string"},"status":{"type":"string","const":"accepted"},"received_at":{"type":"string","format":"date-time"},"known_issue":{"properties":{"id":{"type":"string"},"title":{"type":"string"},"status":{"type":"string","enum":["acknowledged","planned","in_progress","fixed","wont_fix"]},"url":{"type":"string"},"workaround":{"type":"string"},"fixed_at":{"type":"string","format":"date-time","description":"When status is fixed: when the fix shipped."},"note":{"type":"string","description":"Written by a person on the service's team: what changed and how to use it now."}},"type":"object","required":["id","title","status"],"description":"Present when the service already tracks this problem. Agents can use it to stop retrying or to apply a known workaround."}},"type":"object","required":["id","status","received_at"],"title":"Agent Feedback Acknowledgement","description":"Body of a 202 response to POST /feedback."}}}},"400":{"description":"invalid_json or invalid_feedback: the message names the field to fix"},"429":{"description":"rate_limited: wait for Retry-After"},"503":{"description":"unavailable: the report was not stored, retry once later"},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/feedback"}}},"/.well-known/agent-feedback":{"get":{"tags":["feedback"],"summary":"Where agents send feedback (Agent Feedback Protocol discovery)","operationId":"agent_feedback_discovery__well_known_agent_feedback_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"default":{"description":"Any error. Codes, statuses and retry guidance: https://www.routergrowth.com/docs/api/errors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"externalDocs":{"url":"https://www.routergrowth.com/docs/api/feedback"}}}},"components":{"schemas":{"AutoTopupRequest":{"properties":{"enabled":{"type":"boolean","title":"Enabled"},"threshold":{"type":"string","title":"Threshold","default":"10"},"amount":{"type":"string","title":"Amount","default":"20"}},"type":"object","required":["enabled"],"title":"AutoTopupRequest"},"CompletePassword":{"properties":{"token":{"type":"string","maxLength":128,"minLength":43,"title":"Token"},"password":{"type":"string","maxLength":200,"minLength":8,"title":"Password"},"organization_name":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Organization Name"},"first_touch":{"anyOf":[{"$ref":"#/components/schemas/FirstTouch"},{"type":"null"}]}},"type":"object","required":["token","password"],"title":"CompletePassword"},"ConfirmEmailBody":{"properties":{"code":{"type":"string","maxLength":6,"minLength":6,"title":"Code"}},"type":"object","required":["code"],"title":"ConfirmEmailBody"},"ConnectLinkedInBody":{"properties":{"name":{"type":"string","maxLength":60,"title":"Name","default":"main"},"return_url":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Return Url"}},"type":"object","title":"ConnectLinkedInBody"},"CreateKeyRequest":{"properties":{"name":{"type":"string","title":"Name","default":"unnamed key"},"environment":{"type":"string","title":"Environment","default":"live"}},"type":"object","title":"CreateKeyRequest"},"DiscoverRequest":{"properties":{"query":{"type":"string","title":"Query"},"limit":{"type":"integer","maximum":50.0,"minimum":1.0,"title":"Limit","default":10},"kind":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Kind","description":"capability | endpoint; both when omitted"},"provider":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider","description":"restrict to one provider's capabilities and endpoints"}},"type":"object","required":["query"],"title":"DiscoverRequest"},"DraftsBody":{"properties":{"drafts":{"anyOf":[{"items":{"type":"integer"},"type":"array"},{"type":"null"}],"title":"Drafts"},"action":{"type":"string","title":"Action","default":"send"}},"type":"object","title":"DraftsBody"},"ExchangeBody":{"properties":{"ticket":{"type":"string","maxLength":128,"minLength":43,"title":"Ticket"},"verifier":{"type":"string","maxLength":128,"minLength":43,"pattern":"^[A-Za-z0-9_-]+$","title":"Verifier"},"first_touch":{"anyOf":[{"$ref":"#/components/schemas/FirstTouch"},{"type":"null"}]}},"type":"object","required":["ticket","verifier"],"title":"ExchangeBody"},"FeaturesBody":{"properties":{"tables":{"type":"boolean","title":"Tables"}},"type":"object","required":["tables"],"title":"FeaturesBody"},"FirstTouch":{"properties":{"referrer":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Referrer"},"utm_source":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Utm Source"},"utm_medium":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Utm Medium"},"utm_campaign":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Utm Campaign"},"utm_content":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Utm Content"},"utm_term":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Utm Term"},"ref":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Ref"},"landing":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Landing"},"at":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"At"},"twclid":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Twclid"}},"type":"object","title":"FirstTouch","description":"What the site stored on the visitor's first page view. Every field is\nthe browser's word: good for counting, never for granting anything."},"HistoryRequest":{"properties":{"subjects":{"items":{"type":"string"},"type":"array","maxItems":200,"minItems":1,"title":"Subjects"},"kind":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Kind"}},"type":"object","required":["subjects"],"title":"HistoryRequest"},"InspectRequest":{"properties":{"capability":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Capability"},"provider":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider"},"endpoint":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Endpoint"}},"type":"object","title":"InspectRequest"},"LoopCreate":{"properties":{"name":{"type":"string","title":"Name"},"prompt":{"type":"string","title":"Prompt"},"schedule":{"$ref":"#/components/schemas/Schedule"},"max_cost_per_run":{"type":"string","title":"Max Cost Per Run"},"table":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Table"},"notify":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notify"},"send_mode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Send Mode"},"max_sends_per_run":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Sends Per Run"},"run_now":{"type":"boolean","title":"Run Now","default":false}},"type":"object","required":["name","prompt","max_cost_per_run"],"title":"LoopCreate"},"LoopUpdate":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prompt"},"schedule":{"anyOf":[{"$ref":"#/components/schemas/Schedule"},{"type":"null"}]},"max_cost_per_run":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Max Cost Per Run"},"table":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Table"},"notify":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notify"},"send_mode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Send Mode"},"max_sends_per_run":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Sends Per Run"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},"type":"object","title":"LoopUpdate"},"OutboundGuardBody":{"properties":{"repeat_touch_days":{"type":"integer","title":"Repeat Touch Days"}},"type":"object","required":["repeat_touch_days"],"title":"OutboundGuardBody"},"PasswordSignInBody":{"properties":{"email":{"type":"string","format":"email","title":"Email"},"password":{"type":"string","maxLength":200,"minLength":1,"title":"Password"}},"type":"object","required":["email","password"],"title":"PasswordSignInBody"},"PlanRequest":{"properties":{"plan":{"type":"string","title":"Plan"},"datafast_visitor_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Datafast Visitor Id"},"datafast_session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Datafast Session Id"}},"type":"object","required":["plan"],"title":"PlanRequest"},"RequestCodeBody":{"properties":{"email":{"type":"string","format":"email","title":"Email"}},"type":"object","required":["email"],"title":"RequestCodeBody"},"RequestLink":{"properties":{"email":{"type":"string","format":"email","title":"Email"},"purpose":{"type":"string","enum":["signup","reset"],"title":"Purpose"},"referral_code":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Referral Code"}},"type":"object","required":["email","purpose"],"title":"RequestLink"},"ResponseOptions":{"properties":{"include_raw":{"type":"boolean","title":"Include Raw","default":false}},"type":"object","title":"ResponseOptions"},"RoutingOptions":{"properties":{"provider":{"type":"string","title":"Provider","default":"auto"},"strategy":{"type":"string","title":"Strategy","default":"best_value"},"max_cost":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Max Cost"},"allow_fallback":{"type":"boolean","title":"Allow Fallback","default":true},"prefer":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prefer"},"fresh":{"type":"boolean","title":"Fresh","default":false},"allow_repeat":{"type":"boolean","title":"Allow Repeat","default":false}},"type":"object","title":"RoutingOptions"},"RowsDelete":{"properties":{"keys":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Keys"},"status":{"anyOf":[{"type":"string"},{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Status"},"where":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Where"},"due":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Due"},"limit":{"anyOf":[{"type":"integer","maximum":500.0,"minimum":1.0},{"type":"null"}],"title":"Limit"}},"type":"object","title":"RowsDelete"},"RowsQuery":{"properties":{"status":{"anyOf":[{"type":"string"},{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Status"},"where":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Where"},"due":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Due"},"fields":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Fields"},"order":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Order"},"limit":{"type":"integer","maximum":500.0,"minimum":1.0,"title":"Limit","default":50},"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}},"type":"object","title":"RowsQuery"},"RowsUpdate":{"properties":{"keys":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Keys"},"status":{"anyOf":[{"type":"string"},{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Status"},"where":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Where"},"due":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Due"},"limit":{"anyOf":[{"type":"integer","maximum":500.0,"minimum":1.0},{"type":"null"}],"title":"Limit"},"set":{"additionalProperties":true,"type":"object","title":"Set"},"if_status":{"anyOf":[{"type":"string"},{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"If Status"}},"type":"object","required":["set"],"title":"RowsUpdate"},"RowsUpsert":{"properties":{"rows":{"items":{},"type":"array","title":"Rows","description":"1 to 500 objects; status and next_at are row fields, the rest is data"},"mode":{"type":"string","title":"Mode","default":"merge"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status","description":"Status for rows this call creates (default new)"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key"},"columns":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"title":"Columns"}},"type":"object","required":["rows"],"title":"RowsUpsert"},"RunRequest":{"properties":{"capability":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Capability"},"provider":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider"},"endpoint":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Endpoint"},"path":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Path"},"query":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Query"},"input":{"anyOf":[{"additionalProperties":true,"type":"object"},{"items":{},"type":"array"}],"title":"Input","description":"The capability's input, matching input_schema from /v1/inspect; for a raw endpoint, the provider's own request body. email.send takes `attachments`: [{filename, content_type, url | data_base64}], 10 files and 10 MB per message, inline data_base64 up to 4 MB in total, larger files by public https url."},"routing":{"$ref":"#/components/schemas/RoutingOptions","default":{"provider":"auto","strategy":"best_value","allow_fallback":true,"fresh":false,"allow_repeat":false}},"response":{"$ref":"#/components/schemas/ResponseOptions","default":{"include_raw":false}},"wait_seconds":{"type":"integer","maximum":120.0,"minimum":0.0,"title":"Wait Seconds","default":30},"async":{"type":"boolean","title":"Async","default":false},"record":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Record"},"into":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Into"}},"type":"object","title":"RunRequest"},"Schedule":{"properties":{"every":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Every"},"at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"At"},"timezone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Timezone"},"on":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"On"}},"type":"object","title":"Schedule"},"SetPasswordBody":{"properties":{"password":{"type":"string","maxLength":200,"minLength":8,"title":"Password"}},"type":"object","required":["password"],"title":"SetPasswordBody"},"Signup":{"properties":{"email":{"type":"string","format":"email","title":"Email"},"password":{"type":"string","maxLength":200,"minLength":8,"title":"Password"},"organization_name":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Organization Name"},"referral_code":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Referral Code"},"first_touch":{"anyOf":[{"$ref":"#/components/schemas/FirstTouch"},{"type":"null"}]}},"type":"object","required":["email","password"],"title":"Signup"},"SpendGuardRequest":{"properties":{"enabled":{"type":"boolean","title":"Enabled"},"daily_limit":{"type":"string","title":"Daily Limit","default":"25"},"per_run_limit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Per Run Limit"}},"type":"object","required":["enabled"],"title":"SpendGuardRequest"},"SuppressBody":{"properties":{"subjects":{"items":{"type":"string"},"type":"array","title":"Subjects"},"reason":{"type":"string","title":"Reason","default":"manual"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"},"platform":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Platform"}},"type":"object","required":["subjects"],"title":"SuppressBody"},"TableCreate":{"properties":{"name":{"type":"string","title":"Name"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key","description":"auto (people), domain (companies), email, linkedin, phone, handle or field:<name>"},"columns":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"title":"Columns"}},"type":"object","required":["name"],"title":"TableCreate"},"TablePatch":{"properties":{"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"columns":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"title":"Columns"},"rename":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rename"}},"type":"object","title":"TablePatch"},"TopupRequest":{"properties":{"amount":{"type":"string","title":"Amount"},"datafast_visitor_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Datafast Visitor Id"},"datafast_session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Datafast Session Id"}},"type":"object","required":["amount"],"title":"TopupRequest"},"UnsuppressBody":{"properties":{"subjects":{"items":{"type":"string"},"type":"array","title":"Subjects"},"platform":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Platform"}},"type":"object","required":["subjects"],"title":"UnsuppressBody"},"VerifyCodeBody":{"properties":{"email":{"type":"string","format":"email","title":"Email"},"code":{"type":"string","maxLength":6,"minLength":6,"title":"Code"},"organization_name":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Organization Name"},"referral_code":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Referral Code"}},"type":"object","required":["email","code"],"title":"VerifyCodeBody"},"WatchRequest":{"properties":{"capability":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Capability"},"provider":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider"},"endpoint":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Endpoint"},"path":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Path"},"query":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Query"},"input":{"anyOf":[{"additionalProperties":true,"type":"object"},{"items":{},"type":"array"}],"title":"Input","description":"The capability's input, matching input_schema from /v1/inspect; for a raw endpoint, the provider's own request body. email.send takes `attachments`: [{filename, content_type, url | data_base64}], 10 files and 10 MB per message, inline data_base64 up to 4 MB in total, larger files by public https url."},"routing":{"$ref":"#/components/schemas/RoutingOptions","default":{"provider":"auto","strategy":"best_value","allow_fallback":true,"fresh":false,"allow_repeat":false}},"response":{"$ref":"#/components/schemas/ResponseOptions","default":{"include_raw":false}},"wait_seconds":{"type":"integer","maximum":120.0,"minimum":0.0,"title":"Wait Seconds","default":30},"async":{"type":"boolean","title":"Async","default":false},"record":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Record"},"into":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Into"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"}},"type":"object","title":"WatchRequest","description":"A run to keep: same body as /v1/run plus a name. The first run keys\nevery record; refreshes answer with what changed."},"WebhookRequest":{"properties":{"url":{"type":"string","title":"Url"},"events":{"items":{"type":"string"},"type":"array","title":"Events"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"}},"type":"object","required":["url"],"title":"WebhookRequest"},"WebhookUpdate":{"properties":{"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"events":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Events"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Enabled"}},"type":"object","title":"WebhookUpdate"},"X402TopupRequest":{"properties":{"amount":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"null"}],"title":"Amount"}},"type":"object","title":"X402TopupRequest"},"Error":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","request_id"],"properties":{"code":{"type":"string","description":"Stable, machine-readable error code.","examples":["insufficient_balance"]},"message":{"type":"string","description":"What happened and what to do next, for a person."},"request_id":{"type":"string","description":"Also sent as the X-Request-Id header.","examples":["req_1f2e3d4c5b6a49788796a5b4c3d2e1f0"]},"details":{"type":"object","additionalProperties":true,"description":"Extra context for some codes, such as add_funds links or the fields that failed validation."}}}}}}},"servers":[{"url":"https://api.routergrowth.com"}],"tags":[{"name":"catalog","description":"Discover, inspect and the public catalog: capabilities, providers and raw endpoints, with their prices.","externalDocs":{"url":"https://www.routergrowth.com/docs/api/discover"}},{"name":"runs","description":"Run a capability or a raw endpoint; list, fetch and cancel runs; read what was already done to a subject.","externalDocs":{"url":"https://www.routergrowth.com/docs/api/run"}},{"name":"watches","description":"Saved queries: each refresh returns only the new and changed records.","externalDocs":{"url":"https://www.routergrowth.com/docs/api/watch"}},{"name":"loops","description":"Jobs set once that an agent runs on a schedule, under a per-run cap. Early access, per workspace.","externalDocs":{"url":"https://www.routergrowth.com/docs/api/loops"}},{"name":"events","description":"Replies, bounces and account events, read as one stream or pushed as signed webhooks.","externalDocs":{"url":"https://www.routergrowth.com/docs/api/webhooks"}},{"name":"tables","description":"Workspace tables, the suppression list and the repeat-send guard.","externalDocs":{"url":"https://www.routergrowth.com/docs/api/tables"}},{"name":"wallet","description":"Balance, ledger, top-ups, invoices, the monthly plan and the spend guard.","externalDocs":{"url":"https://www.routergrowth.com/docs/api/wallet"}},{"name":"referrals","description":"Your referral link and its terms.","externalDocs":{"url":"https://www.routergrowth.com/docs/api/wallet#referrals"}},{"name":"keys","description":"List and revoke API keys. Minting a key needs a dashboard session.","externalDocs":{"url":"https://www.routergrowth.com/docs/api/keys"}},{"name":"email","description":"The sending domains and inboxes the workspace owns.","externalDocs":{"url":"https://www.routergrowth.com/docs/email-sending"}},{"name":"linkedin","description":"Connected LinkedIn accounts.","externalDocs":{"url":"https://www.routergrowth.com/docs/connected-accounts"}},{"name":"instagram","description":"Connected Instagram accounts.","externalDocs":{"url":"https://www.routergrowth.com/docs/connected-accounts"}},{"name":"whatsapp","description":"Connected WhatsApp accounts.","externalDocs":{"url":"https://www.routergrowth.com/docs/connected-accounts"}},{"name":"gmail","description":"Connected Gmail accounts.","externalDocs":{"url":"https://www.routergrowth.com/docs/connected-accounts"}},{"name":"feedback","description":"Report a bug, a missing capability or a misleading doc on the Agent Feedback Protocol. No key needed.","externalDocs":{"url":"https://www.routergrowth.com/docs/api/feedback"}},{"name":"auth","description":"Dashboard sign-in. Integrations authenticate with a bearer API key and never need these.","externalDocs":{"url":"https://www.routergrowth.com/docs/api/overview"}}]}