WordLift Content Generations API

Operations on Content Generation projects.

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 List #
POST /content-generations Create #
POST /content-generations/{from_content_generation_id}/duplicates Duplicate #
DELETE /content-generations/{id} Delete #
GET /content-generations/{id} Get #
PUT /content-generations/{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-generations-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-generations-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 Generations API
  version: '1.0'
servers:
- url: https://api.wordlift.io
tags:
- description: Operations on Content Generation projects.
  name: Content Generations
paths:
  /content-generations:
    get:
      operationId: listContentGenerations
      parameters:
      - 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: Filter for the deleted flag
        in: query
        name: deleted
        required: false
        schema:
          type: boolean
      - description: Filter by account id
        in: query
        name: account_id
        required: false
        schema:
          type: integer
          format: int64
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PageContentGeneration'
          description: Found.
        '401':
          description: Authentication Failure
      security:
      - security_oauth2: []
      summary: List
      tags:
      - Content Generations
    post:
      operationId: createContentGeneration
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ContentGenerationRequest'
        required: true
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContentGeneration'
          description: Created
        '401':
          description: Authentication Failure
      security:
      - security_oauth2: []
      summary: Create
      tags:
      - Content Generations
  /content-generations/{from_content_generation_id}/duplicates:
    post:
      operationId: duplicateContentGeneration
      parameters:
      - description: The Content Generation id to duplicate from.
        in: path
        name: from_content_generation_id
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContentGeneration'
          description: Created
        '401':
          description: Authentication Failure
        '404':
          description: Not Found
      security:
      - security_oauth2: []
      summary: Duplicate
      tags:
      - Content Generations
  /content-generations/{id}:
    delete:
      operationId: deleteContentGeneration
      parameters:
      - description: The Content Generation id.
        in: path
        name: id
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: Deleted
        '401':
          description: Authentication Failure
      security:
      - security_oauth2: []
      summary: Delete
      tags:
      - Content Generations
    get:
      operationId: getContentGeneration
      parameters:
      - description: The Content Generation id.
        in: path
        name: id
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContentGeneration'
          description: Found.
        '401':
          description: Authentication Failure
        '404':
          description: Not Found
      security:
      - security_oauth2: []
      summary: Get
      tags:
      - Content Generations
    put:
      operationId: updateContentGeneration
      parameters:
      - description: The Content Generation id.
        in: path
        name: id
        required: true
        schema:
          type: integer
          format: int64
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ContentGenerationRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContentGeneration'
          description: Update
        '401':
          description: Authentication Failure
      security:
      - security_oauth2: []
      summary: Update
      tags:
      - Content Generations
components:
  schemas:
    ContentGeneration:
      type: object
      description: A Content Generation project.
      properties:
        account_id:
          type: integer
          format: int64
          description: The Account id bound to this Content Generation.
        created_at:
          type: string
          format: date-time
          description: The create date-time.
          readOnly: true
        deleted:
          type: boolean
          default: false
          description: True if the project has been deleted.
        deleted_at:
          type: string
          format: date-time
          description: The delete date-time.
          readOnly: true
        graphql_query:
          type: string
          description: The GraphQL query which will be used to import entity data from the Knowledge Graph.
        id:
          type: integer
          format: int64
          description: The unique id.
          readOnly: true
        max_tokens:
          type: integer
          format: int32
          default: 64
          description: The maximum number of tokens.
          maximum: 2000
          minimum: 0
        min_words:
          type: integer
          format: int32
          description: Minimum amount of words per completion
        model_id:
          type: integer
          format: int64
          default: 1
          description: The model ID.
          minimum: 1
        modified_at:
          type: string
          format: date-time
          description: The last modified date-time.
          readOnly: true
        name:
          type: string
          description: The name.
          maxLength: 250
          minLength: 0
        penalty:
          type: number
          format: double
          default: 0.5
          description: The penalty score.
          maximum: 1.9
          minimum: 0.5
        prompt_template:
          type: string
          description: The prompt template.
        stop:
          type: string
          default: '###'
          description: The stop sequence.
        temperature:
          type: number
          format: double
          default: 0.4
          description: The temperature score.
          maximum: 0.8
          minimum: 0.4
        words_to_ignore:
          type: array
          description: Words to ignore when checking for words not in prompt.
          items:
            type: string
            description: Words to ignore when checking for words not in prompt.
          uniqueItems: true
      required:
      - account_id
      - deleted
      - graphql_query
      - name
    PageContentGeneration:
      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/ContentGeneration'
        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
    ContentGenerationRequest:
      type: object
      description: The Content Generation request.
      properties:
        account_id:
          type: integer
          format: int64
          description: The account id bound to this content generation.
        deleted:
          type: boolean
          default: false
          description: The deleted flag.
        graphql_query:
          type: string
          description: The GraphQL query which will be used to import entity data from the Knowledge Graph.
        max_tokens:
          type: integer
          format: int32
          default: 64
          description: The maximum number of tokens.
          maximum: 2000
          minimum: 0
        min_words:
          type: integer
          format: int32
          default: 0
          description: Minimum amount of words per completion.
        model_id:
          type: integer
          format: int64
          default: 1
          description: The model ID.
          minimum: 1
        name:
          type: string
          description: The model name.
          maxLength: 250
          minLength: 0
        penalty:
          type: number
          format: double
          default: 0.5
          description: The penalty score.
          maximum: 1.9
          minimum: 0.5
        prompt_template:
          type: string
          description: The prompt template.
        stop:
          type: string
          default: '###'
          description: The stop sequence.
        temperature:
          type: number
          format: double
          default: 0.4
          description: The temperature score.
          maximum: 0.8
          minimum: 0.4
        words_to_ignore:
          type: array
          description: Words to ignore when checking for words not in prompt.
          items:
            type: string
            description: Words to ignore when checking for words not in prompt.
          uniqueItems: true
      required:
      - account_id
      - graphql_query
      - name
  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