Live-or-cached goal snapshot for one thread.

Shape: {goal: <Goal>|null, process_offline: bool}.

When the process is online, fetch fresh from local (the local sidecar is the canonical store) and opportunistically update the cache so the next offline read is current. When it's offline, serve the last cached snapshot.

get/api/processes/{process_id}/threads/{session_id}/goal

Request

  • Base URL: https://api.omicos.cn (the document declares no server; this is the origin it was published from)
  • URL: https://api.omicos.cn/api/processes/{process_id}/threads/{session_id}/goal
  • Auth: none declared

Path parameters

process_idstring required
session_idstring required

Headers

authorizationstring nullable
x-omicos-devicestring nullable
x-omicos-device-kindstring nullable
x-omicos-device-namestring nullable

Response

Successful Response

object required

Changes

    • info

      added the new optional header request parameter x-omicos-device

    • info

      added the new optional header request parameter x-omicos-device-kind

    • info

      added the new optional header request parameter x-omicos-device-name