POST
/
v1
/
projects
/
{project_id}
/
metadata
/
{metadata_id}
curl --request POST \
  --url https://api.landing.ai/v1/projects/{project_id}/metadata/{metadata_id} \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "allowMultiple": true,
  "predefinedChoicesAppend": [
    "<string>"
  ],
  "valueFlexible": true
}'
{
  "data": {
    "name": "<string>",
    "type": "text",
    "allowMultiple": true,
    "predefinedChoices": [
      "<string>"
    ],
    "id": 123,
    "valueFlexible": true
  }
}

Headers

apikey
string | null

Path Parameters

metadata_id
integer
required
project_id
integer
required

Query Parameters

timeout
integer | null
default:60

Body

application/json

Response

200
application/json

Successful Response

The response is of type object.