Yonyon AI Batch API

The Batch API from Yonyon AI, for batch.

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 2

POST /api/v1/batch Run up to 10 read operations in one request #
OPTIONS /api/v1/batch CORS preflight for POST /api/v1/batch #

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/yonyon-ai:yonyon-ai-batch-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

yonyon-ai-batch-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Yonyon Ai Batch API
  version: 1.0.0
  contact:
    name: Yonatan Gross
    email: hi@yonyon.ai
    url: https://yonyon.ai
  description: 'Operations tagged Batch across 2 of this provider''s published API definitions: yonyon-ai-openapi.yml, yonyon-ai.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://yonyon.ai
  description: Production. The public API is read-only and anonymous.
tags:
- name: Batch
paths:
  /api/v1/batch:
    post:
      operationId: batch
      summary: Run up to 10 read operations in one request
      description: 'Runs up to 10 read-only operations in a single round-trip. Each operation is `{ "op": "projects"|"services"|"about", "params": { "q"?: string } }`; only `projects` uses `q` (a keyword filter). Every operation is read-only and idempotent, so an optional `Idempotency-Key` request header is accepted and echoed on the response. A per-operation failure (e.g. an unknown op) is reported inline with `status: "error"` and never fails the whole batch. Public, anonymous, CORS-open, rate-limited (10 requests/IP/minute).'
      parameters:
      - $ref: '#/components/parameters/IdempotencyKey'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BatchRequest'
      responses:
        '200':
          description: Per-operation results, in request order.
          headers:
            X-API-Version:
              $ref: '#/components/headers/X-API-Version'
            Idempotency-Key:
              $ref: '#/components/headers/Idempotency-Key'
            X-RateLimit-Limit:
              $ref: '#/components/headers/X-RateLimit-Limit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/X-RateLimit-Remaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/X-RateLimit-Reset'
            RateLimit-Limit:
              $ref: '#/components/headers/RateLimit-Limit'
            RateLimit-Remaining:
              $ref: '#/components/headers/RateLimit-Remaining'
            RateLimit-Reset:
              $ref: '#/components/headers/RateLimit-Reset'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BatchResponse'
        '400':
          $ref: '#/components/responses/BadRequest'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          $ref: '#/components/responses/RateLimited'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Batch
    options:
      operationId: batchPreflight
      summary: CORS preflight for POST /api/v1/batch
      responses:
        '204':
          description: CORS preflight response (no body).
      tags:
      - Batch
    servers:
    - url: https://yonyon.ai
      description: Production. The public API is read-only and anonymous.
    - url: https://yonyon.ai
      description: Sandbox (read-only public API; no production side effects). Same origin; see /sandbox.md.
components:
  headers:
    RateLimit-Remaining:
      description: RFC draft-ietf-httpapi-ratelimit-headers. Requests remaining in the current window.
      schema:
        type: integer
    RateLimit-Limit:
      description: RFC draft-ietf-httpapi-ratelimit-headers. Requests allowed per window.
      schema:
        type: integer
    X-RateLimit-Remaining:
      description: Requests remaining in the current window.
      schema:
        type: integer
    Idempotency-Key:
      description: Echo of the client-supplied `Idempotency-Key` request header (present only when the request sent one). Truncated to 128 characters.
      schema:
        type: string
    X-RateLimit-Limit:
      description: Requests allowed per window.
      schema:
        type: integer
    RateLimit-Reset:
      description: RFC draft-ietf-httpapi-ratelimit-headers. Seconds (a delta, not an epoch) until the current window resets.
      schema:
        type: integer
    X-RateLimit-Reset:
      description: Epoch seconds when the current window resets.
      schema:
        type: integer
    X-API-Version:
      description: Major version of the API serving this response. Currently always "1".
      schema:
        type: string
  schemas:
    BatchResult:
      type: object
      required:
      - op
      - status
      - data
      properties:
        op:
          type: string
          description: The op that ran (or "(missing)" when none was supplied).
        status:
          type: string
          enum:
          - ok
          - error
          description: Per-operation outcome. An error here does not fail the batch.
        data:
          description: The op's result payload (shape depends on op), or an { error, code } envelope when status is "error".
    BatchResponse:
      type: object
      required:
      - count
      - results
      properties:
        count:
          type: integer
          description: Number of operations run (equals results.length).
        results:
          type: array
          items:
            $ref: '#/components/schemas/BatchResult'
    Error:
      type: object
      description: Typed error envelope returned for every non-2xx response.
      required:
      - error
      - code
      properties:
        error:
          type: string
          description: Human-readable message.
        code:
          type: string
          description: Stable machine-readable error token.
          enum:
          - invalid_request
          - invalid_limit
          - invalid_cursor
          - invalid_operations
          - too_many_operations
          - unknown_op
          - rate_limited
          - unavailable
          - internal_error
          - method_not_allowed
          - forbidden
          - not_found
        retry_after:
          type: integer
          description: Seconds to wait before retrying (present on rate_limited).
        docs:
          type: string
          format: uri
          description: Link to this OpenAPI document.
    BatchRequest:
      type: object
      required:
      - operations
      properties:
        operations:
          type: array
          minItems: 1
          maxItems: 10
          description: Between 1 and 10 read operations, executed in order.
          items:
            type: object
            required:
            - op
            properties:
              op:
                type: string
                enum:
                - projects
                - services
                - about
                description: Which read to run.
              params:
                type: object
                properties:
                  q:
                    type: string
                    description: Keyword filter (only applied to the `projects` op).
  parameters:
    IdempotencyKey:
      name: Idempotency-Key
      in: header
      required: false
      description: Optional client-supplied key (maximum 128 characters) echoed back as an `Idempotency-Key` response header. Every operation on this API is read-only and naturally idempotent; the echo lets a retrying agent correlate responses.
      schema:
        type: string
        maxLength: 128
  responses:
    BadRequest:
      description: Malformed request (invalid JSON, validation failure, or blocked content).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    RateLimited:
      description: Rate limit exceeded (10 requests/IP/minute).
      headers:
        Retry-After:
          description: Seconds to wait before retrying.
          schema:
            type: integer
        X-RateLimit-Limit:
          $ref: '#/components/headers/X-RateLimit-Limit'
        X-RateLimit-Remaining:
          $ref: '#/components/headers/X-RateLimit-Remaining'
        X-RateLimit-Reset:
          $ref: '#/components/headers/X-RateLimit-Reset'
        RateLimit-Limit:
          $ref: '#/components/headers/RateLimit-Limit'
        RateLimit-Remaining:
          $ref: '#/components/headers/RateLimit-Remaining'
        RateLimit-Reset:
          $ref: '#/components/headers/RateLimit-Reset'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
x-refined-from:
- yonyon-ai-openapi.yml
- yonyon-ai.json