Timescale · Schema
DatabaseShare
A shareable snapshot of a database. Can be used to create a new database from the snapshot in another space.
CompanyDatabasePostgreSQLTime SeriesAnalyticsCloud InfrastructureData PlatformVector SearchDeveloper ToolsOpen Source
Properties
| Name | Type | Description |
|---|---|---|
| share_token | string | Token passed to `createDatabase` (via `share_token`) to create a new database from the shared snapshot in another space. Also used to revoke the share via `revokeShare`. Always begins with `gs_`. |
| database_id | string | ID of the source database. |
| database_name | string | Name of the source database. |
| created_at | string | Time the share was created. |
| expires_at | string | Time the share expires. Absent if the share does not expire. |
| revoked_at | string | Time the share was revoked. Absent if the share is still active. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/timescale/main/json-schema/timescale-database-share-schema.json",
"title": "DatabaseShare",
"description": "A shareable snapshot of a database. Can be used to create a new database from the snapshot in another space.",
"x-generated": "2026-10-13",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/timescale-spaces-api-openapi.yml#/components/schemas/DatabaseShare",
"type": "object",
"required": [
"share_token",
"database_id",
"database_name",
"created_at"
],
"properties": {
"share_token": {
"type": "string",
"description": "Token passed to `createDatabase` (via `share_token`) to create a new database from the shared snapshot in another space. Also used to revoke the share via `revokeShare`. Always begins with `gs_`."
},
"database_id": {
"type": "string",
"description": "ID of the source database."
},
"database_name": {
"type": "string",
"description": "Name of the source database."
},
"created_at": {
"type": "string",
"format": "date-time",
"description": "Time the share was created."
},
"expires_at": {
"type": "string",
"format": "date-time",
"description": "Time the share expires. Absent if the share does not expire."
},
"revoked_at": {
"type": "string",
"format": "date-time",
"description": "Time the share was revoked. Absent if the share is still active."
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/timescale-database-share"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.