Cracked API Batches API

The Batches API from Cracked API — 4 operation(s) for batches.

Operations 5

POST /batches Create a batch: one tool over up to 5,000 inputs, with a cost preview and… #
GET /batches Recent batches #
GET /batches/{id} Batch progress: counts, spend so far, dataset id #
GET /batches/{id}/items Items of a batch (filter by status, cursor = last seq) #
POST /batches/{id}/cancel Cancel a batch: queued items dropped (never billed), running items finish #

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/cracked-batches-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

cracked-batches-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Cracked Batches API
  version: 0.3.0
  description: Discover, inspect and run 67,000+ agent tools from one balance. Agents can register their own workspace at POST https://cracked.ai/v1/agents/register ($1 trial credit, no human needed) and earn $5 of credit for every workspace that signs up through their referral link (GET https://cracked.ai/v1/referrals).
  contact:
    email: support@cracked.ai
servers:
- url: https://cracked.ai/v1
tags:
- name: Batches
paths:
  /batches:
    post:
      summary: 'Create a batch: one tool over up to 5,000 inputs, with a cost preview and…'
      security:
      - bearer: []
      requestBody:
        content:
          application/json:
            schema:
              type: object
              required:
              - inputs
              properties:
                provider:
                  type: string
                endpoint:
                  type: string
                capability:
                  type: string
                inputs:
                  type: array
                  maxItems: 5000
                  items:
                    type: object
                concurrency:
                  type: integer
                  minimum: 1
                  maximum: 8
                  default: 2
                cache:
                  type: boolean
                webhook_url:
                  type: string
                  format: uri
                name:
                  type: string
                dry_run:
                  type: boolean
      responses:
        '200':
          description: Cost preview (dry_run)
        '202':
          description: Batch queued
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Batch'
        '402':
          description: Balance does not cover the estimate
      tags:
      - Batches
      operationId: postBatches
      x-operation-id-source: derived
    get:
      summary: Recent batches
      security:
      - bearer: []
      responses:
        '200':
          description: Batches
      tags:
      - Batches
      operationId: getBatches
      x-operation-id-source: derived
  /batches/{id}:
    get:
      summary: 'Batch progress: counts, spend so far, dataset id'
      security:
      - bearer: []
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Batch
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Batch'
      tags:
      - Batches
      operationId: getBatchesById
      x-operation-id-source: derived
  /batches/{id}/items:
    get:
      summary: Items of a batch (filter by status, cursor = last seq)
      security:
      - bearer: []
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: status
        in: query
        schema:
          type: string
          enum:
          - queued
          - running
          - done
          - failed
          - cancelled
      - name: cursor
        in: query
        schema:
          type: integer
      - name: limit
        in: query
        schema:
          type: integer
          maximum: 1000
      responses:
        '200':
          description: Items with nextCursor
      tags:
      - Batches
      operationId: getBatchesByIdItems
      x-operation-id-source: derived
  /batches/{id}/cancel:
    post:
      summary: 'Cancel a batch: queued items dropped (never billed), running items finish'
      security:
      - bearer: []
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Batch
        '409':
          description: Batch already finished
      tags:
      - Batches
      operationId: postBatchesByIdCancel
      x-operation-id-source: derived
components:
  schemas:
    Batch:
      type: object
      properties:
        batchId:
          type: string
        status:
          type: string
          enum:
          - queued
          - running
          - completed
          - failed
          - cancelled
        tool:
          type: string
        provider:
          type: string
          nullable: true
        endpoint:
          type: string
          nullable: true
        capability:
          type: string
          nullable: true
        concurrency:
          type: integer
        total:
          type: integer
        counts:
          type: object
          properties:
            queued:
              type: integer
            running:
              type: integer
            done:
              type: integer
            failed:
              type: integer
            cancelled:
              type: integer
        progressPct:
          type: number
        estimateUsd:
          type: number
        spentUsd:
          type: number
        datasetId:
          type: string
          nullable: true
        error:
          type: string
          nullable: true
        createdAt:
          type: string
        completedAt:
          type: string
          nullable: true
        hints:
          type: object
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      description: ck_live_ API key or OAuth access token