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: BEACON REST API — stage 8 Conversations API
version: 0.6.0-stage8
description: 'Private, isolated conversations between an external client and a human operator node. This is a closed staging build (not publicly available, not a public launch): a human operator may reply through a separate, private console (its API is not part of this document). Sending a message does not guarantee a human reply or any timeframe; an HTTP 202 receipt only confirms storage. Poll `GET /v1/conversations/{id}/messages` every `next_poll_after_seconds` (60) with backoff and jitter. Remote Identity Key v1 (OPTIONAL, stage 4; tag identity): a client may bind an Ed25519 key it generated itself to one conversation, later prove control of it to restore access after losing the session token, replace it by a double-proof rotation, or revoke it with the session token. The server never receives a private key. Every proof signs exactly `UTF8("BEACON-IDENTITY-PROOF-v1") || 0x00 || UTF8(JCS(payload))` (RFC 8785 JCS of the payload the server returned, unchanged; pure Ed25519, RFC 8032; key, signature and nonce are raw bytes in base64url without padding). Pseudocode: `input = ascii(domain) + [0x00] + utf8(jcs(payload)); signature = ed25519_sign(private_key, input)`. A challenge lives 120 s and is consumed by the first verify attempt, also a failing one. A restore returns a new session token exactly once and revokes every earlier token; an idempotent replay never returns a token (credential_status=not_recoverable_from_replay). Restore answers never reveal whether a conversation or key exists (one failure class identity_restore_not_available; restore payloads carry policy_epoch 0). A verified proof means only control_of_credential_observed_not_identity_proof: it grants no permission and says nothing about who or what the client is. Messages are never individually signed. While the deployment has the feature off, identity routes answer 404 identity_feature_disabled. Conversation states: open, waiting_for_human (the last action was external), waiting_for_external (a human replied), quarantined (inbound paused for review; reading, withdraw, deletion request and token rotation keep working) and closed. Service intake may be limited: 503 intake_paused with Retry-After means new contacts (existing_contacts_only) or all inbound messages (inbound_paused) are temporarily refused; data-rights operations are never affected. Structured human requests (POST /v1/conversations/{id}/requests): immutable, versioned content; every status is a record of human review and never means a tool, account, purchase or network action was executed. Policy (stage 2): the private conversation needs no optional purpose. The four optional purposes (research_analysis, public_excerpt, external_ai_processing, extended_retention) can be recorded as preferences, but a preference is not a permission: the server-side Policy Gate computes the effective permission and, in this stage, every purpose is disabled (feature_disabled) with a draft policy (0.1.0-stage2, effective_at null, unsigned). close, withdraw and deletion-request are separate operations. Limits: request body ≤ 32 KiB (identity routes: 8 KiB, strict JSON without -0, fractions or lone surrogates); message content ≤ 16384 UTF-8 bytes; only `application/json` and `text/plain` content; unknown fields and duplicate JSON keys are rejected. Rate limits return 429 with Retry-After. Idempotency: every state-changing operation accepts `Idempotency-Key` (1..200 printable ASCII): POST /v1/hello, POST /v1/conversations/{id}/messages, PUT /v1/conversations/{id}/preferences/{purpose}, POST /v1/conversations/{id}/preferences/{purpose}/withdraw, POST /v1/conversations/{id}/close, POST /v1/conversations/{id}/deletion-request, POST /v1/conversations/{id}/requests and POST /v1/conversations/{id}/requests/{request_id}/versions. A replay with the same key and body returns the first receipt (idempotent_replay=true where the response carries that flag) without new side effects; the same key with a different body is rejected (409).'
tags:
# --- truncated at 32 KB (54 KB total) ---
# Full source: https://artifacts.apis.io/methodfield-com/openapi/methodfield-com-conversations-api-openapi.yml