LLM-readable documentation index
ApiV3GeneratedEntity Types

Create an Entity Type

Hand off to an LLM
POST
/v3/entity-types
x-api-key<token>

Authenticate using API Key in request header

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://api.bem.ai/v3/entity-types" \  -H "Content-Type: application/json" \  -d '{    "name": "Drug",    "description": "A pharmaceutical compound"  }'
{
  "typeID": "string",
  "name": "string",
  "description": "string",
  "parentTypeID": "string",
  "attributeSchema": null,
  "createdAt": "2019-08-24T14:15:22Z",
  "updatedAt": "2019-08-24T14:15:22Z"
}