Athena
Home
Environments
Environments
  • Development Server
  • Production
Home
Environments
Environments
  • Development Server
  • Production
  1. Prompt
  • Getting Started
    • Start Guide
  • Installation & Setup
    • Windows
  • Architecture
  • Guide
    • Bundles
      • Backend
    • Permissions
      • Frontend
    • Developers
      • Commit Lint
      • RESTful API
    • Workflows
      • Workflow Variables
  • API Reference
    • Authentication
      • Sign In
      • Logout
    • User
      • Get Authenticated User using Multiplai App Access Token
      • Get Authenticated User using Basic Token
    • Workspace
      • Get Workspaces Metrics
      • Get Workspaces
      • Update a Workspace
      • Retrieve a workspace
      • Delete a Workspace
    • Provider
      • Get Providers
      • Retrieve a Provider
      • Update a Provider
      • Create a Provider
      • Delete a Provider
    • Account
      • Get Accounts
      • Update an Account
      • Create an Account
      • Delete an Account
      • Retrieve an Account
    • Agent
      • Get Agents
      • Update an Agent
      • Create an Agent
      • Delete an Agent
      • Retrieve an Agent
      • Run an Agent
      • Train an Agent
      • Generate an Agent
      • Share Agent
      • Get Agent Leaderboard
    • Workflow
      • Get Workflows
      • Create a Workflow
      • Retrieve a Workflow
      • Update a Workflow
      • Delete a Workflow
      • Trigger a webhook
      • Share Workflow
      • Generate Workflow
    • Workflow Execution
      • Get Workflow Executions
      • Get Workflow Execution Counts
      • Retrieve a Workflow Execution
      • Delete a Workflow Execution
    • Prompt
      • Get Prompts
        GET
      • Create a Prompt
        POST
      • Retrieve a Prompt
        GET
      • Update a Prompt
        PUT
      • Delete a Prompt
        DELETE
      • Run a prompt
        POST
    • Memory
      • Get Memories
      • Retrieve a Memory
      • Update a Memory
      • Delete a Memory
    • Thread
      • Get Threads
      • Retrieve a Thread
      • Update a Thread
      • Delete a Thread
      • Create a Thread
      • Run a Thread
      • Generate Thread Name
    • Message
      • Get Messages
      • Retrieve a Message
      • Update a Message
      • Delete a Message
      • Create a Message
    • Large Language Model
      • Get Large Language Models
      • Retrieve a Large Language Model
    • Command Room Task
      • Store Command Room Task
      • Remove Command Room Task
    • Metrics
      • Get Agents Metrics
      • Get Workflows Metrics
      • Get Threads Metrics
      • Get Messages Metrics
      • Get Workflow Executions Metrics
  • Schemas
    • Resources
      • User
      • Workspace
      • Provider
      • Account
      • Agent
      • Workflow
      • Share
      • WorkflowExecution
      • WorkflowExecutionData
      • Prompt
      • Memory
      • Thread
      • Attachment
      • Media
      • Tool
      • Message
      • LargeLanguageModel
      • AgentLeaderboard
    • Utils
      • Pagination
        • PaginationMeta
        • PaginationLinks
      • Provider
        • AuthenticationConfig
      • Profile
        • ProfilePhotoConfig
      • Workflow
        • WorkflowExecutionDataWorkflowData
        • Node
        • Edge
  1. Prompt

Update a Prompt

Local
https://localhost
Local
https://localhost
PUT
/api/v1/prompts/{prompt_uuid}

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params

Header Params

Body Params application/json

Examples

Responses

🟢200Success
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://localhost/api/v1/prompts/' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "name": "string",
    "description": "string",
    "visibility": "public",
    "profile_photo_key": "string",
    "profile_photo_config": {
        "emoji": "string",
        "background_color": "string",
        "preference": "emoji"
    },
    "content": "string",
    "metadata": {
        "input": [
            {
                "key": "string",
                "label": "string",
                "type": "string",
                "required": true,
                "options": [
                    "string"
                ]
            }
        ],
        "property1": "string",
        "property2": "string"
    },
    "with": "string"
}'
Response Response Example
{
    "data": {
        "uuid": "65c5b135-b873-4066-9868-9dc3c0c41a84",
        "name": "Dr. Guy Fahey",
        "description": "Summisse deficio abscido demulceo caste laudantium. Terra traho substantia confugo sufficio aliqua coniuratio. Tabula atque ab vomica despecto quas. Tergeo spectaculum animus degusto adopto vestrum adeo dolore synagoga quas. Ex amet soluta cognatus culpa ",
        "profile_photo_url": "https://loremflickr.com/400/400?lock=5327740869203349",
        "profile_photo_config": null,
        "content": "Speciosus illum corroboro doloribus super conscendo. Dolor ubi carpo antepono accusamus pariatur arbitro vacuus quo armarium. Demoror provident ustilo vilicus suppellex defero ratione thermae.",
        "visibility": "public",
        "is_owner": false,
        "metadata": {
            "input": [
                "Reference not found $ref: #/$defs/PromptInputField",
                "Reference not found $ref: #/$defs/PromptInputField"
            ],
            "ea_d": false
        },
        "created_at": "2025-06-18T21:01:25.997Z",
        "updated_at": "2025-02-05",
        "user": {
            "id": 123,
            "name": "John Doe",
            "first_name": "John",
            "last_name": "Doe",
            "email": "john.doe@example.com",
            "profile_photo_url": "https://example.com/storage/photos/user-123.jpg",
            "multiplai_id": "multiplai_abc123def456",
            "created_at": "2024-01-15T10:30:00Z",
            "updated_at": "2024-01-15T14:45:00Z",
            "primary_workspace": {
                "uuid": "550e8400-e29b-41d4-a716-446655440000",
                "slug": "my-ai-workspace",
                "name": "My AI Workspace",
                "profile_photo_url": "https://example.com/storage/workspaces/workspace-123.jpg",
                "multiplai_id": "multiplai_workspace_abc123",
                "is_onboarded": true,
                "metadata": {
                    "onboarding_step": 75,
                    "sources": [
                        "google_search",
                        "social_media",
                        "referral"
                    ],
                    "affiliate_name": "John Doe Marketing",
                    "role": "Product Manager",
                    "industry": "Technology",
                    "tools": [
                        "slack",
                        "notion",
                        "github"
                    ],
                    "ai_tools": {
                        "agents": [
                            {
                                "emoji": "🤖",
                                "name": "Customer Support Bot",
                                "description": "Handles customer inquiries and support tickets"
                            }
                        ],
                        "prompts": [
                            {
                                "emoji": "✍️",
                                "name": "Email Writer",
                                "description": "Generates professional email responses"
                            }
                        ],
                        "workflows": [
                            {
                                "emoji": "⚡",
                                "name": "Lead Processing",
                                "description": "Automatically processes and qualifies incoming leads"
                            }
                        ]
                    },
                    "est7": "velit mollit aliquip consectetur"
                },
                "is_owner": true,
                "created_at": "2024-01-15T10:30:00Z",
                "updated_at": "2024-01-15T14:45:00Z",
                "user": null
            }
        },
        "workspace": {
            "uuid": "550e8400-e29b-41d4-a716-446655440000",
            "slug": "my-ai-workspace",
            "name": "My AI Workspace",
            "profile_photo_url": "https://example.com/storage/workspaces/workspace-123.jpg",
            "multiplai_id": "multiplai_workspace_abc123",
            "is_onboarded": true,
            "metadata": {
                "onboarding_step": 75,
                "sources": [
                    "google_search",
                    "social_media",
                    "referral"
                ],
                "affiliate_name": "John Doe Marketing",
                "role": "Product Manager",
                "industry": "Technology",
                "tools": [
                    "slack",
                    "notion",
                    "github"
                ],
                "ai_tools": {
                    "agents": [
                        {
                            "emoji": "🤖",
                            "name": "Customer Support Bot",
                            "description": "Handles customer inquiries and support tickets"
                        }
                    ],
                    "prompts": [
                        {
                            "emoji": "✍️",
                            "name": "Email Writer",
                            "description": "Generates professional email responses"
                        }
                    ],
                    "workflows": [
                        {
                            "emoji": "⚡",
                            "name": "Lead Processing",
                            "description": "Automatically processes and qualifies incoming leads"
                        }
                    ]
                }
            },
            "is_owner": true,
            "created_at": "2024-01-15T10:30:00Z",
            "updated_at": "2024-01-15T14:45:00Z",
            "user": {
                "id": 123,
                "name": "John Doe",
                "first_name": "John",
                "last_name": "Doe",
                "email": "john.doe@example.com",
                "profile_photo_url": "https://example.com/storage/photos/user-123.jpg",
                "multiplai_id": "multiplai_abc123def456",
                "created_at": "2024-01-15T10:30:00Z",
                "updated_at": "2024-01-15T14:45:00Z",
                "primary_workspace": {
                    "uuid": "550e8400-e29b-41d4-a716-446655440000",
                    "slug": "my-ai-workspace",
                    "name": "My AI Workspace",
                    "profile_photo_url": "https://example.com/storage/workspaces/workspace-123.jpg",
                    "multiplai_id": "multiplai_workspace_abc123",
                    "is_onboarded": true,
                    "metadata": {
                        "onboarding_step": 75,
                        "sources": [
                            "google_search",
                            "social_media",
                            "referral"
                        ],
                        "affiliate_name": "John Doe Marketing",
                        "role": "Product Manager",
                        "industry": "Technology",
                        "tools": [
                            "slack",
                            "notion",
                            "github"
                        ],
                        "ai_tools": {
                            "agents": [
                                {
                                    "emoji": "🤖",
                                    "name": "Customer Support Bot",
                                    "description": "Handles customer inquiries and support tickets"
                                }
                            ],
                            "prompts": [
                                {
                                    "emoji": "✍️",
                                    "name": "Email Writer",
                                    "description": "Generates professional email responses"
                                }
                            ],
                            "workflows": [
                                {
                                    "emoji": "⚡",
                                    "name": "Lead Processing",
                                    "description": "Automatically processes and qualifies incoming leads"
                                }
                            ]
                        }
                    },
                    "is_owner": true,
                    "created_at": "2024-01-15T10:30:00Z",
                    "updated_at": "2024-01-15T14:45:00Z",
                    "user": null
                }
            }
        }
    }
}
Modified at 2025-06-20 02:04:27
Previous
Retrieve a Prompt
Next
Delete a Prompt
Built with