WordLift Content Generation Records API
Manage content generation records.
Manage content generation records.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/wordlift-io:wordlift-io-content-generation-records-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
contact:
email: hello@wordlift.io
name: WordLift
url: https://wordlift.io
description: Generate completions based on customized linguistic models.
license:
name: (c) copyright 2022-present WordLift
url: https://wordlift.io
termsOfService: https://wordlift.io/terms-of-service/
title: Content Generation Records API
version: '1.0'
servers:
- url: https://api.wordlift.io
tags:
- description: Manage content generation records.
name: Content Generation Records
paths:
/content-generations/{contentGenerationId}/records:
get:
operationId: listRecords
parameters:
- description: The Content Generation id.
in: path
name: contentGenerationId
required: true
schema:
type: integer
format: int64
- description: The cursor
in: query
name: cursor
required: false
schema:
type: string
- description: The maximum number of results
in: query
name: limit
required: false
schema:
type: integer
default: 10
- description: Search query
in: query
name: q
required: false
schema:
type: string
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/PageRecord'
description: Found.
'401':
description: Authentication Failure
security:
- security_oauth2: []
summary: List
tags:
- Content Generation Records
put:
operationId: updateRecords
parameters:
- description: The Content Generation id.
in: path
name: contentGenerationId
required: true
schema:
type: integer
format: int64
- description: Completion accepted
in: query
name: is_accepted
required: true
schema:
type: boolean
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/UpdateRecordsRequest'
required: true
responses:
'200':
description: Found.
'401':
description: Authentication Failure
'404':
description: Not Found
security:
- security_oauth2: []
summary: Update
tags:
- Content Generation Records
/content-generations/{contentGenerationId}/records-collection:
put:
operationId: updateRecordsCollection
parameters:
- description: The Content Generation id.
in: path
name: contentGenerationId
required: true
schema:
type: integer
format: int64
requestBody:
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/UpdateRecordRequest'
required: true
responses:
'200':
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/Record'
description: Found.
'401':
description: Authentication Failure
'404':
description: Not Found
security:
- security_oauth2: []
summary: Update
tags:
- Content Generation Records
/content-generations/{contentGenerationId}/records-sse:
get:
operationId: listRecordsAsEvents
parameters:
- description: The Content Generation id.
in: path
name: contentGenerationId
required: true
schema:
type: integer
format: int64
responses:
'200':
description: Found.
'401':
description: Authentication Failure
security:
- security_oauth2: []
summary: List as Events
tags:
- Content Generation Records
/content-generations/{contentGenerationId}/records/{recordId}:
get:
operationId: getRecord
parameters:
- description: The Content Generation id.
in: path
name: contentGenerationId
required: true
schema:
type: integer
format: int64
- description: The Record id.
in: path
name: recordId
required: true
schema:
type: integer
format: int64
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/Record'
description: Found.
'401':
description: Authentication Failure
'404':
description: Not Found
security:
- security_oauth2: []
summary: Get
tags:
- Content Generation Records
put:
operationId: updateRecord
parameters:
- description: The Content Generation id.
in: path
name: contentGenerationId
required: true
schema:
type: integer
format: int64
- description: The Record id.
in: path
name: recordId
required: true
schema:
type: integer
format: int64
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/Request'
required: true
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/Record'
description: Found.
'401':
description: Authentication Failure
'404':
description: Not Found
security:
- security_oauth2: []
summary: Update
tags:
- Content Generation Records
components:
schemas:
WordRepetitionData:
type: object
description: Words in completion which are repeated.
properties:
count:
type: integer
format: int32
repeated_in_same_sentence:
type: boolean
readOnly: true
Request:
type: object
properties:
completion:
type: string
has_upvote:
type: boolean
description: This indicates whether the user upvoted the completion.
is_accepted:
type: boolean
description: This indicates whether the completion is accepted by the user.
validated_at:
type: string
format: date-time
description: Validation time of the record - null to revalidate.
required:
- has_upvote
- is_accepted
ValidationResult:
type: object
description: The set of warnings found for the answer.
properties:
levelEnum:
$ref: '#/components/schemas/LevelEnum'
name:
type: string
result:
type: string
enum:
- PASS
- FAIL
- SKIP
- FIXED
readOnly: true
LevelEnum:
type: string
description: The rule level.
enum:
- RECOMMENDED
- REQUIRED
PageRecord:
type: object
description: A page object with links to move to other pages and the list of objects.
properties:
first:
type:
- string
- 'null'
description: The link to the first page.
items:
type: array
description: An array of objects.
items:
$ref: '#/components/schemas/Record'
last:
type:
- string
- 'null'
description: The link to the last page.
next:
type:
- string
- 'null'
description: The link to the next page or `null` if there's no page.
prev:
type:
- string
- 'null'
description: The link to the previous page or `null` if there's no page.
self:
type:
- string
- 'null'
description: The link to the current page.
required:
- first
- items
- last
- next
- prev
- self
UpdateRecordsRequest:
type: object
description: A request to update the properties of multiple records.
properties:
validated_at:
type: string
format: date-time
description: The validation time of the record.
UpdateRecordRequest:
type: object
description: A request to update the properties of a record.
properties:
completion:
type: string
has_upvote:
type: boolean
description: Whether the user upvoted the completion.
id:
type: integer
format: int64
is_accepted:
type: boolean
description: Whether the completion is accepted by the user.
required:
- has_upvote
- id
- is_accepted
Record:
type: object
properties:
completion:
type: string
content_generation_id:
type: integer
format: int64
description: The parent content generation id.
readOnly: true
data:
$ref: '#/components/schemas/Json'
errors:
type: array
description: The set of errors found for record.
items:
$ref: '#/components/schemas/ValidationResult'
readOnly: true
has_upvote:
type: boolean
description: This indicates whether the user upvoted the completion.
id:
type: integer
format: int64
is_accepted:
type: boolean
description: This indicates whether the completion is accepted by the user.
modified_at:
type: string
format: date-time
description: The last modified date-time.
readOnly: true
not_in_prompt_words:
type: array
description: Words in completion that are not in the prompt.
items:
type: string
description: Words in completion that are not in the prompt.
readOnly: true
readOnly: true
uniqueItems: true
prompt:
type: string
description: The prompt.
repeated_words:
type: object
additionalProperties:
$ref: '#/components/schemas/WordRepetitionData'
description: Words in completion which are repeated.
readOnly: true
status:
type: string
description: The status of the record, whether it's accepted, with errors, with warnings or valid.
enum:
- accepted
- warnings
- errors
- valid
readOnly: true
validated_at:
type: string
format: date-time
description: The last validation date-time.
readOnly: true
warnings:
type: array
description: The set of errors found for record.
items:
$ref: '#/components/schemas/ValidationResult'
readOnly: true
required:
- content_generation_id
- has_upvote
- is_accepted
- prompt
Json:
type: object
description: The data from knowledge graph after applying the graphql query.
readOnly: true
securitySchemes:
ApiKey:
description: '`Key {your key}`'
in: header
name: Authorization
type: apiKey
security_oauth2:
flows:
authorizationCode:
authorizationUrl: https://s.wordlift.io/oauth/authorize/
scopes:
basic: basic scope
tokenUrl: https://s.wordlift.io/oauth/token/
type: oauth2