List agent templates

agentTemplates(input: AgentTemplatesInput): AgentTemplateConnection!

Arguments

ArgumentTypeRequired
inputAgentTemplatesInputNo

Input fields

input

AgentTemplatesInput

FieldTypeRequired
cursorStringNo
limitIntNo
searchStringNo
categoryStringNo
kindStringNo
originStringNo
sortByStringNo
sortOrderStringNo

Response

Returns AgentTemplateConnection!. Open the type for its fields and nested types.

FieldTypeDescription
data[AgentTemplate!]!Unified catalog: agents from configured template projects and approved installable registry entries. Template agents expose the fork action; installable agents expose the install action.
totalInt!
pageInfoPageInfo!

Types marked with ! cannot be null. Lists use [Type] notation. The type index lists all published input and response types.

Example

graphql
query AgentTemplates($input: AgentTemplatesInput) {
  agentTemplates(input: $input) {
    total
    data {
      id
      agentId
      name
      actions
      avatarUrl
    }
    pageInfo {
      hasNextPage
      endCursor
      hasPreviousPage
      startCursor
    }
  }
}
json
{}