メインコンテンツまでスキップ

Give the outcome of a screen an Oliver run opened.

POST/api/v1/oliver-runs/{oliver_run_id}/surface-eventsoliver:run
注記

このページの操作の説明は、API の OpenAPI 文書のとおり英語で記載しています。

Settles a surface of your own run as the editor's Save, Publish, Cancel or error does: the surface takes the state, and a run parked on it (waiting_for_surface_save) continues, which respond_oliver_run cannot do (v1_run_editor_wait). Without oliver_surface_event_id the run's open surface is used (409 when it has none). state is what the screen was saved with. Answers 201 with the surface. Needs Interact With Oliver Surfaces; callers without View Oliver Conversations and View Oliver Surfaces receive a write receipt.

スコープoliver:run
非同期いいえ
MCP ツールcreate_oliver_run_surface_event
Portal の権限interact_with_oliver_surfaces

パラメーター​

名前場所型必須説明
oliver_run_idpathstring必須
Docwize-Versionheaderstring (date)任意
Idempotency-Keyheaderstring任意max 255

リクエスト本文​

Content-Type型
application/jsonOliverSurfaceEventCreateInput

応答​

ステータス説明本文
201Success.application/json OliverSurfaceEvent または object
400invalid_version, malformed_jsonapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
404not_foundapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
409conflict, idempotency_in_progressapplication/problem+json Problem
413payload_too_largeapplication/problem+json Problem
415unsupported_media_typeapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422idempotency_key_reused, validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

エラー​

この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。

スキーマ​

OliverSurfaceEvent​

フィールド型必須説明
created_atstring (date-time) または null必須
modestring必須
oliver_run_idstring必須
oliver_surface_event_idstring必須The surface the run opened: the one an outcome is given to.
save_statestring必須pending (open, waiting for an outcome), saved, published, cancelled or error (open).
stateobject必須The state the surface was saved with (and what it created); empty until an outcome carries one.
typestring必須The kind of screen: email_template, search, exploration, agent_config and so on (open).
updated_atstring (date-time) または null必須

OliverSurfaceEventCreateInput​

フィールド型必須説明
errorstring または null任意What went wrong (surface_error).
event_typestring必須surface_saved, surface_published, surface_cancelled or surface_error.
oliver_surface_event_idstring または null任意The surface the outcome is for; omit for the run's open surface.
stateobject または null任意What the surface was saved with, as the editor reports it (saved and published).