Returns the extracted markdown currently indexed for the document. During a refresh, this remains the previous ready version until the replacement succeeds.
api.heroui.pro/v1/knowledge/{id}/contentSend the request to see the live response from the Agents API.
AgentApiKey An Agent API key with the permission required by the operation.
In: header
The resource identifier.
text/markdown
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://api.heroui.pro/v1/knowledge/string/content""string"{
"message": "limit must be an integer between 1 and 100.",
"name": "bad_request"
}{
"message": "The supplied API key is invalid or revoked.",
"name": "unauthorized"
}{
"message": "This API key does not have the required knowledge:read permission.",
"name": "insufficient_scope"
}{
"message": "The requested resource was not found.",
"name": "not_found"
}{
"message": "The knowledge document does not have indexed content yet.",
"name": "conflict"
}{
"message": "Too many requests. Please try again later.",
"name": "rate_limited"
}{
"message": "Internal server error.",
"name": "internal_server_error"
}{
"message": "The API is temporarily unavailable.",
"name": "service_unavailable"
}Retrieve a knowledge document GET
Returns one knowledge document and its current ingestion and refresh status.
Upload a knowledge file POST
Uploads one file up to 10 MB and starts extraction and indexing. Supported formats are PDF, Word, Excel, PowerPoint, text, Markdown, HTML, CSV, and JSON. The returned document begins in processing status.