VocalDocscontracts 1.65.0

Read a Connector

GET /v1/connectors/{connector_id}

PropertyValue
Operationget_connector
GroupConnectors
Scopeintegrations:read
Route classread
IdempotencyNo Idempotency-Key
AuditNot audited: A read of the platform catalog, which holds no Organization data.
Released in1.60.0
Phase 0 hostServed (the hosted api pins 1.65.0)

Answers a Connector with its tools, Triggers, authentication, egress, compliance block and rate limits (1.60.0).

Request

Set VOCAL_API to the base URL of your API and VOCAL_API_KEY to an API key with the integrations:read scope (Authentication and keys). Replace each placeholder, such as agt_... or <name>, with your own value.

curl "$VOCAL_API/v1/connectors/fhir_r4" \
  -H "Authorization: Bearer $VOCAL_API_KEY"

Parameters

NameInTypeRequiredDescription
connector_idpathConnectorIdyesThe id of a Connector (1.60.0): the snake_case slug of its manifest, 2 to 48 characters, platform-wide and stable across its versions.

Responses

StatusContent typeShapeError codes
200application/jsonConnector
400application/jsonErrorEnvelopeinvalid_request
401application/jsonErrorEnvelopeunauthenticated
403application/jsonErrorEnvelopeforbidden
404application/jsonErrorEnvelopenot_found
429application/jsonErrorEnveloperate_limited
500application/jsonErrorEnvelopeinternal_error

Fields of the 200 answer

The shape is Connector.

FieldTypeRequiredDescription
autharray of ConnectorAuthyes
categoryConnectorCategoryyes
complianceConnectorComplianceyes
descriptionstringyes
egressConnectorEgressyes
idConnectorIdyes
namestringyes
object"connector"yes
rate_limitsConnectorRateLimitsyes
sdkstringyesThe @vocalai/connector-sdk versions the Connector is written for, a semver range.
statusConnectorStatusyes
toolsarray of ConnectorToolyes
triggersarray of ConnectorTriggeryes
versionstringyesThe manifest version (semver); a Connection pins its major version.