Export
These guides describe the current version of Space, which you can use today at app.getspace.sh.
Paged export of everything in the Space.
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.
POST / v1/ spaces/ {space_id}/ export
Export one page of the Space
Exports everything in the Space, including history, one page at a time. Send the first page's snapshot with after on the next pages. The archive is the Space as it was at the first page: writes made meanwhile never interrupt it and are left out.
Path parameters
space_idstring (uuid)Required
Request bodyRequired
afterstring or nullUp to 100 characters
snapshotinteger or nullAt least 0
Responses
200Success
formatstringRequiredsource_spacestring (uuid)RequiredsnapshotintegerRequiredexported_atstring (date-time)Requiredtask_columnsarray of object or nullFirst page only.
2 fields in
task_columnsvaluestringRequiredThe status value stored on tasks, such as in_progress.
labelstringRequired
entriesarray of objectRequired3 fields in
entriesentitystringRequiredWhat value holds, such as resource or item.
currentbooleanRequiredFalse for an earlier revision kept as history.
valueobjectRequired
next_cursorstring or nullRequired
Example response
{
"entries": [
{
"current": true,
"entity": "resource",
"value": {
"author": "agent",
"author_agent": null,
"author_client_id": null,
"body": "Atlas launches in November with PostgreSQL.",
"folder": null,
"id": "7b886ae5-a4b2-4c3e-95bf-212f8b1099c1",
"kind": "document",
"priority": null,
"project": null,
"recall": {
"category": "source",
"excluded": false,
"sources": [],
"topics": []
},
"revision": 1,
"status": "todo",
"title": "Atlas launch plan",
"updated_at": "2026-10-22T09:59:29.591759+00:00"
}
},
{
"current": true,
"entity": "resource",
"value": {
"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"
}
}
],
"exported_at": "2026-10-22T09:59:29.803965+00:00",
"format": "space.archive.v1",
"next_cursor": null,
"snapshot": 5,
"source_space": "d74ac883-b90f-44fc-8d9d-60cbdafb9f55",
"task_columns": [
{
"label": "To do",
"value": "todo"
},
{
"label": "In progress",
"value": "in_progress"
}
]
}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 -X POST "https://<api-host>/v1/spaces/{space_id}/export" \
-H "Authorization: Bearer $SPACE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'