Skip to main content

Update record

Update record

Path Parameters
  • contentGenerationId int64 required

    The Content Generation id.

  • recordId int64 required

    The Record id.

Request Body required
  • completion string required
  • has_upvote boolean required

    This indicates whether the user upvoted the completion.

  • is_accepted boolean required

    This indicates whether the completion is accepted by the user.

Responses

Found.


Schema
  • completion string required
  • content_generation_id int64 required

    The parent content generation id.

  • data object required

    The data from knowledge graph after applying the graphql query.

  • errors object[]

    The set of errors found for record.

  • Array [
  • levelEnum LevelEnum required

    Possible values: [RECOMMENDED, REQUIRED]

    The rule level.

  • name string required
  • result string required

    Possible values: [PASS, FAIL, SKIP, FIXED]

  • ]
  • has_upvote boolean required

    This indicates whether the user upvoted the completion.

  • id int64 required
  • is_accepted boolean required

    This indicates whether the completion is accepted by the user.

  • modified_at date-time required

    The last modified date-time.

  • prompt string required

    The prompt.

  • warnings object[]

    The set of errors found for record.

  • Array [
  • levelEnum LevelEnum required

    Possible values: [RECOMMENDED, REQUIRED]

    The rule level.

  • name string required
  • result string required

    Possible values: [PASS, FAIL, SKIP, FIXED]

  • ]
Loading...