Create record

Create a new record with metadata. Returns 409 if a record with the same type and name already exists in the tenant.

Authentication

AuthorizationBearer
API key or Clerk session token

Request

This endpoint expects an object.
namestringRequired1-500 characters
typestringRequired1-255 characters
messageslist of objects or nullOptional
metadatamap from strings to anyOptionalDefaults to {}

Response

Created record
createdAtstring
idstring
messageslist of any or null
metadatamap from strings to any
namestring
organizationIdstring or null
productSurfaceIdstring or null
schemaValidboolean or null
typestring
updatedAtstring
userIdstring
metadataLabelsmap from strings to strings
metadataSchemaobject
schemaWarningslist of objects
warningslist of objects

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
409
Conflict Error
422
Unprocessable Entity Error
500
Internal Server Error