Routes
Create a route connection
Creates a team’s connection to an upstream provider.
POST
cURL
This endpoint is in beta. The request and response structure may change before it’s generally available.
Authorizations
Send Authorization: Bearer <api_key>. The legacy Authorization: Api-Key <api_key> scheme is also accepted.
Body
application/json
Provider the connection authenticates with, and the team secret holding its API key.
- UpsertRouteConnectionConfigAnthropicV1
- UpsertRouteConnectionConfigOpenAIV1
- UpsertRouteConnectionConfigXAIV1
Example:
Identifier of the team that owns the connection.
Minimum string length:
1Example:
"abc1234"
Response
200 - application/json
Stable connection identifier.
Identifier of the team that owns the connection.
Provider the connection authenticates with, and the team secret holding its API key.
- RouteConnectionConfigAnthropicV1
- RouteConnectionConfigOpenAIV1
- RouteConnectionConfigXAIV1
Creation time, ISO 8601.
Last update time, ISO 8601.