Perplexity · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Perplexity AI Batches API

10 actions 10 updates phrasing extends openapi/perplexity-batches-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Perplexity's API. It is a proposal applied on top of the contract, not a document Perplexity publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 10

$.info
$.paths['/v1/batches'].get
$.paths['/v1/batches'].post
$.paths['/v1/batches/{batch_id}'].get
$.paths['/v1/batches/{batch_id}/cancel'].post
$.paths['/v1/files'].get
$.paths['/v1/files'].post
$.paths['/v1/files/{file_id}'].get
$.paths['/v1/files/{file_id}'].delete
$.paths['/v1/files/{file_id}/content'].get

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Perplexity AI Batches API
  version: 1.0.0
extends: openapi/perplexity-batches-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-16'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 9
- target: $.paths['/v1/batches'].get
  update:
    x-apievangelist-phrasing:
      intent: List my organization's batch jobs
      effect: read
      questions:
      - Which batch jobs has my organization run, newest first?
      - Can I page through my batch jobs after a given id?
      instructions:
      - text: List my organization's batches.
      - text: Show batches after {after_id}.
        slots:
          after_id: query.after_id
      method: generated
      generated: '2026-11-16'
- target: $.paths['/v1/batches'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a batch job from an uploaded file
      effect: write
      questions:
      - How do I run many requests against an endpoint in one batch?
      - Can I set a completion window when creating a batch?
      - What happens to output files once a batch finishes?
      instructions:
      - text: Create a batch for {endpoint} from input file {input_file_id}.
        slots:
          endpoint: requestBody.endpoint
          input_file_id: requestBody.input_file_id
      - text: Batch {input_file_id} against {endpoint} with completion window {completion_window}.
        slots:
          input_file_id: requestBody.input_file_id
          endpoint: requestBody.endpoint
          completion_window: requestBody.completion_window
      method: generated
      generated: '2026-11-16'
- target: $.paths['/v1/batches/{batch_id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Retrieve a batch job
      effect: read
      questions:
      - What is the status of a batch I created?
      - Can I look up one batch by its id?
      instructions:
      - text: Show batch {batch_id}.
        slots:
          batch_id: path.batch_id
      - text: Check the status of batch job {batch_id}.
        slots:
          batch_id: path.batch_id
      method: generated
      generated: '2026-11-16'
- target: $.paths['/v1/batches/{batch_id}/cancel'].post
  update:
    x-apievangelist-phrasing:
      intent: Cancel a batch job
      effect: destructive
      questions:
      - Can I stop a batch that is still running?
      - Do items already completed by a cancelled batch still count as billed?
      instructions:
      - text: Cancel batch {batch_id}.
        slots:
          batch_id: path.batch_id
      - text: Stop the running items in batch job {batch_id}.
        slots:
          batch_id: path.batch_id
      method: generated
      generated: '2026-11-16'
- target: $.paths['/v1/files'].get
  update:
    x-apievangelist-phrasing:
      intent: List my organization's files
      effect: read
      questions:
      - Which files has my organization uploaded or had batches write?
      - Can I list only the output and error files from batches?
      instructions:
      - text: List my organization's files.
      - text: List files with purpose {purpose}.
        slots:
          purpose: query.purpose
      method: generated
      generated: '2026-11-16'
- target: $.paths['/v1/files'].post
  update:
    x-apievangelist-phrasing:
      intent: Upload a JSONL file for batch input
      effect: write
      questions:
      - How do I upload a JSONL file to use as batch input?
      - What is the maximum size and line count for a batch input file?
      instructions:
      - text: Upload {file} as a batch input file.
        slots:
          file: requestBody.file
      - text: Create a batch file from {file} with purpose {purpose}.
        slots:
          file: requestBody.file
          purpose: requestBody.purpose
      method: generated
      generated: '2026-11-16'
- target: $.paths['/v1/files/{file_id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Retrieve a file
      effect: read
      questions:
      - What details are stored for a file I uploaded?
      - Can I look up a file by its id?
      instructions:
      - text: Show file {file_id}.
        slots:
          file_id: path.file_id
      - text: Get the details of uploaded file {file_id}.
        slots:
          file_id: path.file_id
      method: generated
      generated: '2026-11-16'
- target: $.paths['/v1/files/{file_id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a file
      effect: destructive
      questions:
      - Can I delete a batch input file after creating batches from it?
      - Does deleting a file affect batches already created from it?
      instructions:
      - text: Delete file {file_id}.
        slots:
          file_id: path.file_id
      - text: Remove the uploaded file {file_id}.
        slots:
          file_id: path.file_id
      method: generated
      generated: '2026-11-16'
- target: $.paths['/v1/files/{file_id}/content'].get
  update:
    x-apievangelist-phrasing:
      intent: Download a file's raw content
      effect: read
      questions:
      - How do I download the raw bytes of a batch output or error file?
      - Can I stream the content of a file I uploaded?
      instructions:
      - text: Download the raw content of file {file_id}.
        slots:
          file_id: path.file_id
      - text: Stream the bytes of output file {file_id}.
        slots:
          file_id: path.file_id
      method: generated
      generated: '2026-11-16'

Work with this as data

Every overlay 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 openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • 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 overlay
curl "https://apis.io/api/v1/overlays/perplexity-batches-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?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.