View as Markdown
DocuWriter.ai icon

DocuWriter.ai ACTION

List Generations

List your documentation generations with optional filtering. No Docuwriter credit cost. See the documentation
  • Action
  • Read only
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's DocuWriter.ai account once, then configure and run List Generations from your backend or agent.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "docuwriter_ai-list-generations",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    docuwriter_ai: { authProvisionId: "apn_xxxxxxx" },
    type: "Generation Type",
    archived: true,
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

List Generations inputs
Property Type Description
type Generation Type string
Filter by generation type (e.g., documentation, tests)
Optional
archived Archived boolean
Filter by archived status
Optional
page Page integer
Page number to retrieve.
Optional
perPage Per Page integer
Number of results per page (1-100)
Optional

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
docuwriter_ai-list-generations
Version
0.0.3
App
DocuWriter.ai
Authentication
API key
Read-only
Yes
Destructive
No
Open world
Yes