updatePrompt(projectReference: String!, id: String!, input: UpdatePromptInput!): PromptSource!
Requires project.agents.write.
Arguments
Input fields
input
Response
Returns PromptSource!. Open the type for its fields and nested types.
Types marked with ! cannot be null. Lists use [Type] notation. The type index lists all published input and response types.
Example
mutation UpdatePrompt($projectReference: String!, $id: String!, $input: UpdatePromptInput!) {
updatePrompt(projectReference: $projectReference, id: $id, input: $input) {
id
name
content
description
editMode
}
}{
"projectReference": "00000000-0000-4000-8000-000000000001",
"id": "example",
"input": {
"content": "example"
}
}