Request

Searches for available datasources that can be used with a specific component. This helps you find existing content to use as datasources.

Security
HTTPBearer
Path
componentIdstring, (uuid)(Componentid)required

The unique identifier of the component for which to search datasources. To get this ID, use the List allowed components for a placeholder endpoint.

Example:86a03271-dff4-470a-92bd-b68c67de2e25
Query
termstring(Term)required

The search term to filter available datasources.

Example:term=news
Headers
x-sc-job-idany(X-Sc-Job-Id)

A unique identifier for the job, used to trace, audit, and revert actions performed by an AI agent through the Agent API.

Example:job-1234
curl -i -X GET \
  'https://edge-platform.sitecorecloud.io/stream/ai-agent-api/api/v1/components/86a03271-dff4-470a-92bd-b68c67de2e25/datasources/search?term=news' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'x-sc-job-id: job-1234'

Responses

Successful response

Bodyapplication/json
resultsArray of objects(Results)

A list of search results.

Default:[]
Response
{ "results": [] }