Actions47
- Account Actions
- Account Origin Actions
- Account URL Endpoint Actions
- Asset Actions
- Custom Metadata Field Actions
- File Actions
- File Version Actions
- Folder Actions
- Metadata Actions
- Purge Cache Actions
- Saved Extension Actions
Custom Metadata Field → Create
AI-generatedSummary
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"}