Add a row
Adds a row to one table of one luna and returns it. The table exists once the luna has written to it for the first time. You cannot add a row to an index.
/_luna/tenants/{tenant}/data/{type}/{table}AuthorizationBearer token · headerrequiredAn account key (la_…), an API key (lt_…) or a session token (ls_…). The scopes listed are the permissions the operation needs.
data:writetenantstringrequiredThe tenant, by its name.
typestringrequiredThe luna type, by its name.
tablestringrequiredThe table, by its name.
application/jsonkeyanyrequiredThe luna's key as JSON, such as {"id":"a"}. For a type keyed by one field, the value of that field alone also works.
valuesobject | nullThe row's value for each column you set, by the column's name. A column you leave out takes its default.
The row as it was stored.
rowidinteger<int64>requiredThe row's id within its table.
valuesobjectrequiredThe row's value for each column, by the column's name. Bytes are shown as {"$bytes": length} and a vector as {"$vector": dimensions}.
The request failed. The status says how and error.message says why.
errorErrorDetailrequiredShow propertiesHide properties
codestring | nullA code for programs to branch on, when the error has one.
messagestringrequiredWhat went wrong, in a sentence a person can read.