GPTMaker icon

GPTMaker

Consume GPTMaker API

Training → Create

AI-generated

Summary

Create a training for a selected agent

Inputs

  • agentId (required) — Select the agent to train; can be chosen from the list or specified via expression.
  • createType (required) — Training type for creation; currently only TEXT is supported.
  • text (required) — The training text (for TEXT trainings only).
  • image — Optional image URL to associate with the training.
  • callbackUrl — Optional webhook URL to be notified when training completes.

Output shape

a single training record

Returns the created training details (including its ID); success returns the object, errors are propagated.

Examples

Example 1: Create a basic text training

Select an agent, leave createType as TEXT, enter training text, optionally add an image URL and callback URL.

Example 2: Create a training with an image

Select an agent, set createType to TEXT (default), provide text, add an image URL, optionally set a callback URL.

Links

Discussion