SDK Platform Coverage

CredVault is a data platform with a dashboard, REST APIs, developer SDKs, CLI tooling, and connected services. The SDKs are for developers who want to call CredVault from their own code. They are not a replacement for every screen in the dashboard.

Use this page to decide whether a feature should be used through the dashboard, REST API, SDK, or CLI.

How The SDK Fits

The SDK wraps CredVault API calls into language-native methods. Instead of manually writing every HTTP request, a developer can create a client and call resources such as data, cie, functions, webhooks, or logs.

The SDK is most useful when you are building:

  • backend services that read and write CredVault data
  • data pipelines that push records into CredVault
  • automation jobs that create backups or inspect logs
  • AI and analytics workflows that call CIE models
  • internal tools that manage functions, triggers, and webhooks
  • scripts that run from CI/CD, notebooks, or worker machines

The SDK is not meant to reproduce the full visual dashboard, but it now includes developer access to the major data-platform capabilities through CredVault's own backend routes. Developers call CredVault methods; CredVault handles authentication, tenancy, audit logging, and the connection to orchestration, lineage, metadata, notebooks, agent sessions, realtime streams, dashboards, alerts, and pipelines.

Main Dashboard Areas

These are the main areas users see in the CredVault app sidebar.

Sidebar areaWhat users do thereSDK status
DashboardView account, usage, clusters, keys, billing prompts, and system summariesPartly covered through metrics, logs, clusters, and billing APIs; not a single SDK dashboard object
NotebookWork with notebooks and code execution through the platform UICovered through notebooks
Agent SessionsUse connected AI agent sessions from the platformCovered through agentSessions / agent_sessions for authenticated session/event calls
ML ExperimentsWork with experiment tracking and model workflowsCIE is covered; advanced experiment tracking remains dashboard-first
System MonitoringView metrics, usage, performance, alerts, and dashboardsCovered through metrics, dashboards, alerts, logs, and realtime stream helpers
OrchestrationExplore orchestration and pipeline APIsCovered through orchestration and pipelines
LineageExplore upstream and downstream data movementCovered through lineage.getLineage / get_lineage and metadata lineage methods
Database ClustersCreate, inspect, and manage data clusters and collectionsPartly covered through data, schema, backups, functions, and triggers
MetadataSearch and inspect platform metadataCovered through metadata
API KeysCreate and manage API keysCovered by apiKeys / api_keys with signed-in user token
Activity LogsView and export user and tenant activityCovered by logs
MigrationsImport, export, and test external data connectionsNot covered by current SDKs
Billing & PlansManage plan choice, invoices, credits, limits, and payment methodsNot covered by current SDKs
Team ManagementManage team access and workspace membershipDashboard/API first; not included in this SDK layer yet

Current SDK Resource Map

The Node.js, Python, Go, and Java SDKs follow the same resource layout.

SDK resourceWhat it doesBest credential
authSign up, sign in, and start user-authenticated sessionsEmail/password or user token
dataQuery, insert, update, and delete collection documents; list clustersAPI key for /api/v1/data; user token for cluster list
cieUpload datasets, list datasets, train models, list models, run predictionsUser token
webhooksCreate, update, delete, test, and inspect webhook deliveriesUser token
functionsCreate, update, delete, test, execute, and read function logsUser token
triggersManage cluster and collection trigger automationUser token
backupsCreate, restore, delete, and inspect backup stateUser token
schemaAnalyze cluster schema and collection indexesUser token
apiKeys / api_keysList, create, revoke, and delete API keysUser token with owner/admin workspace role
metricsRead realtime, performance, security, and active collection metricsUser token
logsRead, filter, export, and summarize activity logsUser token
notificationsList, mark read, mark all read, and delete notificationsUser token
settingsIntended for account settings; current backend coverage is limitedUser token
robotsIntended for robot/device APIs; current backend route shape differsUser token
orchestrationList jobs, runs, assets, sensors, schedules, and launch orchestration jobs through CredVaultUser token
lineageList namespaces, datasets, jobs, runs, versions, search metadata, and inspect lineageUser token
metadataList/search tables and databases and inspect metadata lineageUser token
notebooksCreate, update, execute, export, checkpoint, undo, and redo CredVault notebooksUser token
pipelinesCreate, update, run, and inspect pipeline execution historyUser token
dashboardsCreate dashboards, add visualizations, and fetch dashboard dataUser token
alertsCreate alerts, record metrics, and read alert historyUser token
realtimeList/stop realtime streams and build WebSocket stream URLsUser token
agentSessions / agent_sessionsCreate agent sessions and send session events through CredVault authUser token

Platform Integration Examples

Node.js:

JavaScript
const jobs = await credvault.orchestration.listJobs();
const run = await credvault.orchestration.runJob("daily_customer_refresh");

const lineage = await credvault.lineage.getLineage({
  nodeId: "dataset:customers",
  depth: 3,
  direction: "DOWNSTREAM",
});

const tables = await credvault.metadata.search({ q: "customers" });
const execution = await credvault.pipelines.run("pipeline-id");
const dashboardData = await credvault.dashboards.data("dashboard-id");

Python:

Python
jobs = client.orchestration.list_jobs()
run = client.orchestration.run_job("daily_customer_refresh")

lineage = client.lineage.get_lineage(
    node_id="dataset:customers",
    depth=3,
    direction="DOWNSTREAM",
)

tables = client.metadata.search("customers")
execution = client.pipelines.run("pipeline-id")
dashboard_data = client.dashboards.data("dashboard-id")

Java:

java
String jobs = client.platform.orchestration.listJobs();
String run = client.platform.orchestration.runJob("daily_customer_refresh");
String tables = client.platform.metadata.search("customers", 10);

Go:

go
jobs, err := cv.Orchestration.ListJobs()
run, err := cv.Orchestration.RunJob("daily_customer_refresh")
tables, err := cv.Metadata.Search("customers", 10)

Production Base URL

The SDK source defaults to a local development server:

Example
http://localhost:5000/api

Production applications must pass the deployed CredVault backend API URL:

Example
https://<your-credvault-backend>/api

If a production app does not set the base URL, it will try to call the user's own computer and the request will fail.

API Keys And User Tokens

CredVault uses two different credential types.

Use an API key when your backend service needs direct data access:

Terminal
Test in API explorer
curl https://<your-credvault-backend>/api/v1/data/customers \
  -H "X-API-Key: <your-api-key>"
What you should seeA JSON response, an HTTP status, or a clear authentication or permission error.

Use a user token when the action belongs to a signed-in dashboard user, such as managing clusters, functions, webhooks, API keys, logs, settings, or billing-related account state.

What Is Ready For SDK Use

These areas are the best fit for SDK-based development today:

  • application data access through /api/v1/data
  • cluster discovery through authenticated user sessions
  • CIE datasets, model training, model listing, and predictions
  • webhooks
  • serverless functions
  • triggers
  • backups
  • schema and indexes
  • API key lifecycle operations
  • metrics
  • activity logs
  • basic notifications
  • orchestration jobs, runs, assets, sensors, and schedules
  • lineage namespaces, datasets, jobs, runs, versions, search, and lineage graph queries
  • metadata tables, databases, search, and metadata lineage
  • CredVault notebook operations
  • pipelines, dashboards, alerts, realtime stream management, and agent session/event calls

These are the features a developer building on CredVault should start with.

What Should Stay Dashboard Or REST API First

These areas are platform features, but they should not be presented as fully covered by the current SDKs yet:

  • team and workspace member administration
  • migrations and external connection testing
  • billing, invoices, credits, and payment methods
  • Coder Cloud IDE
  • Pragma IDE
  • advanced experiment tracking beyond the core SDK helpers

Users can still use these features in the dashboard or through documented REST APIs where available.

Use this wording when describing the SDKs:

CredVault SDKs let developers build applications and automation on top of CredVault data, CIE, functions, webhooks, triggers, backups, schema, metrics, logs, API keys, notebooks, pipelines, dashboards, alerts, orchestration, lineage, metadata, realtime streams, and agent sessions.

Avoid saying:

The SDKs control every CredVault product and dashboard feature.

That would be inaccurate because some product areas are dashboard-first or integration-first today.

Choosing The Right Tool

GoalRecommended tool
Build an app that reads and writes CredVault dataSDK or REST API
Connect a backend service to CredVaultSDK with API key
Run data and AI workflows from a terminalCIE CLI
Manage workspace users and billingDashboard
Explore notebooks, metadata, lineage, or orchestrationDashboard integrations or SDK
Build a custom integration not covered by the SDKREST API
Install and use Pragma or CoderTheir dedicated product pages and documentation

The SDK should be presented as a developer acceleration layer for the stable core platform APIs. The dashboard remains the main place for broad platform management.