> ## Documentation Index
> Fetch the complete documentation index at: https://deepline.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Clarify: Confirm Media Upload

> Confirm a recording media upload. Includes SDK V2 guidance, input constraints, response fields, and Deepline credit cost.

Confirm a recording media upload.

> [!NOTE]
>
> Tool ID: `clarify_confirm_media_upload`

## Run this action

Use the TypeScript SDK for one call. Use `ctx.tools.execute(...)` inside a Play for durable calls, scheduled calls, or CSV processing.

```ts theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
import { Deepline } from 'deepline';

const deepline = await Deepline.connect();
const result = await deepline.tools.execute(
  'clarify_confirm_media_upload',
  {
    "workspace": "example",
    "meetingId": "meeting_123",
    "recordingId": "recording_123"
  },
);

console.log(result.toolResponse.raw);
```

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline run clarify_confirm_media_upload --input '{
  "workspace": "example",
  "meetingId": "meeting_123",
  "recordingId": "recording_123"
}'
```

## Example response

The SDK returns this shape at `result.toolResponse.raw`. The example values illustrate the response.

```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
{
  "data": {
    "data": {
      "type": "example",
      "id": "id_123",
      "attributes": {}
    }
  }
}
```

Use `deepline describe clarify_confirm_media_upload --json` for the latest machine-readable contract.

## Input reference

Finalizes a media upload after the file has been submitted to the presigned policy: validates the stored object and marks the recording complete. Returns the finalized recording.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.workspace` | `string` | Yes | — | The workspace slug — the `&#123;slug&#125;` segment of your Clarify workspace URL. |
| `payload.meetingId` | `string` | Yes | — | The unique ID of the meeting. |
| `payload.recordingId` | `string` | Yes | — | The unique ID of the recording. |
| `payload.silent` | `boolean` | No | — | When true, suppresses in-app and Slack notifications for this mutation. |

<details>
  <summary>Show raw input schema</summary>

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Finalizes a media upload after the file has been submitted to the presigned policy: validates the stored object and marks the recording complete. Returns the finalized recording.",
    "properties": {
      "workspace": {
        "type": "string",
        "description": "The workspace slug — the `{slug}` segment of your Clarify workspace URL."
      },
      "meetingId": {
        "type": "string",
        "description": "The unique ID of the meeting."
      },
      "recordingId": {
        "type": "string",
        "description": "The unique ID of the recording."
      },
      "silent": {
        "type": "boolean",
        "description": "When true, suppresses in-app and Slack notifications for this mutation."
      }
    },
    "required": [
      "workspace",
      "meetingId",
      "recordingId"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Provider response payload. |
| `result.data.data` | `object` | Yes | — | The resource. |
| `result.data.data.type` | `string` | Yes | — | The resource type, e.g. `person` or `deal`. |
| `result.data.data.id` | `string` | Yes | — | The unique ID of the resource. |
| `result.data.data.attributes` | `record` | Yes | — | Field values keyed by field name. available fields depend on the object’s schema. |
| `result.data.data.relationships` | `record` | No | — | Related resources keyed by relationship name, present when requested via `include`. |
| `result.data.data.meta` | `object` | No | — | Per-request metadata about the resource. |
| `result.data.data.meta.effective_access_level` | `"owner" \| "edit" \| "view" \| "none"` | No | — | The requesting user's effective access to this record (`owner`, `edit`, `view`, or `none`). Allowed: `owner`, `edit`, `view`, `none`. |
| `result.meta` | `object` | No | — | Additional response metadata (status, paging). |

<details>
  <summary>Show raw output schema</summary>

  ### Output JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Standard tool result payload.",
    "properties": {
      "data": {
        "type": "object",
        "description": "Provider response payload.",
        "properties": {
          "data": {
            "type": "object",
            "description": "The resource.",
            "properties": {
              "type": {
                "type": "string",
                "description": "The resource type, e.g. `person` or `deal`."
              },
              "id": {
                "type": "string",
                "description": "The unique ID of the resource."
              },
              "attributes": {
                "type": "object",
                "description": "Field values keyed by field name; available fields depend on the object’s schema.",
                "additionalProperties": {}
              },
              "relationships": {
                "type": "object",
                "description": "Related resources keyed by relationship name, present when requested via `include`.",
                "additionalProperties": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "description": "A single resource reference, an array of references, or `null` when the relationship is empty.",
                      "anyOf": [
                        {
                          "type": "object",
                          "properties": {
                            "type": {
                              "type": "string",
                              "description": "The type of the referenced resource."
                            },
                            "id": {
                              "type": "string",
                              "description": "The unique ID of the referenced resource."
                            }
                          },
                          "required": [
                            "type",
                            "id"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "description": "The type of the referenced resource."
                              },
                              "id": {
                                "type": "string",
                                "description": "The unique ID of the referenced resource."
                              }
                            },
                            "required": [
                              "type",
                              "id"
                            ],
                            "additionalProperties": false
                          }
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "meta": {
                      "type": "object",
                      "description": "Metadata about the relationship.",
                      "properties": {
                        "count": {
                          "type": "integer",
                          "description": "Total number of related records for a to-many relationship, independent of the number embedded in `data` (which is capped).",
                          "minimum": 0
                        }
                      },
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "data"
                  ],
                  "additionalProperties": false
                }
              },
              "meta": {
                "type": "object",
                "description": "Per-request metadata about the resource.",
                "properties": {
                  "effective_access_level": {
                    "type": "string",
                    "description": "The requesting user's effective access to this record (`owner`, `edit`, `view`, or `none`).",
                    "enum": [
                      "owner",
                      "edit",
                      "view",
                      "none"
                    ]
                  }
                },
                "additionalProperties": false
              }
            },
            "required": [
              "type",
              "id",
              "attributes"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "data"
        ],
        "additionalProperties": false
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": true
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Deepline cost

* Pricing model: `fixed` (per call).
* Estimated Deepline credits: `0` per pricing unit.
* Provider-native pricing may still exist outside Deepline credit billing.

## Related documentation

* [Connect integrations](https://deepline.com/docs/integrations.md)
* [SDK V2 quickstart](https://deepline.com/docs/sdk-v2/quickstart.md)
* [SDK reference](https://deepline.com/docs/sdk-v2/sdk-reference.md)
* [Run tools across a CSV](https://deepline.com/docs/sdk-v2/batch-csv.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.