Gres API

by valgresky

315 downloads Not rated yet View license

About

Gres is a minimalist AI command server for agents and developers. Snap pages, grab sites, source docs, and ask anything. One interface, zero fluff.

Details

License
View license

Explore

- Health check endpoint without authentication
- Snap a page with /gres/snap
- Crawl a site or sitemap with /gres/grab
- List indexed sources via /gres/source
- Query vector index (RAG) with /gres/ask
- API key authentication for all non-health routes

Set your API key in a .env file as VALGRESKY_API_KEY=sk_valgresky_yourkeyhere. The base URL is https://api.valgresky.com. Use the health check endpoint without authentication (/gres/health). All other endpoints require an X-API-Key header. Invoke endpoints like /gres/snap, /gres/grab, /gres/source, and /gres/ask with appropriate JSON payloads.

from tools.mcp import mcp

@mcp.tool(name="snap")
def snap_tool(url: str):
...

---

Welcome to Gres API, your agentic endpoint layer built with FastAPI, modular tools, secure key authentication, and production-ready Docker deployment.

---

🚀 Live Endpoint

Base URL:
https://api.valgresky.com

Interactive Docs:
https://api.valgresky.com/docs

---

✅ Health Check (No Auth)

```bash
curl https://api.valgresky.com/gres/health

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.