Download OpenAPI specification:Download
The Backspace public API — commit and retrieve AI chat history across platforms. Backspace is the cross-platform data interchange bridge for AI interactions: commit your context, retrieve it on any platform, share reusable skills.
Push a conversation from your AI platform to the user's Backspace vault. This is the equivalent of git push — the conversation is versioned, timestamped, and stored under the user's encrypted repository.
| chatId required | string A stable unique identifier for this conversation on your platform. Used to deduplicate and update existing entries. |
required | Array of objects (Message) The full ordered list of messages in this conversation. |
| title | string Human-readable title for this conversation. |
| platform | string The source platform name (e.g. 'ollama', 'lm-studio', 'chatgpt'). Defaults to the platform associated with your API token. |
| category | string Category tag for this conversation (e.g. 'coding', 'research'). |
| model | string The AI model used for this conversation (e.g. 'llama3.2', 'gpt-4o'). |
| tags | Array of strings Optional tags for filtering and search. |
{- "chatId": "string",
- "title": "string",
- "platform": "string",
- "category": "string",
- "messages": [
- {
- "role": "user",
- "content": "string",
- "timestamp": "2019-08-24T14:15:22Z"
}
], - "model": "string",
- "tags": [
- "string"
]
}{- "success": true,
- "entryId": 0,
- "message": "string"
}Retrieve the user's stored conversations from Backspace. This is the equivalent of git pull — the AI platform can fetch prior context to avoid re-training from scratch. Entries are returned with encrypted content; decryption happens client-side.
| platform | string Filter entries by source platform. Omit to retrieve from all platforms. |
| category | string Filter entries by category tag. |
| limit | integer <= 100 Default: 20 Maximum number of entries to return (default: 20, max: 100). |
| search | string Full-text search across entry titles and topics. |
{- "entries": [
- {
- "id": 0,
- "chatId": "string",
- "title": "string",
- "platform": "string",
- "category": "string",
- "topic": "string",
- "messageCount": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "encryptedContent": "string",
- "iv": "string"
}
], - "total": 0,
- "platform": "string"
}