LLMs.txt Status
GET
Get the status and results of an LLMs.txt generation job. This endpoint allows you to check if the generation is complete and retrieve the generated content.
Response Structure
The response includes:
-
success: Boolean indicating if the request was successful
-
status: Current status of the generation job:
processing
: Job is still runningcompleted
: Job finished successfullyfailed
: Job encountered an error
-
data: Generated content (when status is
completed
):llmstxt
: The generated LLMs.txt contentllmsfulltxt
: Full text content (if showFullText was true)
-
expiresAt: ISO timestamp indicating when the results will expire
Status Examples
-
Processing Status
-
Completed Status
Error Handling
If the generation job fails or cannot be found, you’ll receive an appropriate error response:
Polling Recommendations
- Poll every 2-3 seconds initially
- Increase interval if still processing after 30 seconds
- Stop polling if status is
completed
orfailed
- Implement exponential backoff to avoid rate limits
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
The ID of the LLMs.txt generation job