Mantrana Runs API

The Runs API from Mantrana — 7 operation(s) for runs.

GitHub OpenAPI

Operations 9

GET /api/runs List Runs #
POST /api/runs Create Run #
GET /api/runs/{run_id} Get Run #
POST /api/runs/{run_id}/answers Submit Run Answers #
POST /api/runs/{run_id}/cancel Cancel Run #
GET /api/runs/{run_id}/stream Stream Run #
POST /api/runs/{run_id}/order Create Order #
POST /api/runs/{run_id}/publish Publish Run #
DELETE /api/runs/{run_id}/publish Revoke Published Run #

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/mantrana-co:mantrana-co-runs-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

mantrana-co-runs-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Mantrana Runs API
  description: Turns rough ideas into production specifications with a multi-juror deliberation.
  version: 2.0.0
tags:
- name: Runs
paths:
  /api/runs:
    get:
      summary: List Runs
      operationId: list_runs_api_runs_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      tags:
      - Runs
    post:
      summary: Create Run
      operationId: create_run_api_runs_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateRunRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Runs
  /api/runs/{run_id}:
    get:
      summary: Get Run
      operationId: get_run_api_runs__run_id__get
      parameters:
      - name: run_id
        in: path
        required: true
        schema:
          type: string
          title: Run Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Runs
  /api/runs/{run_id}/answers:
    post:
      summary: Submit Run Answers
      operationId: submit_run_answers_api_runs__run_id__answers_post
      parameters:
      - name: run_id
        in: path
        required: true
        schema:
          type: string
          title: Run Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SubmitAnswersRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Runs
  /api/runs/{run_id}/cancel:
    post:
      summary: Cancel Run
      operationId: cancel_run_api_runs__run_id__cancel_post
      parameters:
      - name: run_id
        in: path
        required: true
        schema:
          type: string
          title: Run Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Runs
  /api/runs/{run_id}/stream:
    get:
      summary: Stream Run
      operationId: stream_run_api_runs__run_id__stream_get
      parameters:
      - name: run_id
        in: path
        required: true
        schema:
          type: string
          title: Run Id
      - name: after
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: After
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Runs
  /api/runs/{run_id}/order:
    post:
      summary: Create Order
      description: 'Run payments are retired (spec §24): runs are funded exclusively by

        the shared USD wallet, so no Razorpay order can be minted for a run.'
      operationId: create_order_api_runs__run_id__order_post
      parameters:
      - name: run_id
        in: path
        required: true
        schema:
          type: string
          title: Run Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Runs
  /api/runs/{run_id}/publish:
    post:
      summary: Publish Run
      operationId: publish_run_api_runs__run_id__publish_post
      parameters:
      - name: run_id
        in: path
        required: true
        schema:
          type: string
          title: Run Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublishResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Runs
    delete:
      summary: Revoke Published Run
      operationId: revoke_published_run_api_runs__run_id__publish_delete
      parameters:
      - name: run_id
        in: path
        required: true
        schema:
          type: string
          title: Run Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Runs
components:
  schemas:
    SubmitAnswersRequest:
      properties:
        answers:
          items:
            $ref: '#/components/schemas/AnswerItem'
          type: array
          title: Answers
          default: []
        evidence_pack:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Evidence Pack
      type: object
      title: SubmitAnswersRequest
    CreateRunRequest:
      properties:
        rough_idea:
          type: string
          title: Rough Idea
        tier_id:
          type: string
          title: Tier Id
        billing_mode:
          type: string
          title: Billing Mode
          default: auto
        client_request_id:
          type: string
          title: Client Request Id
      type: object
      required:
      - rough_idea
      - tier_id
      - client_request_id
      title: CreateRunRequest
    PublishResponse:
      properties:
        slug:
          type: string
          title: Slug
        url:
          type: string
          title: Url
        share_note:
          type: string
          title: Share Note
      type: object
      required:
      - slug
      - url
      - share_note
      title: PublishResponse
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    AnswerItem:
      properties:
        id:
          type: string
          title: Id
        answer:
          type: string
          title: Answer
      type: object
      required:
      - id
      - answer
      title: AnswerItem
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError