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.
openapi: 3.2.0
info:
title: Runcabin Com Agent Plan API
version: 1.5.0
description: 'Operations tagged AgentPlanApi across 2 of this provider''s published API definitions: dev-runcabin-com-openapi.json, runcabin-com-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://dev.runcabin.com
- url: https://runcabin.com
security:
- bearer: []
tags:
- name: AgentPlanApi
paths:
/v1/plan:
post:
tags:
- AgentPlanApi
summary: Plan a small-business website, one card of questions per call
description: 'The MCP tool cabin_plan over REST: the same actions (start, answer, read, change, resend) and the same JSON back. action start makes a plan and returns planId and the first card; it may carry the first card''s answers (only when the person gave both the business name and the email), and then the reply is the next card. Send a RunCabin API key as a Bearer token to save the plan to that login. With no Authorization header a start works only where planning without an account is switched on; such a plan stops after its first four cards until the person confirms their email. Send JSON (Content-Type: application/json). Read the JSON body whatever the status. 200: the planner''s reply; ok true to go on, otherwise error and message, with the codes cabin_plan lists. 401: account_required (no key where one is needed) or invalid_key, with the links to go on. 503: planner_offline with webPlanner, where the planner in a chat is switched off. 400, 413 and 415 (a body that is not JSON, too large, or not application/json) and 429 (more than 60 calls a minute from one address) are not planner replies. Optional header X-RunCabin-Client: the name of the calling app.'
requestBody:
content:
application/json:
schema:
oneOf:
- type: 'null'
- $ref: '#/components/schemas/PlanRequest'
application/*+json:
schema:
oneOf:
- type: 'null'
- $ref: '#/components/schemas/PlanRequest'
responses:
'200':
description: OK
operationId: postV1Plan
x-operation-id-source: derived
servers:
- url: https://dev.runcabin.com
components:
schemas:
PlanRequest:
required:
- action
- planId
- cardId
- answers
type: object
properties:
action:
type:
- 'null'
- string
planId:
type:
- 'null'
- string
cardId:
type:
- 'null'
- string
answers:
type:
- 'null'
- object
skip:
type: boolean
default: false
securitySchemes:
bearer:
type: http
description: A RunCabin API key (cabin_live_...) or an OAuth access token.
scheme: bearer
x-refined-from:
- dev-runcabin-com-openapi.json
- runcabin-com-openapi.json