Setting Up
Agent-Readable Surfaces
Plain-text endpoints an AI agent can fetch to learn what Grout offers and how to call it.
These docs are written for people and for coding agents. Every page has a markdown twin, and there is an index an agent can fetch first.
| URL | What it is |
|---|---|
| /developer/llms.txt | Index of every page with a one-line summary, plus API reference and agent files |
| /developer/llms-full.txt | Every documentation page concatenated into one file |
/developer/documentation/<slug>.md | The raw markdown of any page — add .md to the path |
| /developer/AGENTS.md | How an agent should work with the Grout API and this docs site |
| /developer/SKILLS.md | Task recipes with request templates: roster sync, gradebook, SSO button, webhooks, exams |
| /developer/openapi-v1.json | Vendored OpenAPI 3.1 document (live copy at serverless.grout.app/v1/openapi.json) |
| /developer/CHANGELOG.md | Dated changes |
Suggested agent workflow#
- Fetch
/developer/llms.txtand pick the pages relevant to the task. - Read
/developer/SKILLS.mdfor a matching recipe; each recipe lists scopes, endpoints and a request template. - Fetch
/developer/openapi-v1.jsonwhen you need exact parameter names. - Call
GET /v1/mefirst to confirm the key's scopes before doing any writes. - Emit
X-Request-Idvalues in your logs and error messages.
Using the API from an agent#
# Discover
curl -s https://grout.app/developer/llms.txt
# Confirm access
curl -s https://serverless.grout.app/v1/me -H "Authorization: Bearer $GROUT_API_KEY"
# Do the task (example: provision one student)
curl -s -X POST https://serverless.grout.app/v1/students \
-H "Authorization: Bearer $GROUT_API_KEY" -H 'Content-Type: application/json' \
-d '{"full_name":"Asha Rao","student_id":"S-0142","personal_email":"[email protected]"}'