agent-counsel
agent-counsel-internal
Get Agent Counsel Context
Snapshot-scoped context for an agent-service agent-counsel turn (the branch loader).
Agent-service-facing (caps=['agent-counsel-turn']). The reviewer (=user_id) and snapshot_id come from the verified JWT, never request input. Authorization is the cap plus an open ReviewRequest for (reviewer_id, snapshot_id); never workspace membership, since synthetic reviewers are not members. Returns the one snapshot's content, the workspace identity + connected sources, and the comments on that snapshot. turns is empty: agent counsel is a single fire-and-forget pass with no private thread to walk.
get/agent-loop/workspaces/{workspace_id}/agent-counsel/context
Request
- Base URLhttps://api.tryscott.ai (the document declares no server; this is the origin it was published from)
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
workspace_idstring required
Headers
authorizationstring nullable
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.