Anytype icon

Anytype

Interact with the Anytype API

Object → Update

AI-generated

Summary

Updates an Anytype object in a selected space with a PATCH request. In Simple mode, set any combination of its name, Markdown body, type, and property values; JSON mode sends the supplied UpdateObjectRequest body directly.

Inputs

  • Space (required) — The space containing the object; choose from available spaces.
  • Object (required) — The object to update; choose from objects in the selected space.
  • Body Mode — Choose Simple to fill in individual fields or JSON to provide the raw request body.
  • Name — In Simple mode, sets the object's name when non-empty.
  • Body — In Simple mode, replaces the object's body with the supplied Markdown when non-empty.
  • Type — In Simple mode, changes the object's type when a type key is supplied.
  • Properties — In Simple mode, set values by property key and format. Number values are converted to numbers; checkbox values to booleans; multi-select, files, and objects values are comma-separated lists. Empty values are omitted.
  • Body (JSON) — In JSON mode, provide the raw UpdateObjectRequest JSON. The field is required when JSON mode is selected.
  • Simplify — Defaults to true. When enabled, returns flattened object fields (including id, name, layout, type, and available properties); disable it to return the raw object response.
  • Request Options — Optional batching, SSL certificate validation, proxy, and timeout settings for requests.

Output shape

A single object record

The response's object field is unwrapped. With Simplify enabled, output is flattened; an absent object payload produces an empty item.

Links

Discussion