Create Prompt
Prompts
Create Prompt
Create a new prompt or a new version of an existing prompt
POST
Create Prompt
Documentation Index
Fetch the complete documentation index at: https://docs.eigi.ai/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Create a new prompt for use with your AI agents. If a prompt with the same name already exists, a new version is automatically created with an incremented version number. Prompts support two types:- main — Used as the agent’s system prompt / instructions
- analysis — Used for post-conversation analysis
Authentication
Your eigi.ai API key. Must be prefixed with
vk_.Request Body
Unique prompt name (1-100 characters). If a prompt with this name exists, a new version is created.
The prompt text content — the instructions or system message for your agent.
Optional metadata for the prompt.
Response
The unique prompt name.
Version number (starts at 1, auto-increments for existing prompts).
The prompt text content.
Metadata including prompt_type.
ISO 8601 creation timestamp.
ISO 8601 last update timestamp.
Authorizations
API key for authentication. Get your API key from the eigi.ai Dashboard under Settings → API Keys.
Body
application/json
Unique prompt name (1-100 characters)
Required string length:
1 - 100Example:
"customer_support_v1"
The prompt text content
Minimum string length:
1Example:
"You are a helpful customer support agent for TechCorp. Be polite, professional, and solve customer issues efficiently."
Metadata for the prompt
Example:
{ "prompt_type": "main" }Response
Prompt created successfully

