Metadata Generation
APIs related to Metadata Generation.
📄️ Get S3 pre-signed URL to upload a file for payload generation
Returns an S3 pre-signed PUT URL and UploadPath for uploading a sample file used to generate Amorphic resource creation payloads. Only resource_type=datasets is supported (else GE-1106). Requires query params filename and action=getpresignupurl (else IPV-1001 / IPV-1041). Success Message is 'Successfully generated PreSignedUrl'. Safe to retry (read-only URL mint).
📄️ Generate schema or create-dataset payload from an uploaded file
Extracts schema and/or generates a create-dataset payload from a file previously uploaded via the GET pre-signed URL (or referenced by QueryId). Only resource_type=datasets is supported (else GE-1106). Body is MetadataGeneratorInput with required FileName and Action (get-schema|get-payload). Optional dataset fields (DatasetName, Domain, Keywords, TargetLocation, TableUpdate, Iceberg/Hudi options, QueryId, etc.) are accepted when present. get-schema returns {DatasetSchema}; get-payload returns {Payload: <create-dataset body>}.