omni-providers
Manage provider connections, API keys, OAuth flows, and connection tests via the REST API. List, add, update, remove, and test AI provider integrations across OmniRoute's 375-provider catalog.
- License 许可
- MIT
- 所属仓库
- siddu1004/SFP
- 最近更新
- 2026-11-09
- Stars
- ★ 5
- Forks
- 0
01 前言 Front Matter
- name
- omni-providers
- description
- Manage provider connections, API keys, OAuth flows, and connection tests via the REST API. List, add, update, remove, and test AI provider integrations across OmniRoute's 375-provider catalog.
02 资源文件 3
- 参考文档references/endpoints.md27.7 KB
- 脚本scripts/app.json1.6 KB
- 脚本scripts/sfp_app.py10.1 KB
03 SKILL.md 正文
This skill needs OmniRoute, which is installed separately. From this skill's folder, run
python3 scripts/sfp_app.py statusto see whether it is installed and running. If it is not, runpython3 scripts/sfp_app.py installto get the plan (it changes nothing), tell the user what it will do, and run it again with--yesonly after they agree.startruns it when it is installed but stopped. <!-- generated by src/lib/agentSkills/generator.ts; manual edits will be overwritten -->
Overview
Manage provider connections, API keys, OAuth flows, and connection tests via the REST API. List, add, update, remove, and test AI provider integrations across OmniRoute's 375-provider catalog.
Authentication
All requests require a valid Bearer token or session cookie. Obtain a token via POST /api/auth/login or configure REQUIRE_API_KEY=false for local development.
Endpoints
GET /api/providersPOST /api/providersGET /api/providers/{id}PATCH /api/providers/{id}DELETE /api/providers/{id}POST /api/providers/{id}/testGET /api/providers/{id}/test-messagePOST /api/providers/{id}/test-messagePUT /api/providers/{id}/test-messageGET /api/providers/{id}/modelsGET /api/providers/cursor/agent-availabilityPOST /api/providers/test-batchPOST /api/providers/validateGET /api/providers/clientPOST /api/providers/agy-auth/importPOST /api/providers/agy-auth/import-bulkPOST /api/providers/agy-auth/zip-extractPOST /api/providers/agy-auth/apply-localGET /api/provider-nodesPOST /api/provider-nodesPATCH /api/provider-nodes/{id}DELETE /api/provider-nodes/{id}POST /api/provider-nodes/validateGET /api/provider-modelsPUT /api/provider-modelsPOST /api/provider-models/validate-and-addGET /api/providers/{id}/cc-aliasPUT /api/providers/{id}/cc-aliasGET /api/providers/{id}/chatgpt-web-codex-doctorPOST /api/providers/{id}/claude-auth/apply-localPOST /api/providers/{id}/claude-auth/exportPOST /api/providers/{id}/codex-auth/apply-localPOST /api/providers/{id}/codex-auth/exportGET /api/providers/{id}/interception-rulesPUT /api/providers/{id}/interception-rulesDELETE /api/providers/{id}/interception-rulesPOST /api/providers/{id}/loginGET /api/providers/{id}/param-filtersPUT /api/providers/{id}/param-filtersDELETE /api/providers/{id}/param-filtersPOST /api/providers/{id}/refreshPOST /api/providers/{id}/refresh-cursorPOST /api/providers/{id}/refresh-tokenPOST /api/providers/{id}/sync-modelsPOST /api/providers/bulkPOST /api/providers/bulk-web-sessionPOST /api/providers/claude-auth/importPOST /api/providers/claude-auth/import-bulkPOST /api/providers/claude-auth/zip-extractPOST /api/providers/codex-auth/importPOST /api/providers/codex-auth/import-bulkPOST /api/providers/codex-auth/zip-extractPOST /api/providers/command-code/auth/applyPOST /api/providers/command-code/auth/callbackPOST /api/providers/command-code/auth/startGET /api/providers/command-code/auth/statusPOST /api/providers/command-code/auth/statusGET /api/providers/expirationGET /api/providers/free-onboardingPOST /api/providers/free-onboardingGET /api/providers/health-autopilotPOST /api/providers/health-autopilot/actionsGET /api/providers/health-matrixPOST /api/providers/importGET /api/providers/openrouter-statsGET /api/providers/quota-windowsPOST /api/providers/volcengine-plan/connectPOST /api/providers/volcengine-plan/connect/{sessionId}/cancelPOST /api/providers/volcengine-plan/connect/{sessionId}/codePOST /api/providers/volcengine-plan/connect/{sessionId}/identityPOST /api/providers/volcengine-plan/connect/{sessionId}/resendGET /api/providers/volcengine-plan/connect/{sessionId}/statusGET /api/providers/web-session-contractPOST /api/providers/zed/discoverPOST /api/providers/zed/importPOST /api/providers/zed/manual-import
Payloads
See the full OpenAPI specification at GET /api/openapi/spec or docs/openapi.yaml for detailed request/response schemas.
<!-- skill:custom-start -->
Additional endpoints
POST /api/providers/{id}/refresh
Rotate / refresh OAuth tokens or re-validate credentials for a provider connection. Useful after token expiration or when credentials need to be renewed without deleting the connection.
curl -X POST https://localhost:20128/api/providers/{id}/refresh \
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
-H "Content-Type: application/json" \
-d '{}'
GET /api/provider-metrics
Retrieve aggregated usage and performance metrics for all provider connections (request counts, error rates, latency percentiles, token usage). Used by dashboards and Auto-Combo scoring.
curl https://localhost:20128/api/provider-metrics \
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
Response example:
{
"providers": [
{
"id": "my-openai",
"requestCount": 1240,
"errorRate": 0.02,
"p50LatencyMs": 340,
"p99LatencyMs": 1200,
"tokensIn": 500000,
"tokensOut": 250000
}
]
}
GET /api/providers/health-matrix
Returns a health-matrix view of all providers with per-connection status, circuit-breaker state, and cooldown expiry. Useful for debugging routing decisions.
curl https://localhost:20128/api/providers/health-matrix \
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
<!-- skill:custom-end -->
04 同仓库更多 Skills
scientific-schematics
Generates scientific diagram drafts using Nano Banana 2 AI with smart iterative refinement. Uses Gemini 3.7 Flash for quality review. Refines when the review requests improvement, with at most two generations. Specialized in neural network architectures, system diagrams, flowcharts, biological pathways, and complex scientific visualizations.
polyhaven-texture-apply
Apply realistic PBR textures from PolyHaven to any Blender object. Supports metals, wood, concrete, fabric, and more. Trigger when asked to texture an object, apply a material from PolyHaven, make something look like metal/wood/marble, or change object surface.
polyhaven-studio-setup
Set up a professional product photography studio in Blender using PolyHaven HDRIs and PBR ground materials. Trigger when asked to create a studio setup, add HDRI lighting, set up product photography, or create a showroom scene.
polyhaven-scene-builder
Build complete product scenes using PolyHaven assets — HDRI environment, textured ground/pedestal, and optional props from the 3D model library. Trigger when asked to build a product scene, create a showcase setup, add a pedestal, or compose a product shot.
polyhaven-material-swap
Cycle through multiple PolyHaven materials on a product and render each variant. Great for showing color/finish options. Trigger when asked to show material variants, swap textures, create color options, show finish comparisons, or render product in different materials.
polyhaven-hdri-showcase
Render the same product across multiple HDRI environments and output a comparison grid. Trigger when asked to compare lighting setups, test different environments, show product in multiple settings, or create an HDRI comparison.