Skip to content
Console
On this page

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

FieldTypeWhat it is
namestringThe exact recovery SecretVersion bound to the Broker account. Required.
execution_keystringOriginal durable platform-hold execution key. Required.
endpointstringExact approved supplier endpoint identifier, not a URL. Required.
input_jsonstringOriginal bounded input, encoded as JSON text so duplicates can be refused. Required. Never returned again.
job_create_timetimestampOriginal durable job creation time in RFC 3339, at microsecond precision. Required.
sku_revisionstringExact SKU revision returned by the preflight quote for this job. Required.
request_sha256stringCanonical input SHA-256 returned by the preflight quote for this job. Required.

Response

FieldTypeWhat it is
receiptstringOpaque supplier request ID, returned only after durable acknowledgment.
hold_uidstringMoney 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":"…"}'