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

Headers

apikey
string | null

Path Parameters

project_id
integer
required

Query Parameters

timeout
integer | null
default:60

Body

application/json

Response

201
application/json

Successful Response

The response is of type object.