Mentor

Stores the question before anything is shown and queues a turn. A question while Heph answers waits as a follow-up. Repeating a requestId returns the first submission.

post/workspaces/{workspaceSlug}/mentor/turns

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /workspaces/{workspaceSlug}/mentor/turns
  • Auth: HTTP bearer

Path parameters

workspaceSlugstring required

Workspace slug

Request body

pageContextstring

The page the developer asks from, for example "Pull request #421 in acme/web"

parentEntryIdstring uuid

Ask in the thread on this top-level message; the first reply opens the thread

requestIdstring uuid required

Chosen by the app for each message. Sending the same id again returns the first submission, so a retried request never asks twice.

textstring required

The developer's words

Response

The stored question and its turn

Changes