# Foundations Elements Search

> Foundations Elements Search is a paid API for AI agents from foundations.tensegrity.works, paid per call via x402, $0.02/call, status unknown (last checked 2026-11-23).

Search for elements within the Foundations knowledge base by query and kind

## Facts

- Endpoint: POST https://foundations.tensegrity.works/mcp/elements/search?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/foundations-elements-search-544a630d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_HGFrOEkKc9asdASioMPvb

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability foundations-elements-search-544a630d -d '<json body>'
```

Example prompt: Search Foundations for elements related to 'typography' — filter by kind 'token' if that's supported.

## When to prefer this

Use this endpoint when you need to discover or look up elements within the Foundations system by keyword or category, especially when filtering by element kind. It is the primary search interface for Foundations elements on tensegrity.works.

## Known failure modes

- Missing required 'input' object returns a validation error
- Invalid HTTP method (e.g. POST) is rejected — only GET/HEAD/DELETE allowed
- Empty or malformed query string 'q' may return zero results
- Payment not provided or insufficient USDC results in 402 response
- Network timeout if the Foundations index is under load

## Output

A list of matching Foundations elements, potentially including their names, types, kinds, and associated metadata, filtered by the provided query string and optional kind parameter.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "q": {
       "type": "string"
      },
      "kind": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/foundations-elements-search-544a630d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from foundations.tensegrity.works](https://www.zero.xyz/host/foundations.tensegrity.works/llms.txt)
