Spacesheep Live Link Service API
The LiveLinkService API from Spacesheep — 1 operation(s) for livelinkservice.
The LiveLinkService API from Spacesheep — 1 operation(s) for livelinkservice.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/spacesheep-dev:spacesheep-dev-livelinkservice-api"
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.
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: 3.2.0
info:
title: spacesheep Live Link Service API
version: v1
contact:
name: spacesheep
url: https://spacesheep.dev/feedback
description: 'spacesheep''s API: every call it answers today, made from the same call table as `/v1/doors.json`. Each call is also an MCP tool (`x-mcp-tool`) and a CLI command (`x-cli-command`). `x-callers` says which kinds of connection may make it: `person`, a person in the browser; `key`, your API keys (the CLI, scripts); `read_key`, read-only API keys; `connector`, apps you connected (Claude, ChatGPT, Gemini, Grok); `connector_read`, read-only connected apps; `agent`, spacesheep''s own agents; `box`, cloud boxes; `stream`, a streams-only key (a machine sending values). A refusal is an `ErrorInfo`: `code` is a word a program can branch on, and each call lists the words it can give, with what they mean.'
servers:
- url: https://spacesheep.dev
tags:
- name: LiveLinkService
paths:
/v1/liveLinks:
post:
operationId: create_live_link
summary: Publish a "working on it" page and get its link in about a second, before the…
tags:
- LiveLinkService
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
title:
type: string
description: 'The space''s working title: what the finished space will be called. (a title; at most 200 characters)'
emoji:
type: string
pattern: ^[^<>"'&]*$
description: One emoji, the space's icon. (text; at most 32 characters)
description:
type: string
description: One line on what the finished space will show. (text; at most 300 characters)
status:
type: string
description: The first step, in a few words; "Getting started" when left out. (text; at most 200 characters)
visibility:
type: string
enum:
- private
- members
- signed_in
- public
description: Who can open it; your default for new spaces when left out. (one of private, members, signed_in, public)
team:
type: string
description: A team you're on, to put the new space in. (team name)
team_id:
type: string
description: '`team` by its id, instead of its name. (team id)'
client:
type: object
properties:
name:
type: string
description: 'Your harness, lowercase: claude-code, codex, opencode, grok, gemini-cli, cursor, chatgpt. (text)'
version:
type: string
description: Your harness's version. (text)
model:
type: string
description: The model id you run as, if you know it. (text)
session_id:
type: string
description: Your harness's session id, only one you actually read. (text)
machine:
type: string
description: The machine's hostname. (text)
url:
type: string
description: A link that opens this session, if your harness gives one. (text)
account_id:
type: string
description: The harness account's id, never an email. (text)
org_id:
type: string
description: That account's org or workspace id. (text)
repo:
type: string
description: The working directory's git remote. (text)
branch:
type: string
description: Its branch. (text)
commit:
type: string
description: Its short HEAD sha. (text)
extra:
type: object
description: Other small facts that identify the session (entrypoint, OS); never secrets. (JSON object)
transport:
type: string
description: 'Set by the server from the door the call came through; ignored if sent: mcp, api or cli. (text)'
user_agent:
type: string
description: 'Set by the server: the request''s User-Agent, cut to 200 characters; ignored if sent. (text)'
other:
type: string
description: 'Set by the server, ignored if sent: what else saved it, in today''s `via` words (edit, viewer, agent...). (text)'
additionalProperties: false
description: 'Who asked for it: your harness, session and machine. (client)'
additionalProperties: false
required:
- title
responses:
'200':
description: 'Done: the call''s answer.'
content:
application/json:
schema:
type: object
properties:
live_link:
type: object
properties:
id:
type: string
title:
type: string
emoji:
type: string
description:
type: string
status:
type: string
visibility:
type: string
team:
type: object
properties:
id:
type: string
name:
type: string
url:
type: string
do_now:
type: string
person_sees:
type: string
'400':
description: '`invalid`: An input broke a rule (`violations` names it when it can). Fix it and send again.'
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorInfo'
properties:
code:
enum:
- invalid
'401':
description: '`unauthenticated`: No credential, or one that expired or was revoked. Sign in, or send a valid key.'
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorInfo'
properties:
code:
enum:
- unauthenticated
'403':
description: '`content_blocked`: Screening refused the content (credentials sent to another site). Change it, or ask support to review it.
`forbidden`: This account, or this kind of connection, may not do this here. Resending won''t help.
`insufficient_scope`: This call is outside the key''s or token''s scope; a streams or session-hooks key opens none. Use a full key.
`needs_consent`: This call needs a permission you haven''t given yet; open the link to answer.
`not_granted`: This call is outside what the skill may ever ask for, so it can''t be granted. Nothing changed.
`not_in_trial`: A trial can''t reach MCP or an outside host. Carry a fixture in the draft, or approve it first.
`read_only_grant`: This read-only connection (a read key, or a spacesheep:read grant) can''t make this call. Use a full key.'
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorInfo'
properties:
code:
enum:
- content_blocked
- forbidden
- insufficient_scope
- needs_consent
- not_granted
- not_in_trial
- read_only_grant
'409':
description: '`replay_mismatch`: This restarted run asked for a different call than the one that already ran here; nothing was written.'
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorInfo'
properties:
code:
enum:
- replay_mismatch
'413':
description: '`payload_too_large`: Too big: over the request''s size cap, or over the plan''s limits on files and bytes.'
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorInfo'
properties:
code:
enum:
- payload_too_large
'429':
description: '`quota_exceeded`: A limit is reached: the day''s publish budget, your share lists, a team''s seats or a discussion''s posts.
`rate_limited`: Too many calls too fast. Wait as long as Retry-After or the message says, then send again.'
headers:
Retry-After:
description: 'With `rate_limited`: how many seconds to wait before sending again.'
schema:
type: integer
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorInfo'
properties:
code:
enum:
- quota_exceeded
- rate_limited
'500':
description: '`internal`: Something failed on spacesheep''s side; the call may not have finished. Read before you try again.
`publish_failed`: The publish didn''t finish, and nothing was saved. Try again.'
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorInfo'
properties:
code:
enum:
- internal
- publish_failed
security:
- bearer: []
- session: []
x-mcp-tool: create_live_link
x-cli-command: spacesheep live-links create
x-callers:
- person
- key
- connector
- agent
- box
components:
schemas:
ErrorInfo:
type: object
description: Why a call was refused.
required:
- code
- message
- violations
properties:
code:
type: string
enum:
- invalid
- bad_host
- bad_path
- unauthenticated
- forbidden
- read_only_grant
- insufficient_scope
- not_granted
- needs_consent
- not_in_trial
- content_blocked
- not_found
- conflict
- turn_held
- replay_mismatch
- payload_too_large
- signed_space
- wrong_kind
- answer_too_large
- failed_precondition
- rate_limited
- quota_exceeded
- suspended
- publish_failed
- internal
- unimplemented
- unavailable
description: A word a program can branch on. What each one means is in the responses that give it.
message:
type: string
description: One sentence for a person.
violations:
type: array
description: The inputs that broke a rule, when the refusal can name them.
items:
type: object
required:
- field
- message
properties:
field:
type: string
description: The input, as a dotted path.
message:
type: string
description: What's wrong with it.
consent:
type: object
description: 'For `needs_consent`: the ask it opened. Open `url` to answer.'
properties:
id:
type: string
url:
type: string
scope:
type: string
description: The one scope asked for; empty for an install.
why:
type: string
kind:
type: string
enum:
- SKILL_CONSENT_KIND_INSTALL
- SKILL_CONSENT_KIND_MOMENT
securitySchemes:
bearer:
type: http
scheme: bearer
description: A spacesheep key (`ss_…`, from Settings → API keys), or an OAuth access token from a connected app.
session:
type: apiKey
in: cookie
name: ss_app
description: A signed-in browser session on spacesheep. A write sent from another site is refused.
externalDocs:
description: The docs
url: https://spacesheep.dev/docs