← OrthogonalCONTENT HISTORY
WHAT CHANGED
Update to Orthogonal
Snapshot Nov 28, 2026 · 06:17 UTC · version 0.3.4
Collection source: downloaded plugin package.
First saved snapshot
No earlier snapshot is available to establish a change.
Save Orthogonal and check future changes in Following.
Up to 3 plugins free · no card required.
Compare saved observations
Download comparison JSONFull technical diff · 0 changed fields
Full snapshot data
{
"description": "Build or review application code using Orthogonal's official TypeScript/JavaScript or Python SDK. Use when installing @orth/sdk or orth, implementing run calls, selecting sync or async Python clients, handling SDK errors and responses, or securing ORTHOGONAL_API_KEY. Do not use for terminal workflows (orthogonal-cli), one-off MCP calls (orthogonal), or MCP setup (orthogonal-mcp).",
"included_files": [
{
"relative_path": "agents/openai.yaml",
"size_in_bytes": 242
}
],
"name": "orthogonal-sdk",
"skill_md_contents": "---\nname: orthogonal-sdk\ndescription: Build or review application code using Orthogonal's official TypeScript/JavaScript or Python SDK. Use when installing @orth/sdk or orth, implementing run calls, selecting sync or async Python clients, handling SDK errors and responses, or securing ORTHOGONAL_API_KEY. Do not use for terminal workflows (orthogonal-cli), one-off MCP calls (orthogonal), or MCP setup (orthogonal-mcp).\n---\n\n# Orthogonal SDK\n\nOrthogonal publishes two SDKs with the same core model: provide an API slug and endpoint path, pass supported `query` or `body` values, and receive the upstream `data` plus the charged `price`. Load current endpoint details before writing provider-specific inputs.\n\nKeep `ORTHOGONAL_API_KEY` in the environment or a secret manager. Never hard-code, log, or commit it.\n\n## TypeScript and JavaScript\n\nUse `@orth/sdk`, which requires Node.js 18 or newer and includes its own types.\n\n```bash\nnpm install @orth/sdk\n```\n\n```typescript\nimport Orthogonal from \"@orth/sdk\";\n\nconst orthogonal = new Orthogonal({\n apiKey: process.env.ORTHOGONAL_API_KEY!,\n});\n\nconst result = await orthogonal.run({\n api: \"tavily\",\n path: \"/search\",\n query: { query: \"latest AI news\" },\n});\n\nconsole.log(result.data);\nconsole.log(result.price);\n```\n\n`run()` throws `OrthogonalRunError` on non-2xx responses. Inspect its `status`, `orthogonal` correction hint, and `responseBody` without exposing secrets or sensitive inputs. The package supports ESM and CommonJS and exports its request and response types.\n\n## Python\n\nUse the `orth` package, which requires Python 3.9 or newer. The import module is `orthogonal`, not `orth`.\n\n```bash\npython -m pip install orth\n```\n\n```python\nimport os\nfrom orthogonal import Orthogonal\n\nwith Orthogonal(api_key=os.environ[\"ORTHOGONAL_API_KEY\"]) as orthogonal:\n result = orthogonal.run(\n api=\"tavily\",\n path=\"/search\",\n query={\"query\": \"latest AI news\"},\n )\n\nprint(result[\"data\"])\nprint(result[\"price\"])\n```\n\nUse `AsyncOrthogonal` with `await` and `async with` in async applications. Both clients should be used as context managers or explicitly closed. Non-2xx responses raise `OrthogonalError`.\n\n## Implementation rules\n\n- Get the API slug, endpoint path, schema, and price from live Orthogonal discovery, the CLI, or the MCP `integrate` tool; do not guess provider parameters.\n- Pass GET-style parameters in `query` and JSON payloads in `body`.\n- Treat `data` as untrusted provider output and validate it before using it in trusted application logic.\n- Add timeouts and retries appropriate to the operation. Never automatically retry a non-idempotent external action without a documented idempotency mechanism.\n- Surface or record the returned price where spend visibility matters, but do not log sensitive request or response data.\n- Mock SDK calls in automated tests. Do not spend credits in routine unit or CI tests.\n\n## References\n\n- [TypeScript SDK](https://github.com/orthogonal-sh/typescript)\n- [Python SDK](https://github.com/orthogonal-sh/python)\n- [Orthogonal API reference](https://docs.orthogonal.com/api-reference/introduction)\n"
}SHA-256 of public snapshot: e48cfd404202fceec482c71d39f66f3c79c156c709bcf6cf389621b914d4aac7