Vercel · Arazzo Workflow
Vercel AI Gateway Discover Model Then Complete
Version 1.0.0
List available models, confirm the requested one is present, then run a chat completion.
View Spec
View on GitHub
AI GatewayGatewaysObservabilityWebhookServerlessHostingDeploymentArazzoWorkflows
Provider
Workflows
discoverModelThenComplete
Verify a model is in the gateway catalog, then create a chat completion.
Lists gateway models, branches on whether the requested model is available, and on success creates a chat completion returning the assistant message and token usage.
1
listModels
List all models reachable through the gateway to confirm availability.
2
complete
Create a chat completion against the confirmed model.
Source API Descriptions
openapi
Arazzo Workflow Specification
Work with this as data
Every workflow here is available over the APIs.io API and to AI agents over MCP.