Submit media execution on a secret version
Submits one bounded media execution for an exact configured account.
Submits one bounded media execution for an exact configured account. The input is revalidated before Money reserves or claims any funds. A missing acknowledgment is unresolved. Retry only with the original execution key; never replace that key to recover the same execution.
- Path
POST https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/secrets/secret/secret_versions/secret-version:submitMediaExecution - Scope
broker:media:submit - Effect
write— a successful call changes state. - Collection secret_versions
Request
| Field | Type | What it is |
|---|---|---|
name | string | The exact recovery SecretVersion bound to the Broker account. Required. |
execution_key | string | Original durable platform-hold execution key. Required. |
endpoint | string | Exact approved supplier endpoint identifier, not a URL. Required. |
input_json | string | Original bounded input, encoded as JSON text so duplicates can be refused. Required. Never returned again. |
job_create_time | timestamp | Original durable job creation time in RFC 3339, at microsecond precision. Required. |
sku_revision | string | Exact SKU revision returned by the preflight quote for this job. Required. |
request_sha256 | string | Canonical input SHA-256 returned by the preflight quote for this job. Required. |
Response
| Field | Type | What it is |
|---|---|---|
receipt | string | Opaque supplier request ID, returned only after durable acknowledgment. |
hold_uid | string | Money hold UID recorded by the Broker execution fence. This is not permission to claim, settle, or release the hold. Output only. |
Errors
UNAUTHENTICATED— No valid key or token was presented.PERMISSION_DENIED— The key lacks the method's permission.INVALID_FIELD— A field failed validation.FAILED_PRECONDITION— A released manifest owns a requested resource field. Change the declaration in the named file and key path, then release.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 describes.
Examples
curl -X POST "https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/secrets/secret/secret_versions/secret-version:submitMediaExecution" \
-H "Authorization: Bearer $SYLPHX_API_KEY" \
-H "Content-Type: application/json" \
-d '{"endpoint":"…","execution_key":"…","input_json":"…","job_create_time":{},"request_sha256":"…","sku_revision":"…"}'