Skip to main content

Anonymous access

Query endpoints require no login or credentials. They include reading public resources, executing Functions and Queries, and calling Leafage. For example, invoke demo.usdc_amount saved in Create a Function. Replace demo with your actual Space ID:
On success, data.result is 1.5.

Personal Access Token

Management operations, such as creating, updating, or deleting resources, require a Personal Access Token and are subject to your user permissions.
  1. Log in to Chaintable and switch to your personal account using the account menu in the top-right corner.
  2. Open Personal Access Token from the sidebar and click New Token.
  3. Enter a descriptive Token name, such as docs-openapi-demo, and click Generate token.
  4. Copy and save the Personal Access Token from Copy your token, then click Done. The full credential is shown only once.
Create Personal Access Token dialog
For example, create a normal table in the existing demo Space. Replace demo with a Space ID you have write access to, and <PERSONAL_ACCESS_TOKEN> with your new Personal Access Token:
On success, data.id contains the table ID demo.asset_notes. View and manage your credentials in Personal Access Token.
Personal Access Token list showing names, masked suffixes, creation times, and delete buttons
Click the delete icon and confirm with Delete. The Personal Access Token becomes invalid immediately.

API Key

Use an API Key for application queries with the owning account’s allowance and request rate limit.
  1. Log in to Chaintable and switch to the account that will cover usage.
  2. Open API Keys from the sidebar and click New Key.
  3. Enter a descriptive API key name, such as analytics-service, and click Generate key.
  4. Copy and save the Key. The full Key is shown only once.
Creating and deleting Keys requires the account’s Owner or Admin role. All Keys for an account share its quotas and request rate limits.
Create API key dialog with the name field and Generate key button
Use the anonymous request above and add this header, replacing <API_KEY> with your new Key:
See API calls for Compute Units consumption. View and manage Keys in API Keys.
API Keys list with a Key name and management controls
Click the Key’s delete icon and confirm with Delete. The Key becomes invalid immediately. Keep your Personal Access Token and API Key out of public code and browser frontend code.