Downloads ontology for one or more data sources. (Auth policies: ApiKeyOrJwt)
DataSource
Downloads ontology for one or more data sources. (Auth policies: ApiKeyOrJwt)
Sample requests:
By name: GET /api/datasources/ontology?Names=my-repository
By ID: GET /api/datasources/ontology?DataSourceIds=67f664fd4c2a00698a52bb6f
Legacy ID parameter alias: GET /api/datasources/ontology?Ids=67f664fd4c2a00698a52bb6f
Mixed (IDs and names): GET /api/datasources/ontology?DataSourceIds=67f664fd4c2a00698a52bb6f&Names=my-repository
GET
Downloads ontology for one or more data sources. (Auth policies: ApiKeyOrJwt)
Gets all data sources (repositories and workspaces) regardless of their state.
This endpoint is primarily intended for administrative use cases where all data sources
need to be accessed regardless of their processing status. (Auth policies: ApiKeyOrJwt)Dify External Knowledge API - Retrieval endpoint.
Searches CodeAlive repositories and workspaces for relevant code artifacts. (Auth policies: ApiKeyOrJwt)