Documents and tasks
These guides describe the current version of Space, which you can use today at app.getspace.sh.
Documents, tasks and task columns.
Send every request to your API URL with your key, as described in the reference overview. Read API concepts for paging, safe retries, revisions and errors.
GET / v1/ spaces/ {space_id}/ resources
List documents or tasks
Documents or tasks, 50 per page in ID order, without their bodies. Memory records and handoffs are not listed here.
Path parameters
space_idstring (uuid)Required
Query parameters
kindstringRequiredOne of
document,taskafterstring (uuid) or nulllimitinteger1 to 500Default
50
Responses
200Success
itemsarray of objectRequired14 fields in
itemsidstring (uuid)RequiredkindstringRequiredOne of
document,taskrevisionintegerRequiredSend this as expected_revision to change it.
At least 1
titlestringRequiredstatusstringRequiredA task column value. Documents report todo.
updated_atstring (date-time)RequiredauthorstringRequired"you", "agent", or a teammate's display name in a team Space.
author_client_idstring (uuid) or nullRequiredThe agent connection that wrote this revision, if an agent did.
author_agentobject or nullRequired5 fields in
author_agentidstring (uuid)RequiredrevisionintegerRequirednamestringRequiredharnessstringRequiredThe agent's software, such as claude, codex or cursor.
{key}anyAny other key.
projectstring (uuid) or nullRequiredfolderstring (uuid) or nullRequiredprioritystring or nullRequiredOne of
High,Medium,LowrecallobjectRequired4 fields in
recallcategorystringRequiredsource for documents and tasks, handoff for session handoffs, memory for memory records.
One of
source,handoff,memorytopicsarray of stringRequiredsourcesarray of objectRequiredExact source revisions this item cites.
2 fields in
sourcesresource_idstring (uuid)RequiredrevisionintegerRequiredAt least 1
excludedbooleanRequiredTrue when the item is kept out of recall.
fileobject or nullPresent on a document that keeps an original file uploaded on the website, such as a PDF, a presentation, a picture or a video. The body holds the text extracted from it; the file itself is viewed and downloaded on the website.
10 fields in
fileidstring (uuid)RequirednamestringRequiredThe original file name.
typestringRequiredThe file's media type, such as application/pdf.
bytesintegerRequiredThe file's size in bytes.
At least 1
sha256stringRequiredThe SHA-256 digest of the file, in hexadecimal.
partsintegerRequiredHow many parts of up to 1 MiB store the file.
At least 1
widthinteger or nullA picture's or video's width in pixels, when the browser read it.
heightinteger or nullIts height in pixels.
durationnumber or nullA video's or recording's length in seconds, when the browser read it.
thumbnailobject or nullA small picture of a picture, video or PDF the browser made at upload, which the website's file grid shows. Its bytes are stored like the file's parts and are shown on the website only.
7 fields in
thumbnailidstring (uuid)RequiredtypestringRequiredOne of
image/webp,image/jpegbytesintegerRequiredThe thumbnail's size in bytes, at most 64 KiB.
At least 1
sha256stringRequiredThe SHA-256 digest of the thumbnail, in hexadecimal.
widthintegerRequiredAt least 1
heightintegerRequiredAt least 1
partsintegerRequiredAlways 1: a thumbnail is one part.
At least 1
next_cursorstring (uuid) or nullRequiredPass as after for the next page; null at the end.
Example response
{
"items": [
{
"author": "agent",
"author_agent": null,
"author_client_id": null,
"folder": null,
"id": "f1b24507-bd74-4136-a523-da32b3acbf9f",
"kind": "task",
"priority": "High",
"project": null,
"recall": {
"category": "source",
"excluded": false,
"sources": [],
"topics": []
},
"revision": 1,
"status": "todo",
"title": "Write the Atlas changelog",
"updated_at": "2026-10-22T09:59:29.611312+00:00"
}
],
"next_cursor": null
}Errors
- 401The API key is missing, unknown, expired or revoked. Error
- 403Not allowed: a read-only key, a view-only role, or an operation keys cannot do. Error
- 404Not found. Other Spaces also look absent to a key. Error
- 422Invalid fields, revision or payload. Error
- 503Temporarily unavailable or busy. Retry with backoff, honouring Retry-After. Error
Example request
curl "https://<api-host>/v1/spaces/{space_id}/resources?kind=document" \
-H "Authorization: Bearer $SPACE_API_KEY"POST / v1/ spaces/ {space_id}/ resources
Create or update a document or task
Creates a document or task with expected_revision: 0, or replaces one by sending its resource_id and current revision. Every save is a new immutable revision.
Path parameters
space_idstring (uuid)Required
Request bodyRequired
command_idstring (uuid)Requiredresource_idstring (uuid) or nullexpected_revisionintegerRequiredAt least 0
kindstringRequiredOne of
document,tasktitlestringRequired1 to 300 characters
bodystringUp to 700000 charactersDefault
""statusstring1 to 80 charactersPattern
^[a-z0-9][a-z0-9_-]*$Defaulttodorecallobject or null4 fields in
recallcategorystringOne of
source,handoff,memoryDefaultsourcetopicsarray of stringUp to 12 itemsEach item: 1 to 100 charactersEach item: pattern
^[^|\r\n]+$sourcesarray of objectUp to 20 items
2 fields in
sourcesresource_idstring (uuid)RequiredrevisionintegerRequiredAt least 1
excludedbooleanDefault
false
projectstring (uuid) or nullfolderstring (uuid) or nullprioritystring or nullOne of
High,Medium,Low
Responses
200Success
idstring (uuid)RequiredkindstringRequiredOne of
document,taskrevisionintegerRequiredSend this as expected_revision to change it.
At least 1
titlestringRequiredstatusstringRequiredA task column value. Documents report todo.
updated_atstring (date-time)RequiredauthorstringRequired"you", "agent", or a teammate's display name in a team Space.
author_client_idstring (uuid) or nullRequiredThe agent connection that wrote this revision, if an agent did.
author_agentobject or nullRequired5 fields in
author_agentidstring (uuid)RequiredrevisionintegerRequirednamestringRequiredharnessstringRequiredThe agent's software, such as claude, codex or cursor.
{key}anyAny other key.
projectstring (uuid) or nullRequiredfolderstring (uuid) or nullRequiredprioritystring or nullRequiredOne of
High,Medium,LowrecallobjectRequired4 fields in
recallcategorystringRequiredsource for documents and tasks, handoff for session handoffs, memory for memory records.
One of
source,handoff,memorytopicsarray of stringRequiredsourcesarray of objectRequiredExact source revisions this item cites.
2 fields in
sourcesresource_idstring (uuid)RequiredrevisionintegerRequiredAt least 1
excludedbooleanRequiredTrue when the item is kept out of recall.
fileobject or nullPresent on a document that keeps an original file uploaded on the website, such as a PDF, a presentation, a picture or a video. The body holds the text extracted from it; the file itself is viewed and downloaded on the website.
10 fields in
fileidstring (uuid)RequirednamestringRequiredThe original file name.
typestringRequiredThe file's media type, such as application/pdf.
bytesintegerRequiredThe file's size in bytes.
At least 1
sha256stringRequiredThe SHA-256 digest of the file, in hexadecimal.
partsintegerRequiredHow many parts of up to 1 MiB store the file.
At least 1
widthinteger or nullA picture's or video's width in pixels, when the browser read it.
heightinteger or nullIts height in pixels.
durationnumber or nullA video's or recording's length in seconds, when the browser read it.
thumbnailobject or nullA small picture of a picture, video or PDF the browser made at upload, which the website's file grid shows. Its bytes are stored like the file's parts and are shown on the website only.
7 fields in
thumbnailidstring (uuid)RequiredtypestringRequiredOne of
image/webp,image/jpegbytesintegerRequiredThe thumbnail's size in bytes, at most 64 KiB.
At least 1
sha256stringRequiredThe SHA-256 digest of the thumbnail, in hexadecimal.
widthintegerRequiredAt least 1
heightintegerRequiredAt least 1
partsintegerRequiredAlways 1: a thumbnail is one part.
At least 1
bodystringRequiredMarkdown text.
memoryobject or nullPresent when the resource is a memory record.
3 fields in
memoryclaimsarray of objectRequired13 fields in
claimsidstring (uuid)RequiredThe claim's entry_id, used to edit or forget it.
indexstringRequiredA short label for the claim.
valuestringRequiredThe claim's exact text.
memory_typestringRequiredOne of
factual,proceduralimportanceintegerRequired0 to 3
editedbooleanRequiredcreated_atstring (date-time)RequiredclassificationobjectRequired6 fields in
classificationscopestringRequiredOne of
global,project,unassignedcategory_idsarray of string (uuid)Requiredproject_idsarray of string (uuid)Requiredsection_idsarray of string (uuid)RequiredmethodstringRequiredHow the assignment was made, such as manual or decision.
reasonstringRequired
creatorobjectRequired3 fields in
creatorkindstringRequiredOne of
human,agentbasisstringRequiredHow the creator is known, such as captured or assigned.
agentobject or nullRequired5 fields in
agentidstring (uuid)RequiredrevisionintegerRequirednamestringRequiredharnessstringRequiredThe agent's software, such as claude, codex or cursor.
{key}anyAny other key.
relationshipsobject or null2 fields in
relationshipsstatusstringRequiredlinksarray of objectRequired
generated_valuestring or nullThe original wording, present once a claim was edited.
routes_toarray of string (uuid) or nullContainers this claim governs, from the Space map.
sourcestring or nullIn memory listings: the cited source resource ID, or the author kind.
versionintegerRequiredlinksarray of objectRequired2 fields in
linksresource_idstring (uuid)RequiredrelationstringRequiredOne of
related,expands_on
Example response
{
"author": "agent",
"author_agent": null,
"author_client_id": null,
"body": "Summarize what changed.",
"folder": null,
"id": "f1b24507-bd74-4136-a523-da32b3acbf9f",
"kind": "task",
"priority": "High",
"project": null,
"recall": {
"category": "source",
"excluded": false,
"sources": [],
"topics": []
},
"revision": 1,
"status": "todo",
"title": "Write the Atlas changelog",
"updated_at": "2026-10-22T09:59:29.611312+00:00"
}Errors
- 401The API key is missing, unknown, expired or revoked. Error
- 402An active subscription is required to add content. Reading, export and deletion still work. Error
- 403Not allowed: a read-only key, a view-only role, or an operation keys cannot do. Error
- 404Not found. Other Spaces also look absent to a key. Error
- 409Conflict: a stale expected_revision, a reused command_id, or a changed snapshot. Re-read and retry. Error
- 422Invalid fields, revision or payload. Error
- 429A Space quota is exhausted (storage, items or monthly model requests). Error
- 503Temporarily unavailable or busy. Retry with backoff, honouring Retry-After. Error
Example request
curl -X POST "https://<api-host>/v1/spaces/{space_id}/resources" \
-H "Authorization: Bearer $SPACE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"body": "Summarize what changed.",
"command_id": "fc662fd5-1b12-489b-b063-d12d44f0e261",
"expected_revision": 0,
"kind": "task",
"priority": "High",
"title": "Write the Atlas changelog"
}'GET / v1/ spaces/ {space_id}/ resources/ {resource_id}
Get a document or task
One document or task with its body. Pass revision to read an earlier revision.
Path parameters
space_idstring (uuid)Requiredresource_idstring (uuid)Required
Query parameters
revisioninteger or nullAt least 1
Responses
200Success
idstring (uuid)RequiredkindstringRequiredOne of
document,taskrevisionintegerRequiredSend this as expected_revision to change it.
At least 1
titlestringRequiredstatusstringRequiredA task column value. Documents report todo.
updated_atstring (date-time)RequiredauthorstringRequired"you", "agent", or a teammate's display name in a team Space.
author_client_idstring (uuid) or nullRequiredThe agent connection that wrote this revision, if an agent did.
author_agentobject or nullRequired5 fields in
author_agentidstring (uuid)RequiredrevisionintegerRequirednamestringRequiredharnessstringRequiredThe agent's software, such as claude, codex or cursor.
{key}anyAny other key.
projectstring (uuid) or nullRequiredfolderstring (uuid) or nullRequiredprioritystring or nullRequiredOne of
High,Medium,LowrecallobjectRequired4 fields in
recallcategorystringRequiredsource for documents and tasks, handoff for session handoffs, memory for memory records.
One of
source,handoff,memorytopicsarray of stringRequiredsourcesarray of objectRequiredExact source revisions this item cites.
2 fields in
sourcesresource_idstring (uuid)RequiredrevisionintegerRequiredAt least 1
excludedbooleanRequiredTrue when the item is kept out of recall.
fileobject or nullPresent on a document that keeps an original file uploaded on the website, such as a PDF, a presentation, a picture or a video. The body holds the text extracted from it; the file itself is viewed and downloaded on the website.
10 fields in
fileidstring (uuid)RequirednamestringRequiredThe original file name.
typestringRequiredThe file's media type, such as application/pdf.
bytesintegerRequiredThe file's size in bytes.
At least 1
sha256stringRequiredThe SHA-256 digest of the file, in hexadecimal.
partsintegerRequiredHow many parts of up to 1 MiB store the file.
At least 1
widthinteger or nullA picture's or video's width in pixels, when the browser read it.
heightinteger or nullIts height in pixels.
durationnumber or nullA video's or recording's length in seconds, when the browser read it.
thumbnailobject or nullA small picture of a picture, video or PDF the browser made at upload, which the website's file grid shows. Its bytes are stored like the file's parts and are shown on the website only.
7 fields in
thumbnailidstring (uuid)RequiredtypestringRequiredOne of
image/webp,image/jpegbytesintegerRequiredThe thumbnail's size in bytes, at most 64 KiB.
At least 1
sha256stringRequiredThe SHA-256 digest of the thumbnail, in hexadecimal.
widthintegerRequiredAt least 1
heightintegerRequiredAt least 1
partsintegerRequiredAlways 1: a thumbnail is one part.
At least 1
bodystringRequiredMarkdown text.
memoryobject or nullPresent when the resource is a memory record.
3 fields in
memoryclaimsarray of objectRequired13 fields in
claimsidstring (uuid)RequiredThe claim's entry_id, used to edit or forget it.
indexstringRequiredA short label for the claim.
valuestringRequiredThe claim's exact text.
memory_typestringRequiredOne of
factual,proceduralimportanceintegerRequired0 to 3
editedbooleanRequiredcreated_atstring (date-time)RequiredclassificationobjectRequired6 fields in
classificationscopestringRequiredOne of
global,project,unassignedcategory_idsarray of string (uuid)Requiredproject_idsarray of string (uuid)Requiredsection_idsarray of string (uuid)RequiredmethodstringRequiredHow the assignment was made, such as manual or decision.
reasonstringRequired
creatorobjectRequired3 fields in
creatorkindstringRequiredOne of
human,agentbasisstringRequiredHow the creator is known, such as captured or assigned.
agentobject or nullRequired5 fields in
agentidstring (uuid)RequiredrevisionintegerRequirednamestringRequiredharnessstringRequiredThe agent's software, such as claude, codex or cursor.
{key}anyAny other key.
relationshipsobject or null2 fields in
relationshipsstatusstringRequiredlinksarray of objectRequired
generated_valuestring or nullThe original wording, present once a claim was edited.
routes_toarray of string (uuid) or nullContainers this claim governs, from the Space map.
sourcestring or nullIn memory listings: the cited source resource ID, or the author kind.
versionintegerRequiredlinksarray of objectRequired2 fields in
linksresource_idstring (uuid)RequiredrelationstringRequiredOne of
related,expands_on
Example response
{
"author": "agent",
"author_agent": null,
"author_client_id": null,
"body": "Summarize what changed.",
"folder": null,
"id": "f1b24507-bd74-4136-a523-da32b3acbf9f",
"kind": "task",
"priority": "High",
"project": null,
"recall": {
"category": "source",
"excluded": false,
"sources": [],
"topics": []
},
"revision": 1,
"status": "todo",
"title": "Write the Atlas changelog",
"updated_at": "2026-10-22T09:59:29.611312+00:00"
}Errors
- 401The API key is missing, unknown, expired or revoked. Error
- 403Not allowed: a read-only key, a view-only role, or an operation keys cannot do. Error
- 404Not found. Other Spaces also look absent to a key. Error
- 422Invalid fields, revision or payload. Error
- 503Temporarily unavailable or busy. Retry with backoff, honouring Retry-After. Error
Example request
curl "https://<api-host>/v1/spaces/{space_id}/resources/{resource_id}" \
-H "Authorization: Bearer $SPACE_API_KEY"DELETE / v1/ spaces/ {space_id}/ resources/ {resource_id}
Delete a document or task
Permanently deletes a document or task and its history. expected_revision must be the current revision.
Path parameters
space_idstring (uuid)Requiredresource_idstring (uuid)Required
Query parameters
expected_revisionintegerRequiredAt least 1
Responses
200Success
deletedbooleanRequiredAlways
true
Example response
{
"deleted": true
}Errors
- 401The API key is missing, unknown, expired or revoked. Error
- 402An active subscription is required to add content. Reading, export and deletion still work. Error
- 403Not allowed: a read-only key, a view-only role, or an operation keys cannot do. Error
- 404Not found. Other Spaces also look absent to a key. Error
- 409Conflict: a stale expected_revision, a reused command_id, or a changed snapshot. Re-read and retry. Error
- 422Invalid fields, revision or payload. Error
- 429A Space quota is exhausted (storage, items or monthly model requests). Error
- 503Temporarily unavailable or busy. Retry with backoff, honouring Retry-After. Error
Example request
curl -X DELETE "https://<api-host>/v1/spaces/{space_id}/resources/{resource_id}?expected_revision=1" \
-H "Authorization: Bearer $SPACE_API_KEY"GET / v1/ spaces/ {space_id}/ tasks/ columns
List task columns
The task board's columns, in order. A task's status is a column value.
Path parameters
space_idstring (uuid)Required
Responses
200Success
revisionintegerRequiredSend as expected_revision when adding a column.
columnsarray of objectRequired2 fields in
columnsvaluestringRequiredThe status value stored on tasks, such as in_progress.
labelstringRequired
Example response
{
"columns": [
{
"label": "To do",
"value": "todo"
},
{
"label": "In progress",
"value": "in_progress"
}
],
"revision": 1
}Errors
- 401The API key is missing, unknown, expired or revoked. Error
- 403Not allowed: a read-only key, a view-only role, or an operation keys cannot do. Error
- 404Not found. Other Spaces also look absent to a key. Error
- 422Invalid fields, revision or payload. Error
- 503Temporarily unavailable or busy. Retry with backoff, honouring Retry-After. Error
Example request
curl "https://<api-host>/v1/spaces/{space_id}/tasks/columns" \
-H "Authorization: Bearer $SPACE_API_KEY"POST / v1/ spaces/ {space_id}/ tasks/ columns
Add a task column
Adds a column to the task board. expected_revision is the columns' revision.
Path parameters
space_idstring (uuid)Required
Request bodyRequired
valuestringRequired1 to 80 charactersPattern
^[a-z0-9][a-z0-9_-]*$labelstringRequired1 to 80 characters
command_idstring (uuid)Requiredexpected_revisionintegerRequiredAt least 1
Responses
200Success
revisionintegerRequiredSend as expected_revision when adding a column.
columnsarray of objectRequired2 fields in
columnsvaluestringRequiredThe status value stored on tasks, such as in_progress.
labelstringRequired
Example response
{
"columns": [
{
"label": "To do",
"value": "todo"
},
{
"label": "In progress",
"value": "in_progress"
}
],
"revision": 2
}Errors
- 401The API key is missing, unknown, expired or revoked. Error
- 402An active subscription is required to add content. Reading, export and deletion still work. Error
- 403Not allowed: a read-only key, a view-only role, or an operation keys cannot do. Error
- 404Not found. Other Spaces also look absent to a key. Error
- 409Conflict: a stale expected_revision, a reused command_id, or a changed snapshot. Re-read and retry. Error
- 422Invalid fields, revision or payload. Error
- 429A Space quota is exhausted (storage, items or monthly model requests). Error
- 503Temporarily unavailable or busy. Retry with backoff, honouring Retry-After. Error
Example request
curl -X POST "https://<api-host>/v1/spaces/{space_id}/tasks/columns" \
-H "Authorization: Bearer $SPACE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"command_id": "92d4d855-24d3-4cd1-a8f3-5df5edeafcd8",
"expected_revision": 1,
"label": "Review",
"value": "review"
}'POST / v1/ spaces/ {space_id}/ tasks/ {resource_id}/ status
Move a task
Moves a task to another column without rewriting its content.
Path parameters
space_idstring (uuid)Requiredresource_idstring (uuid)Required
Request bodyRequired
command_idstring (uuid)Requiredexpected_revisionintegerRequiredAt least 1
statusstringRequired1 to 80 charactersPattern
^[a-z0-9][a-z0-9_-]*$
Responses
200Success
idstring (uuid)RequiredkindstringRequiredOne of
document,taskrevisionintegerRequiredSend this as expected_revision to change it.
At least 1
titlestringRequiredstatusstringRequiredA task column value. Documents report todo.
updated_atstring (date-time)RequiredauthorstringRequired"you", "agent", or a teammate's display name in a team Space.
author_client_idstring (uuid) or nullRequiredThe agent connection that wrote this revision, if an agent did.
author_agentobject or nullRequired5 fields in
author_agentidstring (uuid)RequiredrevisionintegerRequirednamestringRequiredharnessstringRequiredThe agent's software, such as claude, codex or cursor.
{key}anyAny other key.
projectstring (uuid) or nullRequiredfolderstring (uuid) or nullRequiredprioritystring or nullRequiredOne of
High,Medium,LowrecallobjectRequired4 fields in
recallcategorystringRequiredsource for documents and tasks, handoff for session handoffs, memory for memory records.
One of
source,handoff,memorytopicsarray of stringRequiredsourcesarray of objectRequiredExact source revisions this item cites.
2 fields in
sourcesresource_idstring (uuid)RequiredrevisionintegerRequiredAt least 1
excludedbooleanRequiredTrue when the item is kept out of recall.
fileobject or nullPresent on a document that keeps an original file uploaded on the website, such as a PDF, a presentation, a picture or a video. The body holds the text extracted from it; the file itself is viewed and downloaded on the website.
10 fields in
fileidstring (uuid)RequirednamestringRequiredThe original file name.
typestringRequiredThe file's media type, such as application/pdf.
bytesintegerRequiredThe file's size in bytes.
At least 1
sha256stringRequiredThe SHA-256 digest of the file, in hexadecimal.
partsintegerRequiredHow many parts of up to 1 MiB store the file.
At least 1
widthinteger or nullA picture's or video's width in pixels, when the browser read it.
heightinteger or nullIts height in pixels.
durationnumber or nullA video's or recording's length in seconds, when the browser read it.
thumbnailobject or nullA small picture of a picture, video or PDF the browser made at upload, which the website's file grid shows. Its bytes are stored like the file's parts and are shown on the website only.
7 fields in
thumbnailidstring (uuid)RequiredtypestringRequiredOne of
image/webp,image/jpegbytesintegerRequiredThe thumbnail's size in bytes, at most 64 KiB.
At least 1
sha256stringRequiredThe SHA-256 digest of the thumbnail, in hexadecimal.
widthintegerRequiredAt least 1
heightintegerRequiredAt least 1
partsintegerRequiredAlways 1: a thumbnail is one part.
At least 1
bodystringRequiredMarkdown text.
memoryobject or nullPresent when the resource is a memory record.
3 fields in
memoryclaimsarray of objectRequired13 fields in
claimsidstring (uuid)RequiredThe claim's entry_id, used to edit or forget it.
indexstringRequiredA short label for the claim.
valuestringRequiredThe claim's exact text.
memory_typestringRequiredOne of
factual,proceduralimportanceintegerRequired0 to 3
editedbooleanRequiredcreated_atstring (date-time)RequiredclassificationobjectRequired6 fields in
classificationscopestringRequiredOne of
global,project,unassignedcategory_idsarray of string (uuid)Requiredproject_idsarray of string (uuid)Requiredsection_idsarray of string (uuid)RequiredmethodstringRequiredHow the assignment was made, such as manual or decision.
reasonstringRequired
creatorobjectRequired3 fields in
creatorkindstringRequiredOne of
human,agentbasisstringRequiredHow the creator is known, such as captured or assigned.
agentobject or nullRequired5 fields in
agentidstring (uuid)RequiredrevisionintegerRequirednamestringRequiredharnessstringRequiredThe agent's software, such as claude, codex or cursor.
{key}anyAny other key.
relationshipsobject or null2 fields in
relationshipsstatusstringRequiredlinksarray of objectRequired
generated_valuestring or nullThe original wording, present once a claim was edited.
routes_toarray of string (uuid) or nullContainers this claim governs, from the Space map.
sourcestring or nullIn memory listings: the cited source resource ID, or the author kind.
versionintegerRequiredlinksarray of objectRequired2 fields in
linksresource_idstring (uuid)RequiredrelationstringRequiredOne of
related,expands_on
Example response
{
"author": "agent",
"author_agent": null,
"author_client_id": null,
"body": "Summarize what changed.",
"folder": null,
"id": "f1b24507-bd74-4136-a523-da32b3acbf9f",
"kind": "task",
"priority": "High",
"project": null,
"recall": {
"category": "source",
"excluded": false,
"sources": [],
"topics": []
},
"revision": 2,
"status": "review",
"title": "Write the Atlas changelog",
"updated_at": "2026-10-22T09:59:29.685727+00:00"
}Errors
- 401The API key is missing, unknown, expired or revoked. Error
- 402An active subscription is required to add content. Reading, export and deletion still work. Error
- 403Not allowed: a read-only key, a view-only role, or an operation keys cannot do. Error
- 404Not found. Other Spaces also look absent to a key. Error
- 409Conflict: a stale expected_revision, a reused command_id, or a changed snapshot. Re-read and retry. Error
- 422Invalid fields, revision or payload. Error
- 429A Space quota is exhausted (storage, items or monthly model requests). Error
- 503Temporarily unavailable or busy. Retry with backoff, honouring Retry-After. Error
Example request
curl -X POST "https://<api-host>/v1/spaces/{space_id}/tasks/{resource_id}/status" \
-H "Authorization: Bearer $SPACE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"command_id": "9fbff18b-d349-4e11-9679-ec805053cc42",
"expected_revision": 1,
"status": "review"
}'POST / v1/ spaces/ {space_id}/ handoffs
Save a handoff
Saves a session handoff: a summary with decisions, progress, open questions and next actions. Handoffs are recalled with mode: resume on the context route.
Path parameters
space_idstring (uuid)Required
Request bodyRequired
command_idstring (uuid)Requiredresource_idstring (uuid) or nullexpected_revisionintegerAt least 0Default
0titlestringRequired1 to 300 characters
summarystringRequired1 to 2000 characters
decisionsarray of stringUp to 20 itemsEach item: 1 to 1500 characters
progressarray of stringUp to 20 itemsEach item: 1 to 1500 characters
unresolved_questionsarray of stringUp to 20 itemsEach item: 1 to 1500 characters
next_actionsarray of stringUp to 20 itemsEach item: 1 to 1500 characters
topicsarray of stringUp to 12 itemsEach item: 1 to 100 charactersEach item: pattern
^[^|\r\n]+$sourcesarray of objectUp to 20 items
2 fields in
sourcesresource_idstring (uuid)RequiredrevisionintegerRequiredAt least 1
Responses
200Success
idstring (uuid)RequiredkindstringRequiredOne of
document,taskrevisionintegerRequiredSend this as expected_revision to change it.
At least 1
titlestringRequiredstatusstringRequiredA task column value. Documents report todo.
updated_atstring (date-time)RequiredauthorstringRequired"you", "agent", or a teammate's display name in a team Space.
author_client_idstring (uuid) or nullRequiredThe agent connection that wrote this revision, if an agent did.
author_agentobject or nullRequired5 fields in
author_agentidstring (uuid)RequiredrevisionintegerRequirednamestringRequiredharnessstringRequiredThe agent's software, such as claude, codex or cursor.
{key}anyAny other key.
projectstring (uuid) or nullRequiredfolderstring (uuid) or nullRequiredprioritystring or nullRequiredOne of
High,Medium,LowrecallobjectRequired4 fields in
recallcategorystringRequiredsource for documents and tasks, handoff for session handoffs, memory for memory records.
One of
source,handoff,memorytopicsarray of stringRequiredsourcesarray of objectRequiredExact source revisions this item cites.
2 fields in
sourcesresource_idstring (uuid)RequiredrevisionintegerRequiredAt least 1
excludedbooleanRequiredTrue when the item is kept out of recall.
fileobject or nullPresent on a document that keeps an original file uploaded on the website, such as a PDF, a presentation, a picture or a video. The body holds the text extracted from it; the file itself is viewed and downloaded on the website.
10 fields in
fileidstring (uuid)RequirednamestringRequiredThe original file name.
typestringRequiredThe file's media type, such as application/pdf.
bytesintegerRequiredThe file's size in bytes.
At least 1
sha256stringRequiredThe SHA-256 digest of the file, in hexadecimal.
partsintegerRequiredHow many parts of up to 1 MiB store the file.
At least 1
widthinteger or nullA picture's or video's width in pixels, when the browser read it.
heightinteger or nullIts height in pixels.
durationnumber or nullA video's or recording's length in seconds, when the browser read it.
thumbnailobject or nullA small picture of a picture, video or PDF the browser made at upload, which the website's file grid shows. Its bytes are stored like the file's parts and are shown on the website only.
7 fields in
thumbnailidstring (uuid)RequiredtypestringRequiredOne of
image/webp,image/jpegbytesintegerRequiredThe thumbnail's size in bytes, at most 64 KiB.
At least 1
sha256stringRequiredThe SHA-256 digest of the thumbnail, in hexadecimal.
widthintegerRequiredAt least 1
heightintegerRequiredAt least 1
partsintegerRequiredAlways 1: a thumbnail is one part.
At least 1
bodystringRequiredMarkdown text.
memoryobject or nullPresent when the resource is a memory record.
3 fields in
memoryclaimsarray of objectRequired13 fields in
claimsidstring (uuid)RequiredThe claim's entry_id, used to edit or forget it.
indexstringRequiredA short label for the claim.
valuestringRequiredThe claim's exact text.
memory_typestringRequiredOne of
factual,proceduralimportanceintegerRequired0 to 3
editedbooleanRequiredcreated_atstring (date-time)RequiredclassificationobjectRequired6 fields in
classificationscopestringRequiredOne of
global,project,unassignedcategory_idsarray of string (uuid)Requiredproject_idsarray of string (uuid)Requiredsection_idsarray of string (uuid)RequiredmethodstringRequiredHow the assignment was made, such as manual or decision.
reasonstringRequired
creatorobjectRequired3 fields in
creatorkindstringRequiredOne of
human,agentbasisstringRequiredHow the creator is known, such as captured or assigned.
agentobject or nullRequired5 fields in
agentidstring (uuid)RequiredrevisionintegerRequirednamestringRequiredharnessstringRequiredThe agent's software, such as claude, codex or cursor.
{key}anyAny other key.
relationshipsobject or null2 fields in
relationshipsstatusstringRequiredlinksarray of objectRequired
generated_valuestring or nullThe original wording, present once a claim was edited.
routes_toarray of string (uuid) or nullContainers this claim governs, from the Space map.
sourcestring or nullIn memory listings: the cited source resource ID, or the author kind.
versionintegerRequiredlinksarray of objectRequired2 fields in
linksresource_idstring (uuid)RequiredrelationstringRequiredOne of
related,expands_on
Example response
{
"author": "agent",
"author_agent": null,
"author_client_id": null,
"body": "Planned the launch.\n\n## Decisions\n- Use PostgreSQL\n\n## Progress\n\n\n## Unresolved questions\n\n\n## Next actions\n- Write the changelog",
"folder": null,
"id": "db48787b-6a77-40c4-8a16-cb809dff72c4",
"kind": "document",
"priority": null,
"project": null,
"recall": {
"category": "handoff",
"excluded": false,
"sources": [],
"topics": []
},
"revision": 1,
"status": "todo",
"title": "Atlas session",
"updated_at": "2026-10-22T09:59:29.717595+00:00"
}Errors
- 401The API key is missing, unknown, expired or revoked. Error
- 402An active subscription is required to add content. Reading, export and deletion still work. Error
- 403Not allowed: a read-only key, a view-only role, or an operation keys cannot do. Error
- 404Not found. Other Spaces also look absent to a key. Error
- 409Conflict: a stale expected_revision, a reused command_id, or a changed snapshot. Re-read and retry. Error
- 422Invalid fields, revision or payload. Error
- 429A Space quota is exhausted (storage, items or monthly model requests). Error
- 503Temporarily unavailable or busy. Retry with backoff, honouring Retry-After. Error
Example request
curl -X POST "https://<api-host>/v1/spaces/{space_id}/handoffs" \
-H "Authorization: Bearer $SPACE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"command_id": "19cd3bce-d990-4ef9-9cee-3980e8453ee1",
"decisions": [
"Use PostgreSQL"
],
"next_actions": [
"Write the changelog"
],
"summary": "Planned the launch.",
"title": "Atlas session"
}'