api-economy
api-economy
Gateway Route
Gateway Route is a api-economy capability available through Kong — Self-Hosted API Gateway Admin API, Tyk Cloud — Managed API Gateway on Aweb. Create routing rule (paths + methods) for a gateway service. Access it through a single unified API with automatic failover and intelligent routing.
Best for
Highest quality
Kong — Self-Hosted API Gateway Admin API, Tyk Cloud — Managed API Gateway
Premium tier
Most affordable
Kong — Self-Hosted API Gateway Admin API
Economy tier
Contract
Providers (2)
Public discovery and orchestration
Inspect the live capability descriptor directly, then route orchestration through a capability filter. Generic public execute examples are intentionally withheld until the canonical public execute contract is normalized.
cURL
curl "https://aweblabs.ai/api/v2/capabilities/api.gateway.route"TypeScript
import Aweb from '@aweb/sdk';
const client = new Aweb({
baseUrl: 'https://aweblabs.ai/api/v2',
});
const capability = await client.capabilities.get('api.gateway.route');
console.log(capability.data.runtime.providers);Orchestration pipeline
import Aweb from '@aweb/sdk';
const aweb = new Aweb({ apiKey: process.env.AWEB_API_KEY });
const result = await aweb.orchestrate.run({
query: 'Use Gateway Route to help with a hello-world task and summarize the output',
capabilities: ['api.gateway.route'],
policy: 'balanced',
});
console.log(result.data.status);