Metadata Fields

Search datasource values in a metadata field

POST
/v1_1/{cloud_name}/metadata_fields/{external_id}/datasource/search

Performs a search within a specific metadata field's datasource to find matching values, with support for exact or partial matches.

Authorization

AuthorizationBasic <token>

Basic authentication using Cloudinary API Key and API Secret.

In: header

Path Parameters

cloud_name*string

The cloud name of your product environment.

external_id*string

The external ID of the metadata field to search the datasource for.

Query Parameters

max_results?integer

The maximum number of results to return.

Default255
term?string

The term to search for. can be any substring of the value.

exact_match?boolean

Whether to search for an exact match.

Defaultfalse

Request Body

application/json

The datasource search query for this field.

payload?

Metadata payload for rule-based inference.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/v1_1/my_cloud/metadata_fields/string/datasource/search" \  -H "Content-Type: application/json" \  -d '{}'
{  "values": [    {      "external_id": "string",      "value": "string"    }  ]}