Agents

Retrieve agent session artifact content

Changed on

Downloads immutable session artifact bytes after the execution environment expires. See session artifacts.

get/agents/sessions/{session_id}/artifacts/{artifact_id}/content

Request

  • Base URL
    https://api.openai.com/v1
  • URL
    https://api.openai.com/v1/agents/sessions/{session_id}/artifacts/{artifact_id}/content
  • Auth
    HTTP bearer

Path parameters

session_idstring required

The ID of the session that owns the artifact.

artifact_idstring required

The immutable session artifact ID.

Response

The immutable artifact contents.

Changes