Metadata Fields

Lists all structured metadata fields defined in your Cloudinary product environment

GET
/v1_1/{cloud_name}/metadata_fields

Retrieves a list of all metadata fields in the product environment based on the provided filters.

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.

Query Parameters

external_ids?array<string>

The external IDs of the metadata fields to retrieve. if not provided, all metadata fields will be returned.

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v1_1/my_cloud/metadata_fields"
{  "metadata_fields": [    {      "type": "string",      "external_id": "string",      "label": "string",      "mandatory": true,      "default_value": "string",      "default_disabled": true,      "validation": {},      "restrictions": {        "readonly_ui": true,        "hidden_ui": true,        "excluded_from_search": true      },      "group": "string",      "datasource": {        "values": [          {            "external_id": "string",            "value": "string",            "position": 0,            "state": "active"          }        ]      },      "allow_dynamic_list_values": true,      "alphabetically_sorted": true    }  ]}