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: Life Scenario public Health API
version: 1.3.1
summary: 'The public, read-only, anonymous endpoints of lifescenario.ai: the MCP server, its Server Card and a liveness check.'
description: 'Life Scenario is a social and emotional learning (SEL) practice game for children aged 6–14. These are the public endpoints offered to agents and other third-party clients. None needs credentials, none returns user or child data, and none writes anything. A second MCP server, https://lifescenario.ai/api/mcp/account, gives read-only access to one parent''s own account after that parent allows it (OAuth 2.1 or auth.md service_auth); it is described in https://lifescenario.ai/auth.md, not here. Every other route under /api/ belongs to the web app, works only with the session of an adult signed in on the site, and is not offered to agents.
/api/mcp is a Model Context Protocol server (Streamable HTTP transport, stateless, JSON responses, no SSE stream). It answers JSON-RPC 2.0 messages; the tools themselves (list_traits, find_practice_situation, get_what_to_say, get_site_overview) and their input and output schemas are listed by the tools/list method and in the MCP server card. info.version is the MCP server''s version.'
contact:
name: Life Scenario
url: https://lifescenario.ai/contact
email: support@lifescenario.ai
servers:
- url: https://lifescenario.ai
security: []
tags:
- name: Health
paths:
/api/health:
get:
operationId: getHealth
summary: Liveness check
description: Touches no dependencies and returns no data beyond the fields below.
responses:
'200':
description: The site is up.
content:
application/json:
schema:
type: object
required:
- status
- timestamp
properties:
status:
type: string
const: ok
timestamp:
type: string
format: date-time
commit:
type: string
description: Short hash of the deployed commit.
tags:
- Health
externalDocs:
description: MCP server documentation
url: https://lifescenario.ai/mcp