GPTMaker icon

GPTMaker

Consume GPTMaker API

Intention → Create

AI-generated

Summary

Create an intention via POST /v2/agent/{agentId}/intentions

Inputs

  • agentId (required) — Select the agent for agent-scoped intention endpoints. Choose from the list, or specify an ID using an expression.
  • type (required) — Intention type

Output shape

JSON response from the GPTMaker API endpoint POST /v2/agent/{agentId}/intentions

Always posted to /v2/agent/{agentId}/intentions. Body construction branches on type: if INSTRUCTIONS, sends {description, type, instructions} with details included only if non-empty; if WEBHOOK, sends {description, type, details if non-empty} plus httpMethod (default GET), url, autoGenerateParams, autoGenerateBody, and optional headersUi, paramsUi, fieldsUi, variablesUi, requestBodyUi (key-value pairs stringified as JSON).

Links

Discussion