Skip to main content

Validate record‚Äč

Validate record

Path Parameters
    contentGenerationId int64 required

    The Content Generation id.

    recordId int64 required

    The Record id.

Responses

Found.


Schema
    completion string
    content_generation_id int64 required

    The parent content generation id.

    data object

    The data from knowledge graph after applying the graphql query.

    errors object[]

    The set of errors found for record.

  • Array [
  • levelEnum LevelEnum

    Possible values: [RECOMMENDED, REQUIRED]

    The rule level.

    name string
    result string

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

  • ]
  • has_upvote boolean required

    This indicates whether the user upvoted the completion.

    id int64
    is_accepted boolean required

    This indicates whether the completion is accepted by the user.

    modified_at date-time

    The last modified date-time.

    prompt string required

    The prompt.

    warnings object[]

    The set of errors found for record.

  • Array [
  • levelEnum LevelEnum

    Possible values: [RECOMMENDED, REQUIRED]

    The rule level.

    name string
    result string

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

  • ]
Loading...