ModelWorks logoModelWorks

Search

Search for public circuits and users on ModelWorks.

Search

The Search endpoint lets you discover public circuits and users across ModelWorks. It's the same search that powers the website's search bar, exposed over HTTP so your scripts and integrations can use it too.

Only public content appears in search results — private boards, private circuits, and user data you haven't made public will never show up here.

Base URL

All examples assume the following base URL:

Text
https://modelworks.ai/api

Search

Search circuits and users with a single query string. No authentication required — this endpoint is fully public and is rate-limited via Redis to keep things snappy for everyone.

Query Parameters

ParameterTypeDescription
searchstringThe search query (required). Matched against circuit and user names, descriptions, etc.
typestringWhat to search for: all (default), circuits, or users.
limitintegerMaximum items per page. Capped at 100.
pageintegerPage number, 1-based.

Examples

Search everything (circuits and users)

Bash
curl "https://modelworks.ai/api/search?search=dilution&type=all&limit=20&page=1"

Search only circuits

Bash
curl "https://modelworks.ai/api/search?search=sec+filings&type=circuits&limit=20&page=1"

Search only users

Bash
curl "https://modelworks.ai/api/search?search=jane&type=users&limit=20&page=1"

Response Format

Search returns a paginated response. The data array contains a mix of circuits and users (or just one type if you filtered), and the meta block describes the page window.

JSON
{
  "meta": {
    "total_count": 47,
    "limit": 20,
    "page": 1
  },
  "data": [
    {
      "type": "circuit",
      "uid": "73120d53-bf89-44fa-a035-5b88fe41574a",
      "name": "Dilution Risk Report",
      "description": "Analyzes SEC filings for share-dilution risk.",
      "username": "janedoe"
    },
    {
      "type": "user",
      "uid": "4a1b2c3d-...",
      "username": "janedoe",
      "name": "Jane Doe",
      "bio": "Building finance circuits."
    }
  ]
}
FieldTypeDescription
meta.total_countintegerTotal matches across all pages.
meta.limitintegerItems requested per page.
meta.pageintegerCurrent page number.
dataarrayMix of circuit and user result objects.
data[].typestringEither "circuit" or "user".

Note: Only public circuits and public user profiles are returned. If you can't find something you own, make sure it's been published or set to public.


Error Responses

HTTP StatusCodeDescription
400 Bad RequestBadClientDataMissing search parameter, or invalid type.
429 Too Many RequestsRateLimitedYou've hit the rate limit. Slow down and retry.
On this page

On this page