Create Thread Goal
Changed onCreate / replace the goal for a thread. Body: {objective: str, token_budget?: int}. Returns the persisted goal. 409 when the target process is offline (mobile UI greys the action button).
post/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
Request body
object required
Response
Successful Response
object required
Changes
- info
added the new optional
headerrequest parameterx-omicos-device - info
added the new optional
headerrequest parameterx-omicos-device-kind - info
added the new optional
headerrequest parameterx-omicos-device-name
- info