GET /api/approvals/{token}
What an approval link asks: its title, question, details, options and whether it was decided. Public (the token is the credential); reading it changes nothing.
Public: the token in the path authorizes the request, so it needs no sign-in or other credential.
token*stringThe link's token.
Success
curl -X GET 'http://localhost:7091/api/approvals/string'Stream a response based on the question and retriever POST
Stream a response based on the question and retriever. [Personal access token](/API/personal-access-tokens) scope: `chat:run`.
POST /api/approvals/{token} POST
Decide an approval link: {decision, comment?}, where decision is one of its options. The first decision wins and resumes the conversation that asked; later ones get 409. 404 for an unknown, expired or revoked link, 400 for an option it doesn't offer, 429 when rate limited. Public: the token in the path authorizes the request, so it needs no sign-in or other credential.