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).
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.
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 Presets API
version: '1.0'
servers:
- url: https://api.wordlift.io
tags:
- description: Manage Presets
name: Content Generation Presets
paths:
/graphql-query-presets:
get:
operationId: listPresets
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
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/PagePreset'
description: Found.
'401':
description: Authentication Failure
security:
- security_oauth2: []
summary: List
tags:
- Content Generation Presets
components:
schemas:
Preset:
type: object
description: An array of objects.
properties:
body:
type: string
description: The predefined graphql query.
id:
type: integer
format: int64
label:
type: string
description: The label of the preset.
required:
- body
- label
PagePreset:
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/Preset'
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
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