Create Completion sync
Create Completion sync
Path Parameters
- contentGenerationId int64 required
The Content Generation id.
- application/json
Request Body required
- apply_to ApplyTo required
Possible values: [
ALL
,OLD_VERSION
,MISSING
]
Responses
- 200
- 401
- 404
Found.
- application/json
- Schema
- Example (from schema)
Schema
- completions_errored int32 required
The number of errored completions
- completions_generated int32 required
The number of generated completions
- content_generation_id int64 required
The parent content generation id.
- created_at date-time required
The create date-time.
- has_errors boolean required
Whether the sync encountered errors.
- id int64 required
The unique id.
- modified_at date-time required
The last modified date-time.
- started_at date-time required
The started date-time.
- stopped_at date-time required
The stopped date-time.
- total int32 required
The total number of completions which needs to be generated
{
"completions_errored": 0,
"completions_generated": 0,
"content_generation_id": 0,
"created_at": "2023-07-20T12:14:49.164Z",
"has_errors": true,
"id": 0,
"modified_at": "2023-07-20T12:14:49.164Z",
"started_at": "2023-07-20T12:14:49.164Z",
"stopped_at": "2023-07-20T12:14:49.164Z",
"total": 0
}
Authentication Failure
Not Found
Loading...