Skip to main content
Create Project Prompt mutation.

Operation details

FieldValue
NamecreateProjectPrompt
GroupProject Primitives
TypeMutation
SignaturecreateProjectPrompt(input: CreateProjectPromptInput!): ProjectPromptDocument!

Playground

Query

Query
mutation CreateProjectPrompt($input: CreateProjectPromptInput!) {
  createProjectPrompt(input: $input) {
    id
    name
    description
    content
    editMode
    source
  }
}

Variables

Variables
{
  "input": {
    "projectId": "",
    "id": "",
    "content": ""
  }
}