Create versioned prompt

Creates a versioned prompt for a given agent.

post/agents/{agentId}/versioned_prompts

Request

  • Base URL
    https://api.vogent.ai/api
  • Auth
    HTTP bearer

Request body

aiModelIdstring required

The ID of the model to use.

agentType'STANDARD' | 'CUSTOM_FLOW' required
promptstring nullable
namestring required

Response

Successful operation

idstring required

Unique identifier for the versioned prompt

namestring required

Human-readable name for the versioned prompt

agentType'STANDARD' | 'CUSTOM_FLOW' required
promptstring nullable required

The actual prompt content that will be used by the agent. Can be null for CUSTOM_FLOW agent types

aiModelIdstring

The AI model ID to use for the agent.

Changes

No recorded changes to this operation across all 1 revision of this API.