# Aqua Voice

> Transcribe audio and retrieve stored dictations, models and preferences.

App · 12 actions. Web page: https://docs.lodol.com/docs/integrations/aqua-voice

## Actions

### Get a dictation session

Read metadata for a stored dictation.

**Inputs**

- Session ID (`session_id`, text, required): Session id.
- Aqua user (`aqua_user`, text): Member user ID if you connect an organization API key.

**Outputs**

- `data` (object): The response from Aqua Voice.

**Example output**

```json
{
  "data": {
    "app": "example",
    "created_at": "example",
    "duration_seconds": 1,
    "id": "example",
    "preview": "example",
    "status": "example",
    "title": "example",
    "updated_at": "example",
    "word_count": 1
  }
}
```

### Get a dictation transcript

Read the final transcript and raw speech recognition text when available.

**Inputs**

- Session ID (`session_id`, text, required): Session id.
- Aqua user (`aqua_user`, text): Member user ID if you connect an organization API key.

**Outputs**

- `data` (object): The response from Aqua Voice.

**Example output**

```json
{
  "data": {
    "final_text": "example",
    "raw_text": "example",
    "session_id": "example"
  }
}
```

### Get a transcription model

Read details about the Avalon transcription model.

**Inputs**

- Model (`model`, text, required): Transcription model. One of: `avalon-2`.

**Outputs**

- `data` (object): The response from Aqua Voice.

**Example output**

```json
{
  "data": {
    "created": 1,
    "id": "example",
    "object": "example",
    "owned_by": "example"
  }
}
```

### Get a transcription result

Retrieve the text of a completed transcription job.

**Inputs**

- Job ID (`job_id`, text, required): Job id.

**Outputs**

- `data` (object): The response from Aqua Voice.

**Example output**

```json
{
  "data": {
    "segments": [
      {}
    ],
    "text": "example",
    "usage": {}
  }
}
```

### Get app settings

Read language and casual messaging settings.

**Inputs**

- Aqua user (`aqua_user`, text): Member user ID if you connect an organization API key.

**Outputs**

- `data` (object): The response from Aqua Voice.

**Example output**

```json
{
  "data": {
    "casual_messaging": true,
    "language": "example"
  }
}
```

### Get current user

Read the account behind your Aqua Voice API key.

**Inputs**

- Aqua user (`aqua_user`, text): Member user ID if you connect an organization API key.

**Outputs**

- `data` (object): The response from Aqua Voice.

**Example output**

```json
{
  "data": {
    "email": "example",
    "history_available": true,
    "id": "example",
    "name": "example"
  }
}
```

### Get transcript customizations

Read the dictionary, text replacements and transcript instructions.

**Inputs**

- Aqua user (`aqua_user`, text): Member user ID if you connect an organization API key.

**Outputs**

- `data` (object): The response from Aqua Voice.

**Example output**

```json
{
  "data": {
    "custom_instructions": "example",
    "dictionary": [
      "example"
    ],
    "replacements": [
      {}
    ],
    "revision": 1
  }
}
```

### Get transcription job

Read progress and the result URL when the job finishes.

**Inputs**

- Job ID (`job_id`, text, required): Job id.

**Outputs**

- `data` (object): The response from Aqua Voice.

**Example output**

```json
{
  "data": {
    "audio_duration_seconds": 1,
    "id": "example",
    "result_url": "example",
    "status": "example"
  }
}
```

### List dictation sessions

Search stored dictations and retrieve the next page.

**Inputs**

- Aqua user (`aqua_user`, text): Member user ID if you connect an organization API key.
- Cursor (`cursor`, text): Cursor returned by the previous page.
- Limit (`limit`, number): Maximum sessions in a page. From 1 to 100.
- Query (`query`, text): Words to find in the transcript.
- App (`app`, text): App name or bundle ID.
- Since (`since`, date and time): Start of the time range.
- Until (`until`, date and time): End of the time range.
- Expand (`expand`, text): Include the full transcript. One of: `transcript`.

**Outputs**

- `data` (object): The response from Aqua Voice.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "app": "example",
        "created_at": "example",
        "duration_seconds": 1,
        "id": "example",
        "preview": "example",
        "status": "example",
        "title": "example",
        "updated_at": "example",
        "word_count": 1
      }
    ],
    "has_more": true,
    "next_cursor": "example"
  }
}
```

### List transcription models

Read the transcription model catalog.

**Inputs**: None.

**Outputs**

- `data` (object): The response from Aqua Voice.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "created": 1,
        "id": "example",
        "object": "example",
        "owned_by": "example"
      }
    ]
  }
}
```

### Start an audio transcription

Queue a recording for transcription and return its job ID.

**Inputs**

- File (`file`, text, required): Upload audio or provide a publicly accessible audio file URL.
- Language (`language`, text): ISO language code. Leave empty to detect it.
- Prompt (`prompt`, text): Names or terms to help identify in the recording.
- Idempotency key (`idempotency_key`, text): Reuse this value if retrying the same file.

**Outputs**

- `data` (object): The response from Aqua Voice.

**Example output**

```json
{
  "data": {
    "audio_duration_seconds": 1,
    "id": "example",
    "result_url": "example",
    "status": "example"
  }
}
```

### Transcribe audio

Upload a recording and return its transcript. This uses transcription credits.

**Inputs**

- File (`file`, text, required): Upload audio or provide a publicly accessible audio file URL.
- Language (`language`, text): ISO language code. Leave empty to detect it.
- Prompt (`prompt`, text): Names or terms to help identify in the recording.
- Idempotency key (`idempotency_key`, text): Reuse this value if retrying the same file.

**Outputs**

- `data` (object): The response from Aqua Voice.

**Example output**

```json
{
  "data": {
    "segments": [
      {}
    ],
    "text": "example",
    "usage": {}
  }
}
```
