API Documentation

Below Graph QL API would help applications integrate with external applications.

Request Structure

mutation QueryWorkBook($queryWorkBookId: String!, $question: String!) {
  queryWorkBook(id: $queryWorkBookId, question: $question) {
    id
    message
    documentBookId
    creatorId
    createdAt
    updatedAt
    creator {
      id
    }
  }
}

Response Structure

Sample Response

{"data":{"queryWorkBook":[{"id":"136","message":"Hello ","documentBookId":"26","creatorId":"4baba2fb-d0f8-4678-9d11-51ae1f7843da","createdAt":1690452915701,"updatedAt":1690452915703,"creator":{"id":"4baba2fb-d0f8-4678-9d11-51ae1f7843da"}},{"id":"137","message":" Hi there! How can I help you?","documentBookId":"26","creatorId":"system","createdAt":1690452918741,"updatedAt":1690452918742,"creator":{"id":"system"}}]}}




Last updated