Skip to main content

GraphQL Queries Reference

All available GraphQL queries, organized by domain. Each entry lists the query name, parameters, return type, and a brief description.

tip

All queries are sent as POST requests to /graphql. See GraphQL API Overview for authentication and usage examples.


Agents

QueryParametersReturn TypeDescription
listAgentsprojectId: String![Agent]List all agents with their current status
databaseAgentsprojectId: String![Agent]Agents with hierarchy and team information
agentProfileprojectId: String!, agentId: Long!AgentProfileAgent profile including email settings
agentProfileByNameprojectId: String!, agentName: String!AgentProfileLook up agent profile by service name
agentEmailRulesprojectId: String!, agentId: Long![AgentEmailRule]Email processing rules for an agent
agentEmailInboxprojectId: String!, agentId: Long!, limit: Int, offset: Int[AgentEmail]Paginated inbox messages
agentEmailOutboxprojectId: String!, agentId: Long!, limit: Int, offset: Int[AgentEmail]Paginated outbox (pending approval) messages
agentEmailTrashprojectId: String!, agentId: Long!, limit: Int, offset: Int[AgentEmail]Paginated trashed messages
agentKnownContactsprojectId: String!, agentId: Long![AgentContact]Contacts the agent has interacted with

Templates

QueryParametersReturn TypeDescription
agentTemplatescategory: String, featuredOnly: Boolean[AgentTemplate]Browse available agent templates, optionally filtered
agentTemplateCategories(none)[String]List all template category names
starterTeams(none)[StarterTeam]List all starter team configurations
starterTeamslug: String!StarterTeamGet a specific starter team by slug

Services

QueryParametersReturn TypeDescription
serviceInfoprojectId: String!, serviceName: String!ServiceInfoGet status and details for a specific service
listServicesprojectId: String![ServiceInfo]List all running services in a project
nameAvailableprojectId: String!, name: String!BooleanCheck if a service name is available

Jobs

QueryParametersReturn TypeDescription
jobsprojectId: String!, status: String[Job]List jobs, optionally filtered by status
jobid: Long!JobGet a specific job by ID
jobSchedulesprojectId: String![JobSchedule]List all scheduled jobs in a project
jobScheduleid: Long!JobScheduleGet a specific job schedule by ID

Skills & Procedures

QueryParametersReturn TypeDescription
proceduresprojectId: String!, agentName: String![Procedure]List all procedures for an agent
procedureprojectId: String!, agentName: String!, procedureName: String!ProcedureGet a specific procedure
procedureAgentsprojectId: String![String]List agent names that have procedures
skillsprojectId: String!, agentName: String![Skill]List all skills for an agent
skillprojectId: String!, agentName: String!, skillName: String!SkillGet a specific skill
skillAgentsprojectId: String![String]List agent names that have skills
skillFilesprojectId: String!, agentName: String![SkillFile]List all skill files for an agent

Projects

QueryParametersReturn TypeDescription
projects(none)[Project]List all projects the current user has access to
projectprojectId: String!ProjectGet a specific project
projectSettingprojectId: String!ProjectSettingGet project-level settings (timezone, etc.)
listIntegrationsprojectId: String![Integration]List configured integrations for a project
projectReadmeprojectId: String!StringGet the project README content

Workspaces

QueryParametersReturn TypeDescription
myWorkspaces(none)[Workspace]List all workspaces belonging to the current user

Xircuits

QueryParametersReturn TypeDescription
listXircuitsprojectId: String![Xircuit]List Xircuits workflows in the project
listOtherXircuitsprojectId: String![Xircuit]List Xircuits from other sources
listServiceXircuitsprojectId: String![Xircuit]List Xircuits associated with services

Data / Vector

QueryParametersReturn TypeDescription
listVectorSpacesprojectId: String![VectorSpace]List all vector spaces in a project
vectorSpaceprojectId: String!, vectorSpaceId: Long!VectorSpaceGet a specific vector space
listDataprojectId: String!, vectorSpaceId: Long!, offset: Int, limit: Int[VectorEntry]Paginated vector entries
usageMetricsprojectId: String!, vectorSpaceId: Long!, year: Int, month: IntUsageMetricsUsage metrics for a vector space
searchprojectId: String!, id: Long!, modality: String!, topK: Int!, query: String![SearchResult]Semantic search across a vector space. The id parameter is the vector space ID.
listVectoTokensprojectId: String![VectoToken]List API tokens for vector operations
listModelsprojectId: String![EmbeddingModel]List available embedding models

User

QueryParametersReturn TypeDescription
whoAmI(none)UserCurrent user profile with subscription info and trial status
features(none)[String]List of feature flags enabled for the current user
userPreference(none)UserPreferenceCurrent user preferences
trialStatus(none)TrialStatusCurrent trial status and remaining time

Notifications

QueryParametersReturn TypeDescription
notificationPreferencesprojectId: String!NotificationPreferencesGet notification settings for a project

Tokens

QueryParametersReturn TypeDescription
listPlatformTokensprojectId: String![PlatformToken]List all platform API tokens for a project

Billing

QueryParametersReturn TypeDescription
pricingTableOptions(none)PricingTableOptionsGet pricing table configuration
listProducts(none)[Product]List available subscription products

Misc

QueryParametersReturn TypeDescription
namespaceAvailablenamespace: String!BooleanCheck if a namespace is available (authenticated users)
signupNamespaceAvailablenamespace: String!BooleanCheck if a namespace is available (during signup, no auth)
userIdemail: String!StringLook up a user ID by email address
untouchedprojectId: String!BooleanCheck if a project is still in its initial state (e.g., used for onboarding flows to determine whether to show setup wizards)

Return Type Definitions

The return types referenced above (e.g., Agent, Project, VectorSpace) are defined in the GraphQL schema but are not yet individually documented here. Use your GraphQL client's introspection feature or run an introspection query to explore the full schema:

{
__type(name: "Agent") {
fields {
name
type { name kind }
}
}
}