Agents

List agent session artifacts

Lists immutable artifacts published by completed hosted session turns. See session artifacts.

get/agents/sessions/{session_id}/artifacts

Path parameters

session_idstring required

The ID of the session.

Query parameters

order'asc' | 'desc'

The order in which paginated resources are returned.

Sort by creation time and ID. Defaults to descending.

environment_idstring nullable

Restrict the listing to artifacts produced by this environment.

limitinteger nullable

The maximum number of artifacts to return, between 1 and 100.

afterstring nullable

Return artifacts after this immutable artifact ID.

Response

A page of durable session artifacts.

object'list' required

The object type, which is always list.

first_idstring nullable required

The ID of the first resource in data, or null if the page is empty.

last_idstring nullable required

The ID of the last resource in data, or null if the page is empty. Pass this as after with the same order and filters.

has_moreboolean required

Whether there are more resources to retrieve after this page.

Changes