# Deepgram Integration via LowCodeAPI

**Last Updated**: February 10, 2026

## Overview
Speech-to-text transcription and audio intelligence platform

**Categories:**
- {'id': 'speech-to-text', 'name': 'Speech to Text AI'}

## Base Endpoint
https://api.lowcodeapi.com/deepgram

**Important**: Always include the provider name in the URL path after `api.lowcodeapi.com/`

## Authentication
**Type:** TOKEN

**Official Documentation:** https://developers.deepgram.com/reference

## URL Format (Important)

LowCodeAPI supports two URL formats. **Always try the New Format first**, then fall back to Old Format if needed.

### New Format (Priority)
- Path parameters stay in the URL path
- Do NOT include path parameters as query parameters
- Example: `https://api.lowcodeapi.com/{provider}/resource/{id}?api_token=XXX`

### Old Format (Fallback)
- Path parameters become query parameters
- Example: `https://api.lowcodeapi.com/{provider}/resource/id?id={id}&api_token=XXX`

### Decision Flow for AI Agents
1. Always use **New Format** first - keep path parameters in the URL path
2. If you get a 404 or error, try **Old Format** with sanitized path
3. Log which format worked for future requests to this provider

## API Categories

## Common Endpoints

### Get All Balances

**Method:** GET
**LowCodeAPI Path:** /v1/projects/{project_id}/balances

**New Format URL:**
https://api.lowcodeapi.com/deepgram/v1/projects/{project_id}/balances?api_token=YOUR_API_TOKEN

**Old Format URL:**
https://api.lowcodeapi.com/deepgram/v1/projects/project_id/balances?project_id={project_id}&api_token=YOUR_API_TOKEN

**Path Parameters:**

| Parameter | Type | Description |
|-----------|------|-------------|
| project_id | string |  |

**Example Request (New Format):**

```bash
curl -X GET 'https://api.lowcodeapi.com/deepgram/v1/projects/{project_id}/balances?api_token=YOUR_API_TOKEN'
```

**Official Documentation:** https://developers.deepgram.com/reference/get-all-balances

### Get Balance

**Method:** GET
**LowCodeAPI Path:** /v1/projects/{project_id}/balances/{balance_id}

**New Format URL:**
https://api.lowcodeapi.com/deepgram/v1/projects/{project_id}/balances/{balance_id}?api_token=YOUR_API_TOKEN

**Old Format URL:**
https://api.lowcodeapi.com/deepgram/v1/projects/project_id/balances/balance_id?balance_id={balance_id}&project_id={project_id}&api_token=YOUR_API_TOKEN

**Path Parameters:**

| Parameter | Type | Description |
|-----------|------|-------------|
| balance_id | string |  |
| project_id | string |  |

**Example Request (New Format):**

```bash
curl -X GET 'https://api.lowcodeapi.com/deepgram/v1/projects/{project_id}/balances/{balance_id}?api_token=YOUR_API_TOKEN'
```

**Official Documentation:** https://developers.deepgram.com/reference/get-balance

### List Invites

**Method:** GET
**LowCodeAPI Path:** /v1/projects/{project_id}/invites

**New Format URL:**
https://api.lowcodeapi.com/deepgram/v1/projects/{project_id}/invites?api_token=YOUR_API_TOKEN

**Old Format URL:**
https://api.lowcodeapi.com/deepgram/v1/projects/project_id/invites?project_id={project_id}&api_token=YOUR_API_TOKEN

**Path Parameters:**

| Parameter | Type | Description |
|-----------|------|-------------|
| project_id | string |  |

**Example Request (New Format):**

```bash
curl -X GET 'https://api.lowcodeapi.com/deepgram/v1/projects/{project_id}/invites?api_token=YOUR_API_TOKEN'
```

**Official Documentation:** https://developers.deepgram.com/reference/list-invites

### Send Invite

**Method:** POST
**LowCodeAPI Path:** /v1/projects/{project_id}/invites

**New Format URL:**
https://api.lowcodeapi.com/deepgram/v1/projects/{project_id}/invites?api_token=YOUR_API_TOKEN

**Old Format URL:**
https://api.lowcodeapi.com/deepgram/v1/projects/project_id/invites?project_id={project_id}&api_token=YOUR_API_TOKEN

**Path Parameters:**

| Parameter | Type | Description |
|-----------|------|-------------|
| project_id | string |  |

**Request Body:**

| Field | Type | Description |
|-------|------|-------------|
| email | string |  |
| scope | string |  |

**Example Request (New Format):**

```bash
curl -X POST 'https://api.lowcodeapi.com/deepgram/v1/projects/{project_id}/invites?api_token=YOUR_API_TOKEN'
```

**Official Documentation:** https://developers.deepgram.com/reference/send-invites

### Delete Invite

**Method:** DELETE
**LowCodeAPI Path:** /v1/projects/{project_id}/invites/{email}

**New Format URL:**
https://api.lowcodeapi.com/deepgram/v1/projects/{project_id}/invites/{email}?api_token=YOUR_API_TOKEN

**Old Format URL:**
https://api.lowcodeapi.com/deepgram/v1/projects/project_id/invites/email?email={email}&project_id={project_id}&api_token=YOUR_API_TOKEN

**Path Parameters:**

| Parameter | Type | Description |
|-----------|------|-------------|
| email | string |  |
| project_id | string |  |

**Example Request (New Format):**

```bash
curl -X DELETE 'https://api.lowcodeapi.com/deepgram/v1/projects/{project_id}/invites/{email}?api_token=YOUR_API_TOKEN'
```

**Official Documentation:** https://developers.deepgram.com/reference/delete-invite

### Leave Project

**Method:** DELETE
**LowCodeAPI Path:** /v1/projects/{project_id}/leave

**New Format URL:**
https://api.lowcodeapi.com/deepgram/v1/projects/{project_id}/leave?api_token=YOUR_API_TOKEN

**Old Format URL:**
https://api.lowcodeapi.com/deepgram/v1/projects/project_id/leave?project_id={project_id}&api_token=YOUR_API_TOKEN

**Path Parameters:**

| Parameter | Type | Description |
|-----------|------|-------------|
| project_id | string |  |

**Example Request (New Format):**

```bash
curl -X DELETE 'https://api.lowcodeapi.com/deepgram/v1/projects/{project_id}/leave?api_token=YOUR_API_TOKEN'
```

**Official Documentation:** https://developers.deepgram.com/reference/leave-project

### List Keys

**Method:** GET
**LowCodeAPI Path:** /v1/projects/{project_id}/keys

**New Format URL:**
https://api.lowcodeapi.com/deepgram/v1/projects/{project_id}/keys?api_token=YOUR_API_TOKEN

**Old Format URL:**
https://api.lowcodeapi.com/deepgram/v1/projects/project_id/keys?project_id={project_id}&api_token=YOUR_API_TOKEN

**Path Parameters:**

| Parameter | Type | Description |
|-----------|------|-------------|
| project_id | string |  |

**Example Request (New Format):**

```bash
curl -X GET 'https://api.lowcodeapi.com/deepgram/v1/projects/{project_id}/keys?api_token=YOUR_API_TOKEN'
```

**Official Documentation:** https://developers.deepgram.com/reference/list-keys

### Get Key

**Method:** GET
**LowCodeAPI Path:** /v1/projects/{project_id}/keys/{key_id}

**New Format URL:**
https://api.lowcodeapi.com/deepgram/v1/projects/{project_id}/keys/{key_id}?api_token=YOUR_API_TOKEN

**Old Format URL:**
https://api.lowcodeapi.com/deepgram/v1/projects/project_id/keys/key_id?key_id={key_id}&project_id={project_id}&api_token=YOUR_API_TOKEN

**Path Parameters:**

| Parameter | Type | Description |
|-----------|------|-------------|
| key_id | string |  |
| project_id | string |  |

**Example Request (New Format):**

```bash
curl -X GET 'https://api.lowcodeapi.com/deepgram/v1/projects/{project_id}/keys/{key_id}?api_token=YOUR_API_TOKEN'
```

**Official Documentation:** https://developers.deepgram.com/reference/get-key

### Create Key

**Method:** POST
**LowCodeAPI Path:** /v1/projects/{project_id}/keys

**New Format URL:**
https://api.lowcodeapi.com/deepgram/v1/projects/{project_id}/keys?api_token=YOUR_API_TOKEN

**Old Format URL:**
https://api.lowcodeapi.com/deepgram/v1/projects/project_id/keys?project_id={project_id}&api_token=YOUR_API_TOKEN

**Path Parameters:**

| Parameter | Type | Description |
|-----------|------|-------------|
| project_id | string |  |

**Request Body:**

| Field | Type | Description |
|-------|------|-------------|
| comment | string |  |
| scopes | array |  |

**Example Request (New Format):**

```bash
curl -X POST 'https://api.lowcodeapi.com/deepgram/v1/projects/{project_id}/keys?api_token=YOUR_API_TOKEN'
```

**Official Documentation:** https://developers.deepgram.com/reference/create-key

### Delete Key

**Method:** DELETE
**LowCodeAPI Path:** /v1/projects/{project_id}/keys/{key_id}

**New Format URL:**
https://api.lowcodeapi.com/deepgram/v1/projects/{project_id}/keys/{key_id}?api_token=YOUR_API_TOKEN

**Old Format URL:**
https://api.lowcodeapi.com/deepgram/v1/projects/project_id/keys/key_id?key_id={key_id}&project_id={project_id}&api_token=YOUR_API_TOKEN

**Path Parameters:**

| Parameter | Type | Description |
|-----------|------|-------------|
| key_id | string |  |
| project_id | string |  |

**Example Request (New Format):**

```bash
curl -X DELETE 'https://api.lowcodeapi.com/deepgram/v1/projects/{project_id}/keys/{key_id}?api_token=YOUR_API_TOKEN'
```

**Official Documentation:** https://developers.deepgram.com/reference/delete-key


## Usage Examples

### Example 1: Basic Chat Completion

Creating a simple text completion or chat message:

```bash
# Create a chat completion - no path parameters needed
curl -X POST "https://api.lowcodeapi.com/deepgram/v1/chat/completions?api_token=YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "your-model-name",
    "messages": [
      {"role": "user", "content": "Hello, how can you help me?"}
    ]
  }'

# Response includes generated content
```

### Example 2: Text Generation with Path Parameters

Generating text with specific model settings:

```bash
# Generate content using a specific model
curl -X POST "https://api.lowcodeapi.com/deepgram/v1/models/generate?api_token=YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Write a short poem about technology",
    "max_tokens": 100
  }'

# Or if the provider uses model in the path:
curl -X POST "https://api.lowcodeapi.com/deepgram/v1/models/{MODEL_ID}:generateContent?api_token=YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "contents": [{"parts": [{"text": "Write a short story"}]}]
  }'
```

### Example 3: List Available Models

```bash
# Get list of available models
curl -X GET "https://api.lowcodeapi.com/deepgram/v1/models?api_token=YOUR_API_TOKEN"
```

## Error Handling

LowCodeAPI returns standard HTTP status codes. Common errors:

| Status Code | Description |
|-------------|-------------|
| 200 | Success - Request completed successfully |
| 400 | Bad Request - Invalid parameters or request body |
| 401 | Unauthorized - Invalid or missing API token |
| 403 | Forbidden - Insufficient permissions |
| 404 | Not Found - Endpoint or resource doesn't exist |
| 429 | Too Many Requests - Rate limit exceeded |
| 500 | Server Error - Provider API error |

All error responses include error details:

```json
{
  "data": {
    "error": {
      "message": "Error description",
      "code": "ERROR_CODE"
    }
  }
}
```

## Complete Endpoint Reference

| Endpoint | Method | Category |
|----------|--------|----------|
| Get All Balances | GET | Billing |
| Get Balance | GET | Billing |
| List Invites | GET | Invitations |
| Send Invite | POST | Invitations |
| Delete Invite | DELETE | Invitations |
| Leave Project | DELETE | Invitations |
| List Keys | GET | Keys |
| Get Key | GET | Keys |
| Create Key | POST | Keys |
| Delete Key | DELETE | Keys |
| Get Members | GET | Members |
| Remove Member | DELETE | Members |
| Get Projects | GET | Projects |
| Get Project | GET | Projects |
| Update Project | PATCH | Projects |
| Delete Project | DELETE | Projects |
| Get Member Scopes | GET | Scopes |
| Update Scope | PUT | Scopes |
| Get All Requests | GET | Usage |
| Get Request | GET | Usage |
| Summarize Usage | GET | Usage |
| Get Fields | GET | Usage |
| Transcribe Pre-recorded Audio | POST | Transcription |
| Transcribe Pre-recorded Audio File | POST | Transcription |
| List Transcription Requests | GET | Transcription |
| Get Transcription Request | GET | Transcription |
| Text to Speech | POST | Speech |

## API Definition Endpoints

You can fetch the complete API specification for this provider:

**New Format (OpenAPI spec):**
```bash
curl 'https://backend.lowcodeapi.com/deepgram/openapi'
```

**Old Format (API definition):**
```bash
curl 'https://backend.lowcodeapi.com/deepgram/definition'
```

## Response Format

All responses are wrapped in a `data` key:

```json
{
  "data": {
    // Actual response from provider (object or array)
  }
}
```