---
title: "Connect datasources to application"
method: PUT
path: "/applications/{id}/datasources"
tags: ["Datasources"]
---

# Connect datasources to application

`PUT /applications/{id}/datasources`

Links one or more datasource connectors to each eligible (Digitize) service in a running application. Each datasource is processed independently. Returns 204 when all succeed; returns 207 with per-datasource errors when one or more fail.

## Path parameters

- `id` string, required

## Request body

- GithubComProjectAiServicesAiServicesInternalPkgCatalogApiserverModelsConnectDatasourcesRequest
  - `datasource_ids` string[], required — DatasourceIDs is the list of datasource connector UUIDs to connect.

## Response `204`

All datasources connected successfully

## Other responses

- `207` — One or more datasources failed to connect
- `400` — Invalid request body
- `401` — Unauthorized
- `404` — Application or datasource not found
- `422` — No eligible running service found
- `500` — Internal Server Error

## Changes

- **2026-09-01** `a27748069425` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/ibm/apis/ai-services-catalog-api/changes/applications/:id/datasources/put.md)

---

[API](https://skmtc.dev/ibm/apis/ai-services-catalog-api.md) · [All operations](https://skmtc.dev/ibm/apis/ai-services-catalog-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ibm/ai-services-catalog-api/revisions/283c5c0bd1bb/schema)
