Skip to main content

List the screens an Oliver run opened.

GET/api/v1/oliver-runs/{oliver_run_id}/surface-eventsoliver:run

The native screens (surfaces) the run opened in the Portal, oldest first, each with the kind of screen, its mode and how it stands: pending while the run waits for its outcome (the run is then waiting_for_surface_save), saved, published, cancelled or error. Another user's run is 403 naming its ID. Needs View Oliver Conversations and View Oliver Surfaces.

Scopeoliver:run
AsynchronousNo
MCP toollist_oliver_run_surface_events
Portal permissionsview_oliver_conversations, view_oliver_surfaces
Pagingkeyset
Default ordercreated_at, oliver_surface_event_id
Sort fieldscreated_at, oliver_surface_event_id

Parameters​

NameInTypeRequiredDescription
oliver_run_idpathstringRequired
limitqueryintegerOptionalDefault: 50; ≥ 1
cursorquerystringOptional
sortquerystringOptionalComma-separated sort fields, - for descending.
Docwize-Versionheaderstring (date)Optional
If-None-MatchheaderstringOptionalAnswers 304 when the representation is unchanged (resources that publish an ETag).

Responses​

StatusDescriptionBody
200Success.application/json object
304Not modified (If-None-Match matched the ETag).
400invalid_versionapplication/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
410cursor_expiredapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422invalid_cursor, validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

200 body​

FieldTypeRequiredDescription
itemsarray of OliverSurfaceEventRequired
next_cursorstring or nullRequired
warningsarray of objectRequired

Errors​

The problem codes this operation can answer with. Each code links to its page.

Schemas​

OliverSurfaceEvent​

FieldTypeRequiredDescription
created_atstring (date-time) or nullRequired
modestringRequired
oliver_run_idstringRequired
oliver_surface_event_idstringRequiredThe surface the run opened: the one an outcome is given to.
save_statestringRequiredpending (open, waiting for an outcome), saved, published, cancelled or error (open).
stateobjectRequiredThe state the surface was saved with (and what it created); empty until an outcome carries one.
typestringRequiredThe kind of screen: email_template, search, exploration, agent_config and so on (open).
updated_atstring (date-time) or nullRequired