API Reference¶
REST API for llm.energy.
Base URL¶
Endpoints¶
Extract Documentation¶
Request Body
Response
{
"success": true,
"source": "llms-full.txt",
"documents": [
{
"name": "getting-started.md",
"title": "Getting Started",
"tokens": 1250
}
],
"stats": {
"totalDocuments": 12,
"totalTokens": 45000,
"processingTimeMs": 234
}
}
Fetch Raw Content¶
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
url |
string | required | Documentation site URL |
full |
boolean | true |
Fetch llms-full.txt |
Response
Error Responses¶
| Status | Description |
|---|---|
| 400 | Invalid request parameters |
| 404 | No llms.txt found |
| 500 | Server error |
Validate install.md¶
Request Body
Or validate from URL:
Response
{
"valid": true,
"parsed": {
"productName": "my-tool",
"objective": "Install the tool",
"doneWhen": "Tool is working",
"todoItems": [...],
"steps": [...]
}
}
Check install.md Existence¶
Response