Getting Started
Get up and running with the Collate API and SDKs. This guide walks you through authentication, SDK installation, and making your first API call.Prerequisites
- A Collate account (cloud or self-hosted instance)
- Your instance base URL (e.g.,
https://your-company.getcollate.io/api) - Python 3.11+, Java 21+, or Go 1.19+ (depending on your SDK choice)
Get Your API Credentials
You need a JWT token to authenticate API requests. There are two ways to get one:Bot Token (recommended for automation)

Personal Access Token (for development)

- Navigate to Settings > Bots in the Collate UI
- Click on the ingestion-bot (or create a new bot for your use case)
- Copy the JWT token from the bot details page


- Click your profile image in the top-right corner
- Go to the Access Token tab
- Click Generate New Token


Install an SDK
Choose your preferred language and install the SDK:Or skip SDK installation and use cURL to interact with the REST API directly.
Make Your First API Call
List the tables in your catalog to verify everything is working:You should see a JSON response like this:
Python
Expected Response
Create Resources with the Fluent API
The SDKs provide a fluent API for creating and managing resources. Here’s how to create a table programmatically:The Java SDK uses a fluent
Python
.withXXX() pattern for building request objects, while the Python SDK uses typed dataclasses with nested constructors. Both provide full type safety and IDE autocompletion.Common Use Cases
Discover Tables
Search and explore metadata across your entire catalog.
Manage Metadata
Create, update, and manage tables, dashboards, pipelines, and more.
Run Quality Tests
Define test suites and monitor data quality metrics programmatically.
Govern Data
Manage domains, glossaries, classifications, and tags.
Manage Teams
Provision users, teams, and manage organizational structure.
Define Data Contracts
Create and validate data contracts for your assets.