Docs
Live demo
GET/api/v2/connectors/types

List every connector type with its category, the fields its creation needs and whether Principal can sync it now (available) or later (coming_soon). The same list decides which types POST /connectors accepts and which connectors can be tested and synced: a coming_soon type is rejected with 422 connector.type_unavailable. Requires the admin or viewer role in the organization.

Responses

200

OK

ConnectorTypesResponse · 3 fields
categoriesarray of stringrequired

Categories in display order

itemsarray of ConnectorTypeResponserequired
5 fields
typestring (ConnectorType)required
gitlabgooglegithubldapkubernetescustom
labelstringrequired

Name to show for the type

categorystringrequired

Group of the type in a picker, one of the response categories

availabilitystring (TypeAvailability)required

available - Principal can create and use this type now. Coming_soon - listed for the roadmap, Principal refuses to create, test or sync it.

availablecoming_soon
required_fieldsarray of stringrequired

Fields of POST /connectors that a connector of this type needs, as dotted paths in the request body. Spec may be an empty object when no spec.* field is listed. Empty for a coming_soon type, which can't be created

totalintegerrequired
min 0
403

Forbidden - the caller has no admin or viewer role in the organization

Common errors: 401 429 504. They mean the same for every operation, see Errors.

↑ ↓ to moveEnter to openEsc to close