Account
Create metadata
Changed on<small>Requires an API token with the Metadata Manager role.</small>
Creates a new account-level metadata field definition.
Note that the name and value_type sent in this request are fixed at the time of creation and cannot be changed later.
post/metadata
Request
- Base URLhttps://app.fynk.com/v1/api
- URLhttps://app.fynk.com/v1/api/metadata
- AuthHTTP bearer
Request body
Example request
{
"value_type": "text",
"display_name": "Discount Rate",
"name": "discount_rate",
"description": "The discount rate applied to the company valuation in a follow-on financing round.",
"prompt": "Extract the discount rate percentage from the document.",
"keywords": "discount, rate, valuation"
}Response
MetadataResource
Example response
{
"data": {
"uuid": "7dae3dad-e56d-45e9-86e5-b69dc30597dc",
"name": "discount_rate",
"display_name": "Discount Rate",
"settings": {
"currencies": [
"EUR",
"USD"
]
},
"description": "The discount rate applied to the company valuation in a follow-on financing round.",
"keywords": "discount, rate, valuation",
"prompt": "Extract the discount rate percentage from the document."
}
}Changes
- breaking
removed the enum value
arrayof the request property - breaking
removed the enum value
enumof the request property - breaking
removed the enum value
idof the request property - breaking
removed the enum value
listof the request property - breaking
removed the enum value
uuidof the request property
- breaking
- info
added the optional property
to the response with the status
- info