AgentGen icon

AgentGen

Generate PDFs and images from HTML using the AgentGen API

Create Origin

AI-generated

Summary

AgentGen: Create Origin operation performs a POST to https://www.agent-gen.com/api/v1/origin with json:true using agentGenApi credentials, requiring no user‑supplied parameters beyond the operation selector. It returns the API’s JSON response (typically an origin subdomain identifier) and is intended for workflow authors who need to provision a new public origin subdomain for file hosting at no cost.

Inputs

  • operation (required) — Must be 'createOrigin'; the node routes to the origin‑provision code path.

Output shape

json

The HTTP response body from the POST to /v1/origin, returned as the node's output data item.

Examples

Example 1: A workflow author adds the AgentGen node and selects the 'Create Origin' operation from the Operation dropdown. No other parameters need configuration. The node sends a POST to the AgentGen API and emits the resulting JSON (typically containing an origin ID such as <id>.agent-gen.com) that can be wired to subsequent nodes.

Select 'Create Origin' in the Operation field. The node automatically uses the configured 'agentGenApi' credentials and posts an empty JSON body. The returned origin ID can be stored or passed to the 'Upload Origin Public Key' operation.

Links

Discussion