Skip to content
Last updated

Retrieve the JSON schema specification for a source definition, describing the configuration fields needed to set up a connector of this type.

GEThttps://api.aitronos.com/v1/organizations/{organization_id}/knowledge/connectors/source-definitions/{definition_id}/spec

Returns the configuration specification (JSON schema) for a given source definition. Use this to dynamically render configuration forms or validate source configuration before creating a source.

Path Parameters

organization_id string required

The unique identifier of the organization (format: org_*).

definition_id string required

The source definition ID to retrieve the spec for.


Returns

A specification object containing connection_specification (JSON schema describing the required and optional configuration fields), along with metadata such as documentation_url and supported_destination_sync_modes.

cURL
curl "https://api.aitronos.com/v1/organizations/org_xyz789/knowledge/connectors/source-definitions/def_abc123/spec" \
  -H "Authorization: Bearer $ACCESS_TOKEN"