deepgram-go-management-api
by deepgram
Use when writing or reviewing Go code in this repo that works with Deepgram management endpoints for projects, keys, members, scopes, invitations, usage,…
npx skills add https://github.com/deepgram/deepgram-go-sdk --skill deepgram-go-management-apiUsing Deepgram Management API from the Go SDK
When to use this product
Use this skill for admin and account operations in pkg/client/manage and pkg/api/manage/v1.
- projects
- API keys
- members and scopes
- invitations
- usage and request history
- balances
- model discovery
Use a different skill when:
- you need live voice sessions (
deepgram-go-voice-agent) - you need SDK maintenance workflow (
deepgram-go-maintaining-sdk)
Authentication
Set DEEPGRAM_API_KEY before constructing the management client.
export DEEPGRAM_API_KEY="your_api_key"
Quick start
package main
import (
"context"
"fmt"
"log"
api "github.com/deepgram/deepgram-go-sdk/v3/pkg/api/manage/v1"
manage "github.com/deepgram/deepgram-go-sdk/v3/pkg/client/manage"
)
func main() {
if err := run(); err != nil {
log.Fatal(err)
}
}
func run() error {
ctx := context.Background()
client := manage.NewWithDefaults()
mg := api.New(client)
projects, err := mg.ListProjects(ctx)
if err != nil {
return err
}
fmt.Println(projects)
return nil
}
Key parameters
- constructors
manage.NewWithDefaults()manage.New(apiKey, options)
- common API groups in
pkg/api/manage/v1, usually viaapi.New(client)- projects:
ListProjects,GetProject,UpdateProject,DeleteProject - keys:
ListKeys,GetKey,CreateKey,DeleteKey - members:
ListMembers,RemoveMember - scopes:
GetMemberScopes,UpdateMemberScopes - invitations:
ListInvitations,SendInvitation,DeleteInvitation,LeaveProject - usage:
ListRequests,GetRequest,GetFields,GetUsage - balances:
ListBalances,GetBalance - models:
ListModels,GetModels,GetModel,ListProjectModels,GetProjectModels,GetProjectModel
- projects:
- low-level escape hatch
managev1.Client.APIRequest(...)
API reference (layered)
- In-repo reference
README.mddocs.gopkg/client/manage/client.gopkg/client/manage/v1/client.gopkg/api/manage/v1/projects.gopkg/api/manage/v1/keys.gopkg/api/manage/v1/members.gopkg/api/manage/v1/scopes.gopkg/api/manage/v1/invitations.gopkg/api/manage/v1/usage.gopkg/api/manage/v1/balances.gopkg/api/manage/v1/models.go
- OpenAPI
https://developers.deepgram.com/openapi.yaml
- AsyncAPI
https://developers.deepgram.com/asyncapi.yaml
- Context7
/llmstxt/developers_deepgram_llms_txt
- Product docs
https://developers.deepgram.com/reference/manage/projects/listhttps://developers.deepgram.com/reference/manage/models/list
Gotchas
- The management client is for account/admin APIs, not live Voice Agent runtime.
- The repo exposes management operations from
pkg/api/manage/v1; useapi.New(client)before calling helpers likeListProjects. - For unsupported convenience helpers, fall back to
APIRequest(...)rather than inventing a new transport layer.
Example files in this repo
examples/manage/projects/main.goexamples/manage/keys/main.goexamples/manage/models/main.goexamples/manage/usage/main.go
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).