Update
Update
Path Parameters
The Content Generation id.
Request Body array required
- Array [
- ]
Whether the user upvoted the completion.
Whether the completion is accepted by the user.
- 200
- 401
- 404
Found.
Schema
- Array [
- Array [
- ]
- Array [
- ]
- ]
The parent content generation id.
The data from knowledge graph after applying the graphql query.
errors object[]
The set of errors found for record.
Possible values: [RECOMMENDED
, REQUIRED
]
The rule level.
Possible values: [PASS
, FAIL
, SKIP
, FIXED
]
This indicates whether the user upvoted the completion.
This indicates whether the completion is accepted by the user.
The last modified date-time.
Words in completion that are not in the prompt.
The prompt.
repeated_words object
Words in completion which are repeated.
property name* WordRepetitionData
Words in completion which are repeated.
Possible values: [accepted
, warnings
, errors
, valid
]
The status of the record, whether it's accepted, with errors, with warnings or valid.
The last validation date-time.
warnings object[]
The set of errors found for record.
Possible values: [RECOMMENDED
, REQUIRED
]
The rule level.
Possible values: [PASS
, FAIL
, SKIP
, FIXED
]
[
{
"completion": "string",
"content_generation_id": 0,
"data": {},
"errors": [
{
"levelEnum": "RECOMMENDED",
"name": "string",
"result": "PASS"
}
],
"has_upvote": true,
"id": 0,
"is_accepted": true,
"modified_at": "2024-12-19T10:40:03.852Z",
"not_in_prompt_words": [
"string"
],
"prompt": "string",
"repeated_words": {},
"status": "accepted",
"validated_at": "2024-12-19T10:40:03.852Z",
"warnings": [
{
"levelEnum": "RECOMMENDED",
"name": "string",
"result": "PASS"
}
]
}
]
Authentication Failure
Not Found