ImageKit icon

ImageKit

Interact with the ImageKit API

Custom Metadata Field → Create

AI-generated

Summary

Creates a custom metadata field in ImageKit using a name, label, and JSON schema.

Inputs

  • fieldName (required) — The name of the custom metadata field.
  • label (required) — The label of the custom metadata field.
  • schema (required) — The schema of the custom metadata field as a JSON object. Must include a type property.

Output shape

a single record

Returns the full API response from the create request.

Examples

Example 1: Create a text-based metadata field

fieldName: 'customer_segment', label: 'Customer Segment', schema: {"type": "Text"}

Links

Discussion