Timescale Spaces API

The Spaces API from Timescale — 31 operation(s) for spaces.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 38

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /spaces List Ghost spaces · List spaces #
Ask an LLM
“Which Ghost spaces can I access?”
“Can an API key create a new space?”
Tell an agent
List my Ghost spaces.
Show every Ghost space I'm a member of.
POST /spaces Create a Ghost space · Create a space #
Ask an LLM
“How do I create a new Ghost space?”
“What name does a new space get if I don't give one?”
Tell an agent
Create a Ghost space named {name}.
Create a new Ghost space.
GET /spaces/{space_id} Get a Ghost space · Get a space #
Ask an LLM
“Who owns a given Ghost space and what role do I have?”
“Can an API key see a space's owner and my role?”
Tell an agent
Show Ghost space {space_id}.
Get the owner and my role in space {space_id}.
POST /spaces/{space_id}/rename Rename a Ghost space · Rename a space #
Ask an LLM
“Can I rename an existing Ghost space?”
“What happens to the space name if I leave it out?”
Tell an agent
Rename Ghost space {space_id} to {name}.
Change the name of space {space_id} to {name}.
GET /spaces/{space_id}/usage Get a space's usage and cost · Get space usage #
Ask an LLM
“How much compute and storage is my space using?”
“What does it cost to run a Ghost space?”
Tell an agent
Show usage and billing for space {space_id}.
Get compute, storage and cost for Ghost space {space_id}.
GET /spaces/{space_id}/status Get a space's usage (deprecated) · Get space usage (deprecated) #
Ask an LLM
“Is the old space status endpoint still available?”
“Which deprecated call gives a space's usage?”
Tell an agent
Use the deprecated space status endpoint for space {space_id}.
Call the legacy space status lookup for Ghost space {space_id}.
GET /spaces/{space_id}/members List members of a space · List space members #
Ask an LLM
“Who are the members of a Ghost space?”
“Can an API key list space members?”
Tell an agent
List the members of Ghost space {space_id}.
Show everyone in space {space_id}.
DELETE /spaces/{space_id}/members/{user_id} Remove a member from a space · Remove a member #
Ask an LLM
“Can I kick someone out of a Ghost space?”
“Can the owner or I remove ourselves from a space?”
Tell an agent destructive · confirm first
Remove user {user_id} from Ghost space {space_id}.
Kick member {user_id} out of space {space_id}.
PUT /spaces/{space_id}/members/{user_id}/role Change a member's role · Update a member's role #
Ask an LLM
“Can I promote a member to admin in a space?”
“Can I change my own role in a Ghost space?”
Tell an agent
Set user {user_id} to role {role} in Ghost space {space_id}.
Change member {user_id}'s role in space {space_id} to {role}.
POST /spaces/{space_id}/leave Leave a Ghost space · Leave a space #
Ask an LLM
“How do I leave a Ghost space?”
“Can the owner leave their own space?”
Tell an agent destructive · confirm first
Leave Ghost space {space_id}.
Remove me from space {space_id}.
GET /spaces/{space_id}/invites List pending invites to a space · List sent invites #
Ask an LLM
“Which invites have I sent to a Ghost space?”
“Can an API key see pending space invites?”
Tell an agent
List pending invites for Ghost space {space_id}.
Show the invites I've sent to space {space_id}.
POST /spaces/{space_id}/invites Invite a user to a space · Invite a user to a space #
Ask an LLM
“How do I invite someone to a Ghost space?”
“Can I set a role on a new space invite?”
Tell an agent
Invite {email} to Ghost space {space_id}.
Send an invite to {email} for space {space_id} with role {role}.
DELETE /spaces/{space_id}/invites/{email} Cancel a sent invite · Cancel a sent invite #
Ask an LLM
“Can I withdraw an invite I sent to a space?”
“What happens to an invite I no longer want sent?”
Tell an agent destructive · confirm first
Cancel the invite to {email} for Ghost space {space_id}.
Withdraw the pending invite to {email} in space {space_id}.
GET /spaces/{space_id}/api_keys List API keys for a space · List API keys #
Ask an LLM
“Which API keys exist for a Ghost space?”
“Can an API key list the keys of its own space?”
Tell an agent
List the API keys for Ghost space {space_id}.
Show every client credential in space {space_id}.
POST /spaces/{space_id}/api_keys Create an API key for a space · Create an API key #
Ask an LLM
“How do I create a new API key for a Ghost space?”
“What name do I give a new API key?”
Tell an agent
Create an API key named {name} for Ghost space {space_id}.
Add a new client credential {name} to space {space_id}.
DELETE /spaces/{space_id}/api_keys/{prefix} Delete an API key · Delete an API key #
Ask an LLM
“Can I revoke an API key from a Ghost space?”
“How do I remove a client credential?”
Tell an agent destructive · confirm first
Delete API key {prefix} from Ghost space {space_id}.
Revoke client credential {prefix} in space {space_id}.
GET /spaces/{space_id}/databases List databases in a space · List databases #
Ask an LLM
“What databases are in a Ghost space?”
“Can an API key list the databases of its space?”
Tell an agent
List the databases in Ghost space {space_id}.
Show every database in space {space_id}.
POST /spaces/{space_id}/databases Create a database in a space · Create a database #
Ask an LLM
“How do I create a new database in a Ghost space?”
“Can I choose the size and type of a new database?”
Tell an agent
Create a database named {name} in Ghost space {space_id}.
Create a {type} database of size {size} in space {space_id}.
GET /spaces/{space_id}/databases/{database_ref} Get a database · Get a database #
Ask an LLM
“Can I look up a database by name or ID?”
“What details come back for one database?”
Tell an agent
Show database {database_ref} in Ghost space {space_id}.
Get the details of database {database_ref} in space {space_id}.
DELETE /spaces/{space_id}/databases/{database_ref} Delete a database · Delete a database #
Ask an LLM
“How do I delete a database from a space?”
“Can I remove a database by name?”
Tell an agent destructive · confirm first
Delete database {database_ref} from Ghost space {space_id}.
Drop the database {database_ref} in space {space_id}.
POST /spaces/{space_id}/databases/{database_ref}/fork Fork a database · Fork a database #
Ask an LLM
“How do I make a copy of a database to test on?”
“Can I choose the compute size when forking a database?”
Tell an agent
Fork database {database_ref} in space {space_id}.
Create a {type} fork of {database_ref} named {name} in {space_id}.
POST /spaces/{space_id}/databases/{database_ref}/pause Pause a running database · Pause a database #
Ask an LLM
“Can I stop a database that's not in use to save cost?”
“What happens to a paused database's data?”
Tell an agent
Pause database {database_ref} in space {space_id}.
Stop the running {database_ref} in {space_id}.
POST /spaces/{space_id}/databases/{database_ref}/resume Resume a paused database · Resume a database #
Ask an LLM
“How do I restart a database I paused?”
“Can I bring a paused database back online?”
Tell an agent
Resume database {database_ref} in space {space_id}.
Start the paused {database_ref} in {space_id}.
POST /spaces/{space_id}/databases/{database_ref}/rename Rename a database · Rename a database #
Ask an LLM
“Can I change a database's name?”
“What do I need to rename a database?”
Tell an agent
Rename database {database_ref} in space {space_id} to {name}.
Change the name of {database_ref} in {space_id} to {name}.
POST /spaces/{space_id}/databases/{database_ref}/password Reset a database's password · Update database password #
Ask an LLM
“How do I rotate the password for a database?”
“Can I set a new PostgreSQL password for a database?”
Tell an agent
Set the password of database {database_ref} in space {space_id} to {password}.
Reset the default user password on {database_ref} in {space_id} to {password}.
GET /spaces/{space_id}/databases/{database_ref}/logs Get a database's logs · Get database logs #
Ask an LLM
“Where can I see the logs for a database?”
“Can I search a database's logs for errors?”
Tell an agent
Show logs for database {database_ref} in space {space_id}.
Find {severity} log lines for {database_ref} in {space_id} since {since}.
POST /spaces/{space_id}/databases/{database_ref}/share Share a database snapshot · Share a database #
Ask an LLM
“How do I share a database snapshot with someone?”
“Can I set an expiry on a database share?”
Tell an agent
Share database {database_ref} from space {space_id}.
Create a share of {database_ref} in {space_id} that expires at {expires_at}.
GET /spaces/{space_id}/shares List shared database snapshots · List database shares #
Ask an LLM
“Which database snapshots have I shared?”
“What share tokens exist for my space?”
Tell an agent
List all shared snapshots in space {space_id}.
Show my database shares for {space_id}.
DELETE /spaces/{space_id}/shares/{share_token} Revoke a database share · Revoke a database share #
Ask an LLM
“How do I delete a shared snapshot?”
“Can I stop sharing a database by its share token?”
Tell an agent destructive · confirm first
Revoke share {share_token} in space {space_id}.
Delete the shared snapshot {share_token} from {space_id}.
GET /spaces/{space_id}/invoices List a space's invoices · List invoices #
Ask an LLM
“What invoices have been billed to my space?”
“Where can I see my billing history?”
Tell an agent
List invoices for space {space_id}.
Show the billing history of {space_id}.
GET /spaces/{space_id}/invoices/{invoice_id} Get an invoice's line items · Get invoice detail #
Ask an LLM
“How do I see the line-item breakdown of one invoice?”
“What does a specific invoice include?”
Tell an agent
Show invoice {invoice_id} for space {space_id}.
Break down the charges on invoice {invoice_id} in {space_id}.
GET /spaces/{space_id}/payment List payment methods on file · List payment methods #
Ask an LLM
“Which payment methods are on file for my space?”
“What cards or accounts can I bill?”
Tell an agent
List payment methods on file for space {space_id}.
Show the cards on {space_id}.
POST /spaces/{space_id}/payment Collect a payment method · Create payment method setup #
Ask an LLM
“How do I add a card to my space?”
“Can I collect a payment method through a Stripe setup link?”
Tell an agent
Create a payment method setup for space {space_id}.
Start a Stripe setup intent for {space_id}.
GET /spaces/{space_id}/payment/{payment_id} Get a payment method · Get a payment method #
Ask an LLM
“What details are on a specific payment method?”
“Can I look up one card by ID?”
Tell an agent
Show payment method {payment_id} on space {space_id}.
Get the card {payment_id} in {space_id}.
DELETE /spaces/{space_id}/payment/{payment_id} Delete a payment method · Delete a payment method #
Ask an LLM
“How do I remove a card from my space?”
“Can I delete a payment method?”
Tell an agent destructive · confirm first
Delete payment method {payment_id} from space {space_id}.
Remove the card {payment_id} on {space_id}.
PUT /spaces/{space_id}/payment/{payment_id}/primary Set a payment method as primary · Set primary payment method #
Ask an LLM
“How do I make a card my default payment method?”
“Can I change which card gets charged first?”
Tell an agent
Set payment method {payment_id} as primary for space {space_id}.
Make {payment_id} the default card on {space_id}.
DELETE /spaces/{space_id}/payment/{payment_id}/deletion Cancel a pending payment method deletion · Cancel pending payment method deletion #
Ask an LLM
“How do I stop a pending deletion of a credit card in my space?”
“Can I undo a pending payment method removal?”
Tell an agent destructive · confirm first
Cancel the pending deletion of payment method {payment_id} in space {space_id}.
Rescue payment method {payment_id} that was scheduled for deletion in {space_id}.
PUT /spaces/{space_id}/overages Turn on or cap compute overage billing · Update compute overage settings #
Ask an LLM
“How do I cap how many compute minutes my databases can use?”
“Can I auto-pause databases that go over their compute limit?”
Tell an agent
Set overage billing on space {space_id} to {enabled}.
Cap compute minutes for {space_id} at {compute_limit_minutes} when overages are {enabled}.

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/timescale:timescale-spaces-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

timescale-spaces-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Ghost Spaces API
  version: 0.1.0
  description: Ghost database management API
servers:
- url: https://api.ghost.build/v0
  description: Production
security:
- BearerAuth: []
tags:


# --- truncated at 32 KB (48 KB total) ---
# Full source: https://artifacts.apis.io/timescale/openapi/timescale-spaces-api-openapi.yml