Objects
Get object
Fetches the full details of a single object identified by the object ID within the specified space. The response includes not only basic metadata (ID, name, icon, type) but also the complete set of blocks (which may include text, files, properties and dataviews) and extra details (such as timestamps and linked member information). This endpoint is essential when a client needs to render or edit the full object view.
get/v1/spaces/{space_id}/objects/{object_id}
Path parameters
space_idstring required
The ID of the space in which the object exists; must be retrieved from ListSpaces endpoint
object_idstring required
The ID of the object to retrieve; must be retrieved from ListObjects, SearchSpace or GlobalSearch endpoints or obtained from response context
Query parameters
format'md'
The format to return the object body in
Headers
Anytype-Versionstring required
The version of the API to use
Response
The retrieved object
Example response
{
"object": {
"icon": {
"emoji": "📄"
},
"id": "bafyreie6n5l5nkbjal37su54cha4coy7qzuhrnajluzv5qd5jvtsrxkequ",
"layout": "basic",
"markdown": "# This is the title\n...",
"name": "My object",
"object": "object",
"properties": [
{
"id": "bafyreids36kpw5ppuwm3ce2p4ezb3ab7cihhkq6yfbwzwpp4mln7rcgw7a",
"key": "description",
"name": "Description",
"object": "property",
"text": "Some text..."
}
],
"snippet": "The beginning of the object body...",
"space_id": "bafyreigyfkt6rbv24sbv5aq2hko3bhmv5xxlf22b4bypdu6j7hnphm3psq.23me69r569oi1",
"type": {
"icon": {
"emoji": "📄"
},
"id": "bafyreigyb6l5szohs32ts26ku2j42yd65e6hqy2u3gtzgdwqv6hzftsetu",
"key": "page",
"name": "Page",
"object": "type",
"plural_name": "Pages",
"properties": [
{
"id": "bafyreids36kpw5ppuwm3ce2p4ezb3ab7cihhkq6yfbwzwpp4mln7rcgw7a",
"key": "last_modified_date",
"name": "Last modified date",
"object": "property"
}
]
}
}
}