StealthStack Resources API
The Resources API from StealthStack — 2 operation(s) for resources.
The Resources API from StealthStack — 2 operation(s) for resources.
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/stealthstack-ai:stealthstack-ai-resources-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: StealthStack ARD Index — Read Resources API
version: 0.3.0
description: 'The read surface of stealthstack-index. CONSUMED by stealthstack-web (and any other client); web reads this API only, never the index''s storage directly. `POST /search` and `POST /explore` implement the ARD search API (spec v0.91, ards-project/ard-spec@49eb4df, §5.3) so the index is a federatable registry node, not just an internal store.
**Errors (ARD Appendix B).** Every non-2xx JSON response is an `Error`: `{errorCode, message}` with errorCode one of INVALID_ARGUMENT (400), NOT_FOUND (404), RATE_LIMIT_EXCEEDED (429), INTERNAL_ERROR (500). For pre-0.3.0 clients the body ALSO carries a legacy `error` string (same text as `message`); new clients should read `errorCode`/`message`.
**Federation (ARD §5.4).** `none` = local index only, no referrals. `referrals` = local results plus static pointers to other registries. `auto` (the default) = the spec''s "query upstream and merge" (STE-96): when the index has peers configured (`FEDERATION_PEERS`; outbound federation is OFF and no peer is approved: any future outbound peer needs the owner''s explicit OK plus the peer admission criteria), it queries them live with the redacted query text and `federation: "none"`, admits only results that pass its quality filter, and ranks them together with its own records (first-party records rank ahead at equal relevance); no referrals. With no peers, `auto` returns local results only. Per-peer status is in the `x-stealthstack-federation` response header (CORS-exposed). Any other value is 400 INVALID_ARGUMENT. Explore never federates.
**Sensitive-content labels (additive, 2026-09-29).** The index labels records `gambling` or `adult` and, by owner decision, HIDES THEM EVERYWHERE: they are absent from `GET /resources`, `POST /search` (federated peer results included), `POST /explore`, every `GET /stats` / `GET /stats/recent` count, `GET /domains`, the conformance scoreboard and the resource sitemap, and `GET /resources/{id}` answers 404 NOT_FOUND for them exactly as for an unknown identifier. There is NO public opt-in: the `sensitive` query parameter, the SearchRequest `sensitive` member and a `query.filter.sensitive` key are RESERVED and ignored (always `exclude`) unless the index is deployed with its opt-in flag on (`SENSITIVE_OPT_IN=on`, off in production). Clients should not send them.'
servers:
- url: https://stealthstack.ai/registry
description: public registry (stealthstack.ai/registry/* → index, read-only)
- url: https://stealthstack-index.stealthstack.workers.dev
description: index Worker (direct)
tags:
- name: Resources
paths:
/resources:
get:
summary: List / filter discovered resources
parameters:
- name: q
in: query
schema:
type: string
description: free-text over name/description/tags
- name: type
in: query
schema:
type: string
description: raw IANA media type filter
- name: kind
in: query
schema:
type: string
enum:
- agent
- mcp
- skill
- catalog
- api
- registry
- other
description: coarse UI bucket filter
- name: tag
in: query
schema:
type: string
- name: domain
in: query
schema:
type: string
description: source.domain filter
- name: trust
in: query
schema:
type: string
enum:
- verified
- unverified
- failed
- name: paid
in: query
schema:
type: string
enum:
- x402
description: records that list this payment protocol in metadata["stealthstack.payment"] (crawl-dataset.md "Payment terms"). A filter only, never an order; an unknown value matches nothing.
- name: includeStale
in: query
schema:
type: boolean
default: false
description: include records not seen within the staleness window (hidden by default; same flag applies to POST /search)
- name: sensitive
in: query
schema:
type: string
enum:
- exclude
- include
- only
default: exclude
description: RESERVED. Sensitive-content labelled records (gambling, adult) are always excluded; this parameter is ignored unless the index is deployed with its opt-in flag on (off in production). Same on POST /search and POST /explore.
- name: page
in: query
schema:
type: integer
default: 1
- name: pageSize
in: query
schema:
type: integer
default: 25
maximum: 100
responses:
'200':
description: page of resources
content:
application/json:
schema:
type: object
required:
- results
- page
- total
properties:
results:
type: array
items:
$ref: '#/components/schemas/IndexRecord'
page:
type: integer
pageSize:
type: integer
total:
type: integer
facets:
type: object
description: query-scoped counts for the filter UI (counts respect q + filters)
properties:
kind:
type: object
additionalProperties:
type: integer
trust:
type: object
additionalProperties:
type: integer
tags:
- Resources
operationId: getResources
x-operation-id-source: derived
/resources/{id}:
get:
summary: One resource by URN identifier
parameters:
- name: id
in: path
required: true
schema:
type: string
description: 'The URN, percent-encoded INCLUDING colons. Matches whichever record carries this identifier; cross-registry duplicates may exist under different URNs.
'
example: urn%3Aair%3Astealthstack.ai%3Askill%3Aarchives
responses:
'200':
description: the resource
content:
application/json:
schema:
$ref: '#/components/schemas/IndexRecord'
'404':
$ref: '#/components/responses/NotFound'
tags:
- Resources
operationId: getResourcesById
x-operation-id-source: derived
components:
responses:
NotFound:
description: NOT_FOUND — unknown resource identifier or route.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
schemas:
Error:
description: 'ARD Appendix B error body. `error` is a legacy (<0.3.0) mirror of `message` kept for backward compatibility.
'
type: object
required:
- errorCode
- message
properties:
errorCode:
type: string
enum:
- INVALID_ARGUMENT
- NOT_FOUND
- RATE_LIMIT_EXCEEDED
- INTERNAL_ERROR
message:
type: string
error:
type: string
deprecated: true
description: Legacy mirror of `message`.
additionalProperties: true
IndexRecord:
description: See schemas/index-record.schema.json (canonical). Summarized here for codegen.
type: object
required:
- identifier
- displayName
- type
- kind
- source
- observed
- trust
properties:
identifier:
type: string
displayName:
type: string
type:
type: string
kind:
type: string
enum:
- agent
- mcp
- skill
- catalog
- api
- registry
- other
url:
type: string
format: uri
description:
type: string
tags:
type: array
items:
type: string
capabilities:
type: array
items:
type: string
representativeQueries:
type: array
items:
type: string
version:
type: string
updatedAt:
type: string
format: date-time
metadata:
type: object
additionalProperties: true
source:
type: object
properties:
domain:
type: string
catalogUrl:
type: string
format: uri
via:
type: string
observed:
type: object
properties:
firstSeen:
type: string
format: date-time
lastSeen:
type: string
format: date-time
lastStatus:
type: integer
trust:
type: object
properties:
status:
type: string
enum:
- verified
- unverified
- failed
method:
type: string
enum:
- domain-anchor
- registry-asserted
- none
authority:
type:
- string
- 'null'
catalogHost:
type: object
properties:
identifier:
type: string
displayName:
type: string
sensitive:
type: array
items:
type: string
enum:
- adult
- gambling
description: 'RESERVED, index-derived (never from the crawl record). Labelled records are hidden everywhere, so this member is not served today; it appears only on an index deployed with its sensitive opt-in flag on. A publisher-supplied top-level `sensitive` is never passed through. A client that receives a record carrying it should treat the record as hidden (not show it).
'