All Products
Search
Document Center

:CreateApplicationPrompt

Last Updated:Mar 23, 2026

Creates a Prompt for an Application.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

ApplicationId

string

Yes

The ID of the Application.

pa-**************

PromptName

string

Yes

The name of the Prompt.

my_prompt

PromptType

string

Yes

The type of the Prompt.

CONVERSATION_SUMMERY SEMANTIC_MEMORY MEMORY_ANSWER_PROMPT USER_MEMORY_EXTRACTION_PROMPT AGENT_MEMORY_EXTRACTION_PROMPT PROCEDURAL_MEMORY_SYSTEM_PROMPT RETRIEVE_NODES_PROMPT EXTRACT_RELATIONS_PROMPT UPDATE_GRAPH_PROMPT DELETE_RELATIONS_SYSTEM_PROMPT

PromptValue

string

Yes

The content of the Prompt.

prompt content

Response elements

Element

Type

Description

Example

object

The response data.

RequestId

string

The ID of the request.

6BD9CDE4-5E7B-4BF3-9BB8-83C73E******

PromptId

string

The ID of the Prompt.

papt-f9lajgw765f4fnrzn1

Examples

Success response

JSON format

{
  "RequestId": "6BD9CDE4-5E7B-4BF3-9BB8-83C73E******",
  "PromptId": "papt-f9lajgw765f4fnrzn1"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.