---
# @generated by sylphx-gen. Do not edit.
title: "Get media execution on a secret version"
description: "`broker.secret_versions.get_media_execution` (GET /v1/{name}:getMediaExecution): Reads the status of one existing Broker video execution, using the original tenant and immutable billing SecretVersion."
type: reference
product: platform
summary: "Reads the status of one existing Broker video execution, using the original tenant and immutable billing SecretVersion."
updated: 2026-09-28
nav: false
---

Reads the status of one existing Broker video execution, using the original tenant and immutable billing SecretVersion. Broker returns a successful video result only alongside matched positive billed evidence. This call never dispatches, captures or releases Money.

- **Path** `GET https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/secrets/secret/secret_versions/secret-version:getMediaExecution`
- **Scope** `broker:media:status`
- **Effect** `read` — nothing is written.
- **Collection** [secret_versions](/docs/api/secret_versions)
- **Query** `execution_key`

## Request

| Field | Type | What it is |
| --- | --- | --- |
| `name` | `string` | Original immutable Broker billing SecretVersion; "latest" is not allowed. Required. |
| `execution_key` | `string` | Original platform-hold execution identity. No supplier ID or URL is accepted. Required. |

## Response

| Field | Type | What it is |
| --- | --- | --- |
| `state` | `MediaExecutionState` | Latest verified supplier state. Output only. One of `unresolved`, `queued`, `running`, `succeeded`, `failed`. |
| `supplier_request_id` | `string` | Supplier request ID when positively correlated; not settlement evidence. Output only. |
| `hold_uid` | `string` | Original Money hold, never selected by the caller. Output only. |
| `sku_revision` | `string` | Immutable SKU revision pinned by the committed execution. Output only. |
| `charge_evidence` | `MediaChargeEvidence` | Present only for a terminal state with a complete, exact billed record. Output only. |
| `video_url` | `string` | Supplier result URL, only on success with verified charge evidence. The calling workload must settle Money before exposing it to its user. Output only. Never returned again. |

### MediaChargeEvidence

| Field | Type | What it is |
| --- | --- | --- |
| `supplier_cost_picousd` | `int64` | Exact positive USD charge after discounts, in pico-USD, at most the persisted execution's reservation. This is not a Money posting. Output only. |

## Errors

- [`UNAUTHENTICATED`](/docs/api/errors/UNAUTHENTICATED) — No valid key or token was presented.
- [`PERMISSION_DENIED`](/docs/api/errors/PERMISSION_DENIED) — The key lacks the method's permission.
- [`RESOURCE_NOT_FOUND`](/docs/api/errors/RESOURCE_NOT_FOUND) — The named Resource does not exist or is not visible.
- [`INVALID_FIELD`](/docs/api/errors/INVALID_FIELD) — A field failed validation.
- [`FAILED_PRECONDITION`](/docs/api/errors/FAILED_PRECONDITION) — A released manifest owns a requested resource field. Change the declaration in the named file and key path, then release.
- [`UNAVAILABLE`](/docs/api/errors/UNAVAILABLE) — The Resource store, the owning service's backend, or the key verifier's snapshot is unavailable; retry after Retry-After.

Every error arrives in the body [Errors](/docs/platform/errors) describes.

## Examples

**cURL**

```curl
curl "https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/secrets/secret/secret_versions/secret-version:getMediaExecution" \
  -H "Authorization: Bearer $SYLPHX_API_KEY"
```

**TypeScript**

```ts
const response = await sylphx.broker.secretVersions.getMediaExecution({ name: 'orgs/acme/projects/shop/envs/production/secrets/secret/secret_versions/secret-version' })
```

**Rust**

```rust
let mut req = sylphx::broker::GetMediaExecutionRequest::default();
req.name = "orgs/acme/projects/shop/envs/production/secrets/secret/secret_versions/secret-version".to_string();
let response = sx.broker().secret_versions().get_media_execution(req).await?;
```

**CLI**

```bash
sylphx broker secret-versions get-media-execution orgs/acme/projects/shop/envs/production/secrets/secret/secret_versions/secret-version
```

**MCP**

```json
{ "method_id": "broker.secret_versions.get_media_execution", "args": {"name":"orgs/acme/projects/shop/envs/production/secrets/secret/secret_versions/secret-version"} }
```
