For the complete documentation index, see llms.txt. Every page is also served as Markdown at its URL followed by .md.

standards
Add attributeAPI reference

Add attribute


POST
/schema/objects/{objectId}/attributes

Path Parameters

objectId*string

Request Body

application/json
  1. body

Definition of a new attribute. Type-specific configuration (e.g. options for select, decimals for number, target object for relation) is passed as additional top-level keys.

name*string

Unique machine name within the object.

label*string

Human-readable label.

type*string

Attribute type.

Value in"text""richtext""number""checkbox""date""phone""currency""status""location""select""multiselect""file""user""relation""formula""rollup""document"
required?boolean
unique?boolean
description?string
placeholder?string
icon?string

Icon name.

defaultValue?unknown

Default value; the shape depends on the attribute type.

metadata?
[key: string]?any

Response Body

Example Request
curl -X POST 'https://api.standards.new/v1/schema/objects/string/attributes' \  -H 'Content-Type: application/json' \  -d '{  "name": "string",  "label": "string",  "type": "text"}'
Example Response201
Empty