Create
POST/questions-and-answers-collection
Create
Request
- application/json
Body
required
Array [
Array [
]
]
Array [
]
Possible values: >= 1
The account id.
Possible values: >= 1
Default value: 1
The model id.
rules
object[]
Description for the rule
fixes
object[]
The list of fixes to apply when the rule validation fails.
Possible values: [FIND_AND_REPLACE, OPEN_AI, APPEND]
Possible values: [RECOMMENDED, REQUIRED]
The rule level.
The rule name.
The project id, if applicable.
Possible values: [SMART_CONTENT, CONTENT_GENERATION]
The project type, if applicable.
Possible values: [USER, PROJECT]
The rule scope.
The rule type, one of field, word or code. By default field.
Possible values: [EVERYWHERE, FIRST_SENTENCE, LAST_SENTENCE]
The left hand side operand for what condition.
The right hand side operand for what condition.
Possible values: [CONTAINS, DOESNT_CONTAIN, ENDS_WITH, REGEX, REGEX_DOESNT_MATCH]
The operator for what condition.
The left hand side operand for when condition.
The right hand side operand for when condition.
Possible values: [ALWAYS, EQUALS, NOT_EQUALS]
The operator for when condition.
webpage_properties
object[]
Responses
- 201
- 401
Created
- application/json
- Schema
- Example (from schema)
Schema
The account id.
The create date-time.
The unique id.
Possible values: >= 1
Default value: 1
The model id.
{
"account_id": 0,
"created_at": "2024-07-29T15:51:28.071Z",
"id": 0,
"model_id": 1
}
Authentication Failure