Liftli Core API

The core API from Liftli — 10 operation(s) for core.

GitHub OpenAPI

Operations 10

GET /health Health Check #
GET /styles Get Available Styles #
GET /models Get Available Models #
GET /pipelines Get Available Pipelines #
POST /generate Generate Reply #
POST /prompt-preview Get Prompt Preview #
POST /validate-pipeline/{style} Validate Pipeline Endpoint #
POST /thread-summary Generate Thread Summary #
GET /companies List Companies #
GET /companies/{company_name} Get Company Context #

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/liftli-ai:liftli-ai-core-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

liftli-ai-core-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Liftli Ai Core API
  version: 1.4.6
  description: 'Operations tagged core across 2 of this provider''s published API definitions: app.liftli.ai.json, app-liftli-ai-openapi.json. Each path carries the servers of the definition it was published in.'
tags:
- name: Core
paths:
  /health:
    get:
      tags:
      - Core
      summary: Health Check
      description: Health check endpoint.
      operationId: health_check_health_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HealthResponse'
  /styles:
    get:
      tags:
      - Core
      summary: Get Available Styles
      description: Get available reply styles from cached pipeline system.
      operationId: get_available_styles_styles_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Get Available Styles Styles Get
  /models:
    get:
      tags:
      - Core
      summary: Get Available Models
      description: Get available AI models for generation.
      operationId: get_available_models_models_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelsResponse'
  /pipelines:
    get:
      tags:
      - Core
      summary: Get Available Pipelines
      description: Get information about all available pipelines
      operationId: get_available_pipelines_pipelines_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Get Available Pipelines Pipelines Get
  /generate:
    post:
      tags:
      - Core
      summary: Generate Reply
      description: 'Generate AI-powered replies to social media posts.


        Supports both single model (default) and multi-model generation.

        If ''models'' field is provided, uses those models. Otherwise uses server default.'
      operationId: generate_reply_generate_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ReplyRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReplyResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /prompt-preview:
    post:
      tags:
      - Core
      summary: Get Prompt Preview
      description: Get pipeline stages preview using unified pipeline runner.
      operationId: get_prompt_preview_prompt_preview_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PromptPreviewRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PromptPreviewResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /validate-pipeline/{style}:
    post:
      tags:
      - Core
      summary: Validate Pipeline Endpoint
      description: Validate pipeline configuration for given style.
      operationId: validate_pipeline_endpoint_validate_pipeline__style__post
      parameters:
      - name: style
        in: path
        required: true
        schema:
          type: string
          title: Style
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Validate Pipeline Endpoint Validate Pipeline  Style  Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /thread-summary:
    post:
      tags:
      - Core
      summary: Generate Thread Summary
      description: Generate AI-powered thread summary from conversation context.
      operationId: generate_thread_summary_thread_summary_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ThreadSummaryRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThreadSummaryResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /companies:
    get:
      tags:
      - Core
      summary: List Companies
      description: List all available company names for context lookup.
      operationId: list_companies_companies_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response List Companies Companies Get
  /companies/{company_name}:
    get:
      tags:
      - Core
      summary: Get Company Context
      description: Get context preview for a specific company.
      operationId: get_company_context_companies__company_name__get
      parameters:
      - name: company_name
        in: path
        required: true
        schema:
          type: string
          title: Company Name
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Get Company Context Companies  Company Name  Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ContentChain:
      properties:
        items:
          items:
            $ref: '#/components/schemas/ContentItem'
          type: array
          title: Items
          description: Ordered list of content items (post + comments)
      type: object
      title: ContentChain
      description: Chain of content items forming a conversation thread.
    AuthorInfo:
      properties:
        name:
          type: string
          title: Name
          description: Author's name
          default: ''
        role:
          type: string
          title: Role
          description: Author's role/title
          default: ''
        isMe:
          type: boolean
          title: Isme
          description: Whether this is the current user
          default: false
        isOriginalAuthor:
          type: boolean
          title: Isoriginalauthor
          description: Whether this author wrote the original post
          default: false
      type: object
      title: AuthorInfo
      description: Information about a content author.
    ReplyRequest:
      properties:
        context:
          $ref: '#/components/schemas/ReplyGenerationContext'
          description: Reply generation context from LinkedIn integration
        style:
          type: string
          title: Style
          description: Reply style
          default: professional
        user_concept:
          type: string
          title: User Concept
          description: User concept/instruction
          default: ''
        company_name:
          anyOf:
          - type: string
          - type: 'null'
          title: Company Name
          description: Company name for context lookup
        models:
          items:
            type: string
          type: array
          maxItems: 3
          title: Models
          description: List of model IDs to use (max 3)
        length:
          type: string
          title: Length
          description: Reply length
          default: medium
        num_variations:
          anyOf:
          - type: integer
            maximum: 3.0
            minimum: 1.0
          - type: 'null'
          title: Num Variations
          description: Number of variations to generate (uses pipeline config if not provided, max 3)
      type: object
      required:
      - context
      - models
      title: ReplyRequest
      description: Request for reply generation.
    ContentItem:
      properties:
        type:
          type: string
          title: Type
          description: 'Content type: ''post'' or ''comment'''
        author:
          $ref: '#/components/schemas/AuthorInfo'
          description: Content author information
        content:
          type: string
          title: Content
          description: Content text
        timestamp:
          type: string
          title: Timestamp
          description: Content timestamp
          default: ''
        reactions:
          type: string
          title: Reactions
          description: Number of reactions
          default: '0'
        replies:
          type: string
          title: Replies
          description: Number of replies
          default: '0'
        urn:
          anyOf:
          - type: string
          - type: 'null'
          title: Urn
          description: LinkedIn URN for this content item
      type: object
      required:
      - type
      - author
      - content
      title: ContentItem
      description: Individual content item (post or comment).
    ModelsResponse:
      properties:
        models:
          additionalProperties:
            additionalProperties: true
            type: object
          type: object
          title: Models
      type: object
      required:
      - models
      title: ModelsResponse
      description: Available models response.
    ThreadSummaryRequest:
      properties:
        context:
          $ref: '#/components/schemas/ReplyGenerationContext'
          description: Reply generation context from LinkedIn integration
      type: object
      required:
      - context
      title: ThreadSummaryRequest
      description: Request for thread summary generation.
    ReplyGenerationContext:
      properties:
        type:
          type: string
          title: Type
          description: 'Content type: POST_COMMENT or COMMENT_REPLY'
        content_chain:
          $ref: '#/components/schemas/ContentChain'
          description: Content chain including post and comments
        metadata:
          additionalProperties: true
          type: object
          title: Metadata
          description: Additional metadata
        target_url:
          anyOf:
          - type: string
          - type: 'null'
          title: Target Url
          description: LinkedIn URL for this thread
        post_urn:
          anyOf:
          - type: string
          - type: 'null'
          title: Post Urn
          description: URN of the original post
        target_urn:
          anyOf:
          - type: string
          - type: 'null'
          title: Target Urn
          description: URN of the target item being replied to
      type: object
      required:
      - type
      - content_chain
      title: ReplyGenerationContext
      description: Complete context for reply generation.
    PromptPreviewRequest:
      properties:
        context:
          $ref: '#/components/schemas/ReplyGenerationContext'
          description: Reply generation context
        style:
          type: string
          title: Style
          description: Reply style to preview
        user_concept:
          type: string
          title: User Concept
          description: User concept/instruction
          default: ''
        length:
          type: string
          title: Length
          description: Reply length
          default: medium
      type: object
      required:
      - context
      - style
      title: PromptPreviewRequest
      description: Request for prompt preview.
    ReplyResponse:
      properties:
        success:
          type: boolean
          title: Success
        replies:
          items:
            $ref: '#/components/schemas/ModelReply'
          type: array
          title: Replies
        metadata:
          additionalProperties: true
          type: object
          title: Metadata
      type: object
      required:
      - success
      title: ReplyResponse
      description: Response containing generated replies.
    ModelReply:
      properties:
        model:
          type: string
          title: Model
        reply:
          anyOf:
          - type: string
          - type: 'null'
          title: Reply
        error:
          anyOf:
          - type: string
          - type: 'null'
          title: Error
        draft_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Draft Id
          description: Draft ID for linking to user actions
        metadata:
          additionalProperties: true
          type: object
          title: Metadata
          description: Reply-specific metadata
        individual_token_usage:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Individual Token Usage
          description: Token usage for this specific reply
        cumulative_token_usage:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Cumulative Token Usage
          description: Total pipeline token usage for this reply
      type: object
      required:
      - model
      title: ModelReply
      description: Individual model reply within a response.
    PromptPreviewResponse:
      properties:
        style:
          type: string
          title: Style
        length:
          type: string
          title: Length
        concept:
          type: string
          title: Concept
        pipeline_stages:
          items:
            additionalProperties: true
            type: object
          type: array
          title: Pipeline Stages
      type: object
      required:
      - style
      - length
      - concept
      title: PromptPreviewResponse
      description: Response for prompt preview.
    HealthResponse:
      properties:
        status:
          type: string
          title: Status
        timestamp:
          type: string
          title: Timestamp
      type: object
      required:
      - status
      - timestamp
      title: HealthResponse
      description: Health check response.
    ThreadSummaryResponse:
      properties:
        summary:
          type: string
          title: Summary
          description: AI-generated thread summary
        participant_count:
          type: integer
          title: Participant Count
          description: Number of participants in thread
        key_points:
          items:
            type: string
          type: array
          title: Key Points
          description: Key points from discussion
        metadata:
          additionalProperties: true
          type: object
          title: Metadata
          description: Additional metadata for tracking
      type: object
      required:
      - summary
      - participant_count
      title: ThreadSummaryResponse
      description: Response for thread summary generation.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
x-refined-from:
- app.liftli.ai.json
- app-liftli-ai-openapi.json
x-provenance:
  method: harvested
  publisher: Liftli
  source: https://app.liftli.ai/openapi.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)