# Symelo for agents

## Page representations

Public site pages and every local tool have readable representations. They describe public content and tool usage. They do not include user inputs, browser history, account records, or tool execution results.

- Send `Accept: text/markdown` for Markdown.
- Append `.md` to a page path, such as `/tools/placeholder-images.md`. Use `/index.md` for the homepage. `/bg/index.md` and localized page paths also work.
- Use `?format=markdown` or `?format=md` for an explicit Markdown request.
- Send `Accept: text/plain` for the same readable document as plain text.
- Send `Accept: application/json` for a document with `schema_version`, `url`, `title`, `description`, `language`, `content_markdown`, and `links`.
- Browsers and wildcard-only requests receive HTML. Weighted Accept preferences and q=0 exclusions are honored. Unsupported media types receive 406. On equal quality and specificity, the first supported media type in Accept wins.

Explicit Markdown URLs and query flags take precedence over Accept. Native image, JSON API, static asset, and documentation URLs retain their own content types. Content-Type on a request describes its body and does not select the response format. GET and HEAD support representations; POST requests and framework navigation requests retain normal application behavior.

The locale comes from the path. English is served at `/` and `/en`; Bulgarian routes use `/bg`. Some Bulgarian routes currently contain English content. The JSON language field and Content-Language identify the route locale.

Page responses advertise a canonical HTML URL, Markdown alternate, and agent index in Link headers. Markdown responses use `text/markdown; charset=utf-8`. Negotiated URLs use `Vary: Accept` and `Cache-Control: private, no-store` to prevent intermediary caches from serving Markdown to browsers. Explicit `.md` URLs can be publicly cached for five minutes. ETags and conditional GET/HEAD are supported for readable representations.

Private account and admin pages have no public Markdown or JSON representation. Unknown pages return 404. Documentation routes do not create sessions or require sign-in.

## Discovery

- [Agent index](/llms.txt)
- [Full public page and tool guides](/llms-full.txt)
- [Canonical page sitemap](/sitemap.xml)
- [Crawler policy](/robots.txt)
- [Combined OpenAPI contract](/api/openapi.json)
- [Placeholder image API](/docs/placeholder-images-api.md)
- [Domain registration API](/docs/domain-checker-api.md)
- [AI watermark checker API](/docs/ai-watermark-checker-api.md)

## Using tools

The placeholder image API supports public GET URLs for image embedding. Its default URL is `/api/placeholder`, which returns an 800 × 450 SVG. Use `format=png` or `format=jpg` for raster output. Copy image links or complete img tags from the tool. No API key is required.

The domain registration API requires a scoped bearer API key for machine requests. Create one through API access in the domain checker. Follow the API reference for limits, request fields, errors, and retries. A missing registration record never guarantees purchase availability.

The AI watermark checker API (`POST /api/v1/ai-watermarks/check`) checks up to 5 images or texts of up to 10 MB per request (at most 300 images an hour across all callers) for Content Credentials (C2PA), IPTC AI labels, generator settings, the Stable Diffusion pixel watermark and hidden characters. No API key is required. Send multipart/form-data or base64 JSON, never URLs. A result without a watermark is not proof that a person made the file.

JSON Viewer, Diff Checker, HTML Cleaner, and QR Code Generator run in the browser. Use their UI controls for input and output. They have no HTTP execution API. Sample Tool is an empty layout test page and is excluded from discovery indexes.

## Deployment

The default public origin is `https://symelo.com`. Set `SITE_URL` to the public origin at build and runtime when deploying the site to another domain. Canonicals, sitemap entries, JSON-LD, Markdown links, and OpenAPI servers share this setting. Incoming Host headers never determine canonical links.
