curl --location --request POST 'https://api.getmetal.io/v1/index' \
--header 'Content-Type: application/json' \
--header 'x-metal-api-key: <api-key>' \
--header 'x-metal-client-id: <client-id>' \
--data-raw '{
"index": "index-id",
"text": "text that will be embedded",
"id": "my-unique-id",
"metadata": {
"fieldA": "my custom value",
"fieldB": "my other custom value"
}
}'