UBIK Agent will launch soon, join the waitlist to get access!
Python
import requests url = "https://app.ubik-agent.com/api/v1/agent-sessions/{session_id}/documents/{document_id}/star" payload = { "is_starred": True } headers = { "X-API-KEY": "<api-key>", "Content-Type": "application/json" } response = requests.put(url, json=payload, headers=headers) print(response.text)
{ "detail": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>" } ] }
Stars or unstars a document within the agent session.
Whether the document should be starred (true) or unstarred (false).
Successful Response
Was this page helpful?