Actions8
Generations → Get All
AI-generatedOverview
This node interacts with the DocuWriter.ai API to retrieve a list of AI-generated content generations. Specifically, for the 'Generations' resource with the 'Get All' operation, it fetches multiple generation records, optionally filtered by type and limited in number. This is useful for users who want to review or manage previously generated AI outputs such as documentation, tests, comments, UML diagrams, or code optimizations.
Use Case Examples
- Retrieve the last 20 generations of AI-generated code documentation.
- Fetch up to 50 generations filtered by a specific type, such as 'codeComments'.
Properties
| Name | Meaning |
|---|---|
| Limit | Specifies the maximum number of generation records to return, with a minimum of 1 and a maximum of 100. |
| Type Filter | An optional filter to restrict the returned generations to a specific type, such as 'codeDocumentation' or 'codeTests'. |
Output
JSON
id- Unique identifier of the generation record.type- The type/category of the generation, e.g., code documentation, tests, comments.content- The generated content or result from the AI generation process.createdAt- Timestamp indicating when the generation was created.
Dependencies
- Requires an API key credential for DocuWriter.ai to authenticate requests.
- Depends on the DocuWriter.ai API base URL configured in the credentials.
Troubleshooting
- If the node returns an authentication error, verify that the API key credential is correctly configured and valid.
- If no generations are returned, check the 'Type Filter' value to ensure it matches existing generation types or leave it empty to fetch all types.
- Limit values outside the 1-100 range will be rejected; ensure the limit is within this range.
- Network or API downtime may cause request failures; retry or check service status.
Links
- DocuWriter.ai API Documentation - Official API documentation for understanding available endpoints and parameters.