Create an OpenAPI data source
POST/v1/data_sources/openapi
Saves an API described by an OpenAPI spec, imports its operations and tests the connection. The spec goes as text in spec; the mTLS certificate, base64-encoded in certificate.
Request
Responses
- 201
- 400
- 401
- 403
- 404
- 409
- 422
- 429
- 500
Source created, with the outcome of the connection test.
Body that is not JSON, or a field of the wrong type.
Missing or invalid bearer token.
Token is valid but lacks permission for this operation.
Resource not found in the current organization.
A data source with this name already exists in the workspace.
Request body failed validation.
Rate limit exceeded.
Unexpected server error.