{"openapi":"3.1.0","info":{"title":"Founden API","version":"1.0.0","description":"Build and run your company from your AI assistant. One API call, no browser.","termsOfService":"https://founden.ai/terms","contact":{"name":"Founden","url":"https://founden.ai","email":"support@founden.ai"},"x-logo":{"url":"https://founden.ai/images/founden/founden_orb_icon_v2.png","altText":"Founden"}},"servers":[{"url":"https://founden.ai"}],"security":[{"apiKey":[]}],"paths":{"/v1/builds":{"post":{"tags":["Founden"],"summary":"Create Build","description":"Start a Founden build from a prompt.\n\nThe agent builds your company in the cloud. No browser needed. Returns an\nexecution_id and a stream_url for live progress. Metered: the build spends\ncredits for the compute it actually uses as it runs, nothing up front.","operationId":"create_build_v1_builds_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BuildCreateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/builds/{execution_id}/message":{"post":{"tags":["Founden"],"summary":"Message Build","description":"Send a follow-up instruction to a running build. Metered like the build: charged for the compute the added work uses.","operationId":"message_build_v1_builds__execution_id__message_post","parameters":[{"name":"execution_id","in":"path","required":true,"schema":{"type":"string","title":"Execution Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BuildMessageRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/builds/{execution_id}":{"get":{"tags":["Founden"],"summary":"Get Build","description":"Get build status and preview URL.","operationId":"get_build_v1_builds__execution_id__get","parameters":[{"name":"execution_id","in":"path","required":true,"schema":{"type":"string","title":"Execution Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/builds/{execution_id}/stop":{"post":{"tags":["Founden"],"summary":"Stop Build","description":"Stop a running build.","operationId":"stop_build_v1_builds__execution_id__stop_post","parameters":[{"name":"execution_id","in":"path","required":true,"schema":{"type":"string","title":"Execution Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"BuildMessageRequest":{"properties":{"prompt":{"type":"string","minLength":1,"title":"Prompt","description":"Follow-up instruction for the running build agent. e.g. 'add a contact form' or 'fix the deploy error'."}},"type":"object","required":["prompt"],"title":"BuildMessageRequest","description":"Send a follow-up instruction to a running build agent."},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"BuildCreateRequest":{"properties":{"prompt":{"type":"string","minLength":1,"title":"Prompt","description":"What to build or change, in plain language. e.g. 'Build a booking site for my dental clinic with online payments'."},"company_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company Id","description":"Target an existing company you own. Omit to use (or create) your default company."}},"type":"object","required":["prompt"],"title":"BuildCreateRequest","description":"Start (or continue, on your default company) a Founden build."},"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"}},"securitySchemes":{"apiKey":{"type":"http","scheme":"bearer","bearerFormat":"omk_ API key","description":"Your API key, sent as 'Authorization: Bearer omk_...'. The same key works across every product."}}},"externalDocs":{"url":"https://founden.ai/mcp"}}