POST
/
v1
/
projects
/
{project_id}
/
classes
curl --request POST \
  --url https://api.landing.ai/v1/projects/{project_id}/classes \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "data": [
    {
      "id": 123,
      "name": "<string>",
      "index": 123,
      "color": "<string>",
      "description": "<string>"
    }
  ]
}

Headers

apikey
string | null

Path Parameters

project_id
integer
required

Query Parameters

timeout
integer | null
default:60

Body

application/json · Classes · object

Response

201
application/json

Successful Response

The response is of type object.