Generated by API Evangelist
Written by API Evangelist tooling for Kimi (Moonshot AI)'s API. It is a proposal applied on top of the contract, not a document Kimi (Moonshot AI) publishes.
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Moonshot AI Batch API
version: 1.0.0
extends: openapi/kimi-ai-batch-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-19'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 4
- target: $.paths['/v1/batches'].get
update:
x-apievangelist-phrasing:
intent: List batch processing jobs
effect: read
questions:
- Which batch jobs has my organization submitted?
- Can I page through my batch jobs?
instructions:
- text: List my batch jobs.
- text: Show {limit} batch jobs after {after}.
slots:
limit: query.limit
after: query.after
method: generated
generated: '2026-11-19'
- target: $.paths['/v1/batches'].post
update:
x-apievangelist-phrasing:
intent: Submit a batch job
effect: write
questions:
- How do I submit a batch of chat completions for processing?
- What file do I need before creating a batch job?
instructions:
- text: Create a batch job for {endpoint} from file {input_file_id} with window {completion_window}.
slots:
endpoint: requestBody.endpoint
input_file_id: requestBody.input_file_id
completion_window: requestBody.completion_window
- text: Submit a batch job for {endpoint} using {input_file_id}, window {completion_window}, metadata {metadata}.
slots:
endpoint: requestBody.endpoint
input_file_id: requestBody.input_file_id
completion_window: requestBody.completion_window
metadata: requestBody.metadata
method: generated
generated: '2026-11-19'
- target: $.paths['/v1/batches/{batch_id}'].get
update:
x-apievangelist-phrasing:
intent: Get a batch job's status
effect: read
questions:
- Has my batch job finished yet?
- What status is a particular batch job in?
instructions:
- text: Get batch job {batch_id}.
slots:
batch_id: path.batch_id
- text: Show the status of batch job {batch_id}.
slots:
batch_id: path.batch_id
method: generated
generated: '2026-11-19'
- target: $.paths['/v1/batches/{batch_id}/cancel'].post
update:
x-apievangelist-phrasing:
intent: Cancel a batch job
effect: destructive
questions:
- Can I cancel a batch job that is still processing?
- What states allow a batch job to be cancelled?
instructions:
- text: Cancel batch job {batch_id}.
slots:
batch_id: path.batch_id
- text: Stop processing batch job {batch_id}.
slots:
batch_id: path.batch_id
method: generated
generated: '2026-11-19'
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.