WordLift Content Generation Word biases API

Operations on Word biases connected to prompts.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 6

GET /content-generations/{contentGenerationId}/words List #
POST /content-generations/{contentGenerationId}/words Create #
PUT /content-generations/{contentGenerationId}/words Update for prompt #
PUT /content-generations/{contentGenerationId}/words/imports Update from CSV #
DELETE /content-generations/{contentGenerationId}/words/{id} Delete #
PUT /content-generations/{contentGenerationId}/words/{id} Update #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/wordlift-io:wordlift-io-content-generation-word-biases-api"
All apis
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.

Get an API 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 Specification

wordlift-io-content-generation-word-biases-api-openapi.yml Raw ↑
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 Word biases API
  version: '1.0'
servers:
- url: https://api.wordlift.io
tags:
- description: Operations on Word biases connected to prompts.
  name: Content Generation Word biases
paths:
  /content-generations/{contentGenerationId}/words:
    get:
      operationId: listWords
      parameters:
      - description: The Content Generation id.
        in: path
        name: contentGenerationId
        required: true
        schema:
          type: integer
          format: int64
      - in: query
        name: The cursor.
        required: false
        schema:
          type: string
      - in: query
        name: The maximum number of results.
        required: false
        schema:
          type: integer
          format: int32
          default: 10
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PageWord'
          description: Found.
        '401':
          description: Authentication Failure
        '404':
          description: Not Found
      security:
      - security_oauth2: []
      summary: List
      tags:
      - Content Generation Word biases
    post:
      operationId: createWord
      parameters:
      - description: The Content Generation id.
        in: path
        name: contentGenerationId
        required: true
        schema:
          type: integer
          format: int64
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WordRequest'
        required: true
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Word'
          description: Created
        '401':
          description: Authentication Failure
        '404':
          description: Not Found
      security:
      - security_oauth2: []
      summary: Create
      tags:
      - Content Generation Word biases
    put:
      description: Send a list of word biases for this prompt. Existing words will be deleted.
      operationId: createWords
      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/WordRequest'
      responses:
        '201':
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Word'
          description: Created
        '401':
          description: Authentication Failure
        '404':
          description: Not Found
      security:
      - security_oauth2: []
      summary: Update for prompt
      tags:
      - Content Generation Word biases
  /content-generations/{contentGenerationId}/words/imports:
    put:
      operationId: createWordsFromCSV
      parameters:
      - in: header
        name: content-type
        required: false
        schema:
          type: string
      - description: The Content Generation id.
        in: path
        name: contentGenerationId
        required: true
        schema:
          type: integer
          format: int64
      requestBody:
        content:
          text/csv:
            schema:
              type: string
        required: true
      responses:
        '204':
          description: No Content
        '401':
          description: Authentication Failure
        '404':
          description: Not Found
      security:
      - security_oauth2: []
      summary: Update from CSV
      tags:
      - Content Generation Word biases
  /content-generations/{contentGenerationId}/words/{id}:
    delete:
      operationId: deleteWord
      parameters:
      - description: The Content Generation id.
        in: path
        name: contentGenerationId
        required: true
        schema:
          type: integer
          format: int64
      - description: The Word to delete.
        in: path
        name: id
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: Created
        '401':
          description: Authentication Failure
        '404':
          description: Not Found
      security:
      - security_oauth2: []
      summary: Delete
      tags:
      - Content Generation Word biases
    put:
      operationId: updateWord
      parameters:
      - description: The Content Generation id.
        in: path
        name: contentGenerationId
        required: true
        schema:
          type: integer
          format: int64
      - description: The Word bias to update.
        in: path
        name: id
        required: true
        schema:
          type: integer
          format: int64
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WordRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Word'
          description: Updated
        '401':
          description: Authentication Failure
        '404':
          description: Not Found
      security:
      - security_oauth2: []
      summary: Update
      tags:
      - Content Generation Word biases
components:
  schemas:
    Word:
      type: object
      description: A Word bias.
      properties:
        bias:
          type: integer
          format: int32
          description: The bias.
        cluster:
          type: string
          description: The cluster of the word.
          maxLength: 1000
        content_generation_id:
          type: integer
          format: int64
          description: The content generation id.
          readOnly: true
        created_at:
          type: string
          format: date-time
          description: The create date-time.
          readOnly: true
        id:
          type: integer
          format: int64
          description: The unique id.
          readOnly: true
        modified_at:
          type: string
          format: date-time
          description: The last modified date-time.
          readOnly: true
        token_id:
          type: string
          description: The token id for the word.
          maxLength: 1000
        word:
          type: string
          description: The actual word.
          maxLength: 1000
      required:
      - bias
      - cluster
      - content_generation_id
      - token_id
      - word
    PageWord:
      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/Word'
        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
    WordRequest:
      type: object
      properties:
        bias:
          type: integer
          format: int32
          description: The bias.
        word:
          type: string
          description: The actual word.
          maxLength: 1000
      required:
      - bias
      - word
  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