Skip to main content

List Records

List Records

Path Parameters
    contentGenerationId int64 required

    The Content Generation id.

Query Parameters
    cursor string

    The cursor

    limit integer

    Default value: 10

    The maximum number of results

    status Status

    Possible values: [VALID, WARNING, ERROR, ACCEPTED]

    The record status

    q string

    Search query

Responses

Found.


Schema
    first string nullable required

    The link to the first page.

    items object[] required

    An array of objects.

  • Array [
  • 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]

  • ]
  • ]
  • last string nullable required

    The link to the last page.

    next string nullable required

    The link to the next page or null if there's no page.

    prev string nullable required

    The link to the previous page or null if there's no page.

    self string nullable required

    The link to the current page.

Loading...