ReferenceAdmin
Add a connection
POST
/v1/admin/connectionsRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/admin/connections" \ -H "Content-Type: application/json" \ -d '{ "name": "string", "baseUrl": "string" }'{ "data": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "Campus AI gateway", "description": "string", "baseUrl": "https://ai-gateway.example.edu/v1", "hasApiKey": true, "apiKeyHint": "string", "timeoutSeconds": 0, "requestsPerMinute": 0, "maxConcurrentRequests": 1, "enabled": true, "modelCount": 0, "revision": 0, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" }}