Routes
Create a route
Creates a route targeting a Model API, a provider connection, or a route classifier.
POST
cURL
An
INTELLIGENT target creates an auto route. Find its route_classifier_id with List route classifiers, and see Add an auto route.Authorizations
Body
application/json
Upstream target for the route. CONNECTION targets use the provider and credentials of a connection owned by the route's team. INTELLIGENT targets need at least one of the route classifier's models, and one of its fallback models, servable by the team.
- UpsertGridRouteTargetBasetenModelAPIV1
- UpsertGridRouteTargetConnectionV1
- UpsertGridRouteTargetIntelligentV1
Example:
Response
200 - application/json