deepgram-java-management-api

द्वारा deepgram

इस रिपॉजिटरी में Java कोड लिखते या समीक्षा करते समय उपयोग करें जो प्रोजेक्ट्स, प्रोजेक्ट मॉडल्स, API कुंजियाँ, सदस्य, आमंत्रण, उपयोग और… के लिए Deepgram Management APIs को कॉल करता है।

npx skills add https://github.com/deepgram/deepgram-java-sdk --skill deepgram-java-management-api

Using Deepgram Management API (Java SDK)

Administrative REST APIs for project metadata, project-scoped resources, and model discovery.

When to use this product

  • List or inspect projects.
  • Manage project keys, members, invites, usage, or billing.
  • Discover public or project-scoped STT/TTS models.

Use a different skill when:

  • You want to run a live agent session → deepgram-java-voice-agent.
  • You want speech/text inference rather than project administration → use the product skills for STT, TTS, or Read.

Authentication

import com.deepgram.DeepgramClient;

DeepgramClient client = DeepgramClient.builder()
        .apiKey(System.getenv("DEEPGRAM_API_KEY"))
        .build();

Management endpoints require API-key auth. Temporary JWTs from auth().v1().tokens().grant() do not work for Manage APIs.

Quick start — projects

import com.deepgram.types.ListProjectsV1Response;
import com.deepgram.types.ListProjectsV1ResponseProjectsItem;
import java.util.Collections;
import java.util.List;

ListProjectsV1Response response = client.manage().v1().projects().list();
List<ListProjectsV1ResponseProjectsItem> projects = response.getProjects().orElse(Collections.emptyList());

for (ListProjectsV1ResponseProjectsItem project : projects) {
    System.out.printf("%s (%s)%n",
            project.getName().orElse("unnamed"),
            project.getProjectId().orElse("unknown"));
}

Quick start — project models / keys

Pick a project from the list above. New accounts may have zero projects — guard against that before indexing.

if (projects.isEmpty()) {
    throw new IllegalStateException("No Deepgram projects are visible to this API key.");
}
String projectId = projects.get(0).getProjectId().orElseThrow();

client.manage().v1().projects().models().list(projectId);
client.manage().v1().projects().keys().list(projectId);
client.manage().v1().projects().members().list(projectId);
client.manage().v1().projects().members().invites().list(projectId);
client.manage().v1().projects().usage().get(projectId);
client.manage().v1().projects().billing().balances().list(projectId);

Key parameters / API surface

  • Top-level public models: client.manage().v1().models().list() and .get(modelId)
  • Projects: projects().list(), get(projectId), update(projectId, ...), delete(projectId), leave(projectId)
  • Keys: projects().keys().list/create/get/delete
  • Members: projects().members().list/delete
  • Invites: projects().members().invites().list/create/delete
  • Project models: projects().models().list(projectId)
  • Usage: projects().usage().get(projectId)
  • Billing: projects().billing().balances().list(projectId)
  • Requests: projects().requests() subtree exists in the generated API surface
  • Agent think-model discovery: client.agent().v1().settings().think().models().list()
  • Most clients expose withRawResponse() alongside typed methods

API reference (layered)

  1. In-repo source of truth: src/main/java/com/deepgram/resources/manage/v1/, src/main/java/com/deepgram/resources/agent/v1/settings/think/models/, and examples/manage/. There is no reference.md in this checkout.
  2. Canonical OpenAPI: https://developers.deepgram.com/openapi.yaml
  3. Context7: /llmstxt/developers_deepgram_llms_txt
  4. Product docs:

Gotchas

  1. Use an API key, not a temporary JWT, for Manage APIs. The token-grant endpoint explicitly says those JWTs do not work here.
  2. Some example files are intentionally excluded from Gradle compileExamples. manage/ListModels.java, manage/MemberPermissions.java, and manage/UsageBreakdown.java are currently excluded in build.gradle.
  3. Many manage examples are read-only by default. Create/delete snippets are commented out to avoid destructive calls.
  4. Project-scoped model discovery and global model discovery are different. models().list() returns public models; projects().models().list(projectId) returns what a project can use.
  5. This checkout does not expose the Python-style persisted voice-agent configuration client. Do not promise voice_agent.configurations.* here.
  6. The SDK is highly nested. For invites, the path is projects().members().invites(), not a top-level invites() client.

Example files in this repo

  • examples/manage/ListProjects.java
  • examples/manage/ProjectModels.java
  • examples/manage/ManageKeys.java
  • examples/manage/ManageMembers.java
  • examples/manage/ManageInvites.java
  • examples/manage/GetUsage.java
  • examples/manage/Billing.java
  • examples/agent/ListModels.java

Central product skills

For cross-language Deepgram product knowledge — the consolidated API reference, documentation finder, focused runnable recipes, third-party integration examples, and MCP setup — install the central skills:

npx skills add deepgram/skills

This SDK ships language-idiomatic code skills; deepgram/skills ships cross-language product knowledge (see api, docs, recipes, examples, starters, setup-mcp).

deepgram की और Skills

deepclaw-voice
deepgram
OpenClaw पर Deepgram Voice Agent API का उपयोग करके फोन
apple-notes
deepgram
Manage Apple Notes via the `memo` CLI on macOS (create, view, edit, delete, search, move, and export notes). Use when a user asks OpenClaw to add a note, list…
bear-notes
deepgram
grizzly CLI के माध्यम से Bear नोट्स बनाएं, खोजें और प्रबंधित करें।
github
deepgram
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
setup-mcp
deepgram
आप उपयोगकर्ता के लिए Deepgram MCP एकीकरण सेट कर रहे हैं। इन चरणों का पालन करें:
starters
deepgram
एक कार्यशील डेमो क्लोन करें और निर्माण शुरू करें। हर स्टार्टर एक न्यूनतम, चलाने योग्य ऐप है जिसे आप विस्तारित कर सकते हैं।
deepgram-js-audio-intelligence
deepgram
Use when writing or reviewing JavaScript/TypeScript in this repo that calls Deepgram audio analytics overlays on `/v1/listen` - summarize, topics, intents,…
apple-reminders
deepgram
Manage Apple Reminders via the `remindctl` CLI on macOS (list, add, edit, complete, delete). Supports lists, date filters, and JSON/plain output.