agent-counsel
agent-counsel-internal
Add Agent Counsel Comment
Delegated quote-anchored comment write for an agent-counsel reviewer.
Agent-service calls this with its agent JWT instead of writing to hocuspocus directly; fastapi signs the HMAC envelope and relays. The author is the reviewer named in the verified JWT — never request input — so the agent cannot comment as anyone else. Authorized by the cap plus an open ReviewRequest for (reviewer_id, snapshot_id), matching the context route; refuses once the review is finished or cancelled.
post/agent-loop/internal/agent-counsel/comment
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.
Headers
authorizationstring nullable
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.