Looking to embed interactive analytics in a product? Build a data app — a full HTML/JavaScript application shipped with your package and served by Credible. See Build Data Apps for how they’re built and used.
The REST APIs
Credible provides three distinct APIs that align with the platform architecture: the Admin API for management operations, the Data API for high-throughput queries, and the Retrieval API for semantic search over your models. This separation ensures administrative operations never impact query workloads, and each plane can scale independently.Admin API
Manage organizations, environments, packages, connections, and permissions
Data API
Query semantic models programmatically and retrieve results
Retrieval API
Search semantic model context — the same retrieval that powers the Context Engine
Authentication
Every request to the REST APIs carries anAuthorization header, and Credible accepts two schemes:
Bearer Tokens (User Auth)
Credible’s APIs are a standard OAuth resource server: they accept access tokens issued by Credible’s identity provider (Auth0) through your organization’s SSO. When you sign in — in the browser or via the CLI’s device flow — you get a short-lived access token, and every request made with it acts with your permissions, enforced by the same access rules as every other surface. The easiest way to get a token is the CLI:~/.cred and uses them for every command. For quick API testing, you can pass the same access token directly:
Create an API Key
1. Create a Group
Navigate toyourorg.app.credibledata.com:
- Click Users & Groups in the bottom left of the sidebar
- Switch to the Groups tab
- Click + Create Group and name your group (e.g.,
ai_agents_group)
2. Grant Environment Access
Navigate to the environment you want this group to access:- Click Permissions on the environment page
- Add your group and select the appropriate role
- Verify the group appears in the permissions list