Data and API

Explore this site's public information using ordinary links and HTTP GET requests. Public content does not require an account or API key.

Search concise public content

Anonymous, bounded public search. Returns localized summaries and citation URLs. No private totals. Five-second execution budget. Listings exclude noindex content.

GET https://zotonic.com/api/agent/search

Browse public resources

Read concise public content

Anonymous resource projection with localized Markdown, citation URLs, language fallback and content_complete. Unsupported blocks are explicitly omitted. Public noindex resources can be read directly.

GET https://zotonic.com/api/agent/resource/{id}

Explore public relationships

One hop of public, indexable predicates and endpoints. Ordered by predicate ID then endpoint resource ID, not editorial sequence. Predicate filtering and bounded candidate selection happen in the database. No private totals; sparse candidate pages are possible.

GET https://zotonic.com/api/agent/related/{id}

Discover public categories and predicates

Bounded listing of public schema resources. The OpenAPI parameters describe the supported query capabilities.

GET https://zotonic.com/api/agent/schema

Search public resources

Browse or search resources visible to the caller. Without options.properties, results are resource IDs. Translated properties can be translation objects. Totals can be estimated. Use small pages; no new server-side limit is imposed by discovery.

GET https://zotonic.com/api/model/search/get/paged

Export a resource

Retrieve a visible resource with properties, media and visible outgoing edges. page_url is a language-to-URL map including x-default; use the appropriate human page URL for citations. uri identifies the entity. Translated properties can contain all translations.

GET https://zotonic.com/api/model/rsc_export/get/{id}

Replace {id} with an ID or unique name obtained from search results or a page's alternate link. Use small pages and follow pagination to explore further.

JSON responses contain status and result fields. Concise reads return localized text and report language fallback. Follow next_url until next is false; filtered pages can be empty. Resource exports provide page URLs by language, including x-default. Cite the human page URL in the appropriate language.

The agent endpoints always use anonymous permissions. Existing compatibility APIs apply the caller's permissions. They return only accessible information and keep their existing indexing headers. Content and media may have their own licenses; preserve attribution and follow the stated terms.