Skip to main content
Create Project Agent mutation.

Operation details

FieldValue
NamecreateProjectAgent
GroupProject Primitives
TypeMutation
SignaturecreateProjectAgent(input: CreateProjectAgentInput!): ProjectAgentDocument!

Playground

Query

Query
mutation CreateProjectAgent($input: CreateProjectAgentInput!) {
  createProjectAgent(input: $input) {
    id
    name
    description
    allowedModels
    editMode
    maxSteps
  }
}

Variables

Variables
{
  "input": {
    "projectId": "",
    "id": "",
    "name": "",
    "systemPrompt": ""
  }
}