VerifiedState Memory API
Ingest, query, and extract verified memory
Ingest, query, and extract verified memory
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/verifiedstate-ai:verifiedstate-ai-memory-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: VerifiedState Memory API
description: Verified memory infrastructure for AI agents. Ingest facts, query with semantic search, verify with cryptographic receipts, and maintain tamper-evident provenance chains. Any AI agent can use this API to store and retrieve verified memory.
version: 1.0.0
contact:
email: support@verifiedstate.ai
url: https://verifiedstate.ai
license:
name: Proprietary
url: https://verifiedstate.ai/terms
servers:
- url: https://api.verifiedstate.ai
description: Production
security:
- BearerAuth: []
tags:
- name: Memory
description: Ingest, query, and extract verified memory
paths:
/ingest:
post:
operationId: ingestContent
summary: Ingest content into verified memory
description: Accepts raw text content, creates an artifact, extracts assertions via LLM, computes embeddings, and returns the artifact ID and extracted assertion IDs. Content is stored in R2 and assertions are indexed for semantic search.
tags:
- Memory
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- namespace_id
- content
- source_type
properties:
namespace_id:
type: string
format: uuid
description: Namespace to write into
content:
type: string
maxLength: 1048576
description: Raw text content to store (max 1MB)
source_type:
type: string
enum:
- conversation
- document
- api
- tool_output
- user_input
description: Origin type of the content
source_id:
type: string
description: Optional external reference ID
responses:
'200':
description: Content ingested successfully
content:
application/json:
schema:
type: object
properties:
artifact_id:
type: string
format: uuid
assertion_ids:
type: array
items:
type: string
format: uuid
assertion_count:
type: integer
content_hash:
type: string
'400':
description: Invalid request (missing fields, empty content, content too large)
'401':
description: Unauthorized — missing or invalid Bearer token
'429':
description: Rate limit exceeded (60 requests/60 seconds)
/query:
post:
operationId: queryMemory
summary: Semantic search over verified memory
description: Searches assertions by semantic similarity (vector search) or slot_key lookup. Returns ranked assertions with confidence scores and receipt status.
tags:
- Memory
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- namespace_id
- query_text
properties:
namespace_id:
type: string
format: uuid
description: Namespace to search
query_text:
type: string
description: Natural language query or slot_key (e.g. "user|prefers|theme")
limit:
type: integer
minimum: 1
maximum: 100
default: 20
description: Max assertions to return
filters:
type: object
properties:
valid_only:
type: boolean
default: true
description: Only currently-valid assertions
status:
type: string
description: Filter by status (e.g. "verified", "active")
claim_class:
type: string
description: Filter by claim class (e.g. "preference", "fact")
responses:
'200':
description: Search results
content:
application/json:
schema:
type: object
properties:
assertions:
type: array
items:
type: object
properties:
id:
type: string
format: uuid
subject:
type: object
predicate:
type: string
object:
type: object
confidence:
type: number
minimum: 0
maximum: 1
status:
type: string
slot_key:
type: string
valid_from:
type: string
format: date-time
valid_to:
type:
- string
- 'null'
format: date-time
distance:
type: number
description: Semantic distance (lower = more relevant)
total:
type: integer
'401':
description: Unauthorized
'429':
description: Rate limit exceeded
/extract:
post:
operationId: extractAssertions
summary: Extract structured assertions from raw text
description: Uses an LLM to extract subject-predicate-object assertions from raw text. Returns the extracted assertions without storing them — use /ingest to store.
tags:
- Memory
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- content
properties:
content:
type: string
description: Raw text to extract assertions from
namespace_id:
type: string
format: uuid
responses:
'200':
description: Extracted assertions
content:
application/json:
schema:
type: object
properties:
assertions:
type: array
items:
type: object
properties:
subject:
type: object
predicate:
type: string
object:
type: object
claim_class:
type: string
confidence:
type: number
slot_key:
type: string
'401':
description: Unauthorized
/stream:
post:
operationId: streamIngest
summary: Queue content for async ingestion
description: Enqueues content for background processing. Returns immediately with a stream_id. Use for high-throughput ingestion where you don't need synchronous assertion extraction.
tags:
- Memory
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- namespace_id
- content
properties:
namespace_id:
type: string
format: uuid
content:
type: string
maxLength: 10240
description: Content to queue (max 10KB)
source_type:
type: string
priority:
type: string
enum:
- hot
- warm
- cold
default: warm
metadata:
type: object
description: Arbitrary metadata
callback_url:
type: string
format: uri
description: Webhook URL to call when processing completes
responses:
'202':
description: Accepted for processing
content:
application/json:
schema:
type: object
properties:
stream_id:
type: string
format: uuid
status:
type: string
enum:
- queued
priority:
type: string
'401':
description: Unauthorized
'429':
description: Rate limit exceeded
components:
securitySchemes:
BearerAuth:
type: http
scheme: bearer
description: 'API key obtained from verifiedstate.ai/keys. Send as: Authorization: Bearer vs_live_...'
externalDocs:
description: Full documentation
url: https://verifiedstate.ai/docs