Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Manage provider connections, API keys, OAuth flows, and connection tests via the REST API. List, add, update, remove, and test AI provider integrations (OpenAI, Anthropic, Gemini, and 160+).
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | 81% | 0% |
| case-02 | ✗→✓ | ▲ Improved | 9% | 0% |
| case-03 | ✗→✓ | ▲ Improved | 125% | 0% |
| case-07 | ✗→✓ | ▲ Improved | 168% | 0% |
| case-08 | ✗→✓ | ▲ Improved | 159% | 0% |
<!-- generated by src/lib/agentSkills/generator.ts; manual edits will be overwritten -->
Manage provider connections, API keys, OAuth flows, and connection tests via the REST API. List, add, update, remove, and test AI provider integrations (OpenAI, Anthropic, Gemini, and 160+).
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.
List provider connections
bashcurl https://localhost:20128/api/providers \ -H "Authorization: Bearer $OMNIROUTE_TOKEN"
Create provider connection
bashcurl -X POST https://localhost:20128/api/providers \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" -H "Content-Type: application/json" \ -d '{}'
Get provider connection
bashcurl https://localhost:20128/api/providers/{id} \ -H "Authorization: Bearer $OMNIROUTE_TOKEN"
Update provider connection
bashcurl -X PATCH https://localhost:20128/api/providers/{id} \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" -H "Content-Type: application/json" \ -d '{}'
Delete provider connection
bashcurl -X DELETE https://localhost:20128/api/providers/{id} \ -H "Authorization: Bearer $OMNIROUTE_TOKEN"
Test provider connection
bashcurl -X POST https://localhost:20128/api/providers/{id}/test \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" -H "Content-Type: application/json" \ -d '{}'
List models for a provider
bashcurl https://localhost:20128/api/providers/{id}/models \ -H "Authorization: Bearer $OMNIROUTE_TOKEN"
Test multiple providers at once
bashcurl -X POST https://localhost:20128/api/providers/test-batch \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" -H "Content-Type: application/json" \ -d '{}'
Validate provider credentials
bashcurl -X POST https://localhost:20128/api/providers/validate \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" -H "Content-Type: application/json" \ -d '{}'
Get client-side provider info
bashcurl https://localhost:20128/api/providers/client \ -H "Authorization: Bearer $OMNIROUTE_TOKEN"
Import an Antigravity CLI (agy) token file as an agy connection
bashcurl -X POST https://localhost:20128/api/providers/agy-auth/import \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" -H "Content-Type: application/json" \ -d '{}'
Bulk-import multiple Antigravity CLI (agy) token files (up to 50)
bashcurl -X POST https://localhost:20128/api/providers/agy-auth/import-bulk \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" -H "Content-Type: application/json" \ -d '{}'
Extract .json token files from an uploaded ZIP for agy bulk import
bashcurl -X POST https://localhost:20128/api/providers/agy-auth/zip-extract \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" -H "Content-Type: application/json" \ -d '{}'
Auto-detect and import the local Antigravity CLI (agy) login from disk
bashcurl -X POST https://localhost:20128/api/providers/agy-auth/apply-local \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" -H "Content-Type: application/json" \ -d '{}'
List provider nodes
bashcurl https://localhost:20128/api/provider-nodes \ -H "Authorization: Bearer $OMNIROUTE_TOKEN"
Create provider node
bashcurl -X POST https://localhost:20128/api/provider-nodes \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" -H "Content-Type: application/json" \ -d '{}'
Update provider node
bashcurl -X PATCH https://localhost:20128/api/provider-nodes/{id} \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" -H "Content-Type: application/json" \ -d '{}'
Delete provider node
bashcurl -X DELETE https://localhost:20128/api/provider-nodes/{id} \ -H "Authorization: Bearer $OMNIROUTE_TOKEN"
Validate a provider node
bashcurl -X POST https://localhost:20128/api/provider-nodes/validate \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" -H "Content-Type: application/json" \ -d '{}'
List provider models
bashcurl https://localhost:20128/api/provider-models \ -H "Authorization: Bearer $OMNIROUTE_TOKEN"
See the full OpenAPI specification at GET /api/openapi/spec or docs/openapi.yaml for detailed request/response schemas.
<!-- skill:custom-start -->
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.
bashcurl -X POST https://localhost:20128/api/providers/{id}/refresh \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" \ -H "Content-Type: application/json" \ -d '{}'
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.
bashcurl https://localhost:20128/api/provider-metrics \ -H "Authorization: Bearer $OMNIROUTE_TOKEN"
Response example:
json{ "providers": [ { "id": "my-openai", "requestCount": 1240, "errorRate": 0.02, "p50LatencyMs": 340, "p99LatencyMs": 1200, "tokensIn": 500000, "tokensOut": 250000 } ] }
Returns a health-matrix view of all providers with per-connection status, circuit-breaker state, and cooldown expiry. Useful for debugging routing decisions.
bashcurl https://localhost:20128/api/providers/health-matrix \ -H "Authorization: Bearer $OMNIROUTE_TOKEN"
<!-- skill:custom-end -->
Other measured skills in the registry, with their headline benchmark lift.