Queries

FieldDescription
_empty
accountsList the personal and team accounts the caller belongs to, oldest first, with the caller's role and capabilities in each.
accountReturn an account with the caller's role and capabilities in it. Requires account.read.
accountMembersList the members of an account with their roles, oldest first. Requires account.members.read.
accountInvitationsList account invitations. Requires account.invitations.read.
accountProjectsList account projects. Requires account.projects.read.
getAccountRunAnalyticsReturn account run analytics.
listRunsList runs; bound runtimes need own project_id, trigger_type=["schedule"] and trigger_id.
getRunGet run details: status, errors, target, timing, token usage and cost, by run UUID or public id; usage is cumulative.
listProjectRunsList project runs. Requires project.runs.read.
listConversationRunsList conversation runs. Requires project.runs.read.
listProjectWebhookRunsList webhook runs. Requires project.runs.read.
listEvalRunsList evaluation runs. Requires project.runs.read.
listRunChildRunsList direct child runs by canonical parent UUID; follow page_info.next for further children.
listConversationChildRunsList conversation child runs. Requires project.runs.read.
listRunEventsRead run event details: errors, steps, model calls and tool results, paginated by canonical UUID; MODEL_CALL_COMPLETED reports per-call usage.
getRunEventRead one recorded event by canonical run UUID and numeric event_id.
getRunEventsSummaryCount run events by type and time bucket without event bodies or usage metrics.
getRunSnapshotRead a run replay snapshot by canonical UUID; use event readers for targeted failure analysis.
listRunEventTypesList run event types.
listRunInputRequestsList run input requests.
listConversationInputRequestsList conversation input requests.
listProjectInputRequestsList the input requests in a project that the caller can see.
getInputRequestReturn an input request.
canonicalRunEventsV1Read canonical run events with durable replay cursors.
canonicalRunEventV1Read one canonical run event by its durable event id.
canonicalRunEventTypesV1Discover canonical run event types and schema references.
inferencePolicyRead which models a project allows and denies, its default model, and what it inherits from its account; returns the served defaults when the project stores no policy. Requires project.settings.manage.
accountInferencePolicyGet account inference policy. Requires account.settings.manage.
featureGateCheck whether a plan allows a feature before offering it, for the caller or for the owner of a project; returns allowed with the required tier, limit and current count, and a denied gate is a result, not an error.
creditBalanceRead how many credits an account has left in its monthly and purchased pools, with its monthly allocation and top-up price; returns the balance. Requires account.billing.read.
creditTransactionsList the credit grants, purchases, refunds and charges of an account, newest first unless sorted otherwise; returns one page of credit transactions. Requires account.billing.read.
creditPackagesList the credit packages an account can buy and their prices before starting a credit checkout; returns the whole catalogue as one page. Requires account.billing.read.
billingDetailsRead the name, email, phone, address and tax IDs that appear on the invoices of an account; returns empty details and customer_available false before the account has a billing customer. Requires account.billing.read.
invoicesList the issued invoices of an account, or with kind upcoming the previews and drafts of what it will be charged next; returns one page of invoices with amounts in minor currency units. Requires account.billing.read.
paymentsList the payments an account has made, with their receipt links; returns one page of payments with amounts in minor currency units. Requires account.billing.read.
paymentMethodsList the cards saved for an account and which one is the default; returns one page of payment methods, which are changed in the billing portal. Requires account.billing.read.
budgetsList the budgets the caller may manage with their usage this month, for one project or narrowed to a member or API key.
budgetGet a budget and its usage for the current month.
apiKeyReturn one API key's metadata, status and scopes, without its secret.
apiKeysList the caller's API keys, or the keys bound to one project, newest first; every surface returns active keys unless status selects expired, revoked or all.
connectedAgentsList a project's connected agents: every push runtime service first, then at most the 50 most recently updated pull workers, with no continuation for the rest. Requires project.runtime.manage.
branchCollectionList the branches of a project, including its root branch. Requires project.read.
branchPolicyCollectionList the merge policies of a project, which set the approvals and reviewers a branch needs. Requires project.read.
branchApprovalCollectionList a branch's approvals, including dismissed ones with their dismissal fields. Requires project.read.
branchStatusCheckCollectionList the status checks reported for a branch. Requires project.read.
branchRead one branch by ID, with its status, version and base branch. Requires project.read.
branchMergePreviewShow the file-by-file changes a merge would apply, with conflict regions and contents. Requires project.read.
branchMergeEligibilityCheck policies, approvals and status checks to say whether a branch can merge now. Requires project.read.
cacheEntriesList cache entries, optionally by glob pattern, as REST GET /projects/{project_reference}/cache/entries. Requires project.cache.read.
cacheEntryRead one cache entry, as REST GET /projects/{project_reference}/cache/entries/{key}. A miss returns found=false. Requires project.cache.read.
projectDependencyHistoryReturn dependency history. Requires project.files.read.
slackChannelsList slack channels. Requires project.channels.read.
channelsList a project's channels. Requires project.channels.read.
channelReturn a channel binding. Requires project.channels.read.
channelAgentsList runtime target agents. Requires project.channels.read.
listDeploymentsList deployments. Requires project.deployments.read.
getDeploymentGet a deployment. Requires project.deployments.read.
deploymentsList deployments. Requires project.deployments.read.
deploymentGet a deployment. Requires project.deployments.read.
domainsList environment domains. Requires project.read.
domainGet a custom domain. Requires project.read.
evalsList the evals defined in the source of a project, a branch or an environment to find an eval to run or edit; returns every eval as one page with the source files that could not be read as evals. Requires project.evals.read.
evalRead one eval definition by its ID to inspect its target, dataset, metrics and the fields that can be edited; returns the eval. Requires project.evals.read.
evalSourceRead the editable source behind one eval before changing it; returns the eval source document with its source text, edit mode and the reasons it can only be edited as source. Requires project.evals.read.
projectEvalRunsList the runs of one eval, newest first by default, to follow their status or pick a run to inspect; returns one page of eval runs. Requires project.evals.read.
projectEvalRunsConnectionList the runs of one eval, newest first by default, to follow their status or pick a run to inspect; returns one page of eval runs. Requires project.evals.read.
projectEvalRunRead one run of an eval to follow its status or read its result summary; returns the eval run. Requires project.evals.read.
projectEvalRunReportRead the report of a finished eval run to inspect every example and metric result; returns the report document, or a conflict while the report is not written yet. Requires project.evals.read.
errorTypesList API error types.
errorTypeGet an API error type.
fileVersionsList file versions. Requires project.files.read.
fileVersionReturn file version. Requires project.files.read.
fileDiffReturn file diff. Requires project.files.read.
filesList the files.
fileReturn a file. Requires project.files.read.
fileContentsReturn the files at the given paths. Requires project.files.read.
fileTextSearchSearch file text. Requires project.files.read.
projectIntegrationsList project integrations. Requires project.integrations.read.
connectionsList connections across projects.
projectConnectionsList the connections. Requires project.integrations.read.
integrationReadinessCheck whether one integration tool can run now in a project, before a run or to explain why a run was blocked; returns the selected connection, its state and the local blockers from stored metadata only, where a blocked or missing selection is a result and the provider is not contacted. Requires project.integrations.read.
projectIntegrationRead the settings of a project for one integration to show or check its scope, allowed tools, configuration, execution mode and connection counts; returns the project integration, with configured false and the defaults when no settings are stored. Requires project.integrations.read.
integrationToolsList the integration tools the caller can run in a project to discover tool names and input schemas before a run; returns the complete list in one response when no limit or cursor is sent, or one page with total and page information otherwise.
salesforceObjectFieldsList the fields of one Salesforce object in the org connected to a project to map or filter its data; returns every field the connected user can see, or one page when a limit or cursor is sent. Requires project.integrations.read.
integrationsList the integrations.
integrationReturn an integration.
salesforceObjectsList the objects of the Salesforce org connected to a project to choose the objects an integration may access; returns every object the connected user can see, or one page when a limit or cursor is sent. Requires project.integrations.read.
knowledgeSearchSearch knowledge files.
knowledgeCatalogList knowledge files.
knowledgeGraphGet knowledge graph.
retrievalDocumentsList retrieval documents. Requires project.knowledge.read.
projectMembersLists everyone with access to the project (its members and the owning account's owners and admins, each once under their higher grant) with role, source and resolved capabilities, one page at a time by user ID cursor. Requires project.members.read.
projectMemberReturns one member of the project with role, capabilities and the read-only AI budget projection. Requires project.members.read.
projectInvitationsList the invitations. Requires project.invites.read.
projectInvitationReturn an invitation. Requires project.invites.read.
invitationsList invitations across projects.
connectionStatusReturn connection status. Requires project.integrations.read.
accessibleAgentsList agents across projects.
agentCollectionList agents. Requires project.agents.read.
agentGet agent card. Requires project.agents.read.
agentSourceGet agent source. Requires project.agents.read.
agentTemplatesList agent templates.
promptsList the prompts defined in the source of a project, a branch or an environment to find one to use or edit; returns every prompt with the source files that could not be read as prompts. Requires project.agents.read.
promptRead one prompt by its ID to inspect its name and description; returns the prompt. Requires project.agents.read.
promptSourceRead the editable source behind one prompt before changing it; returns the prompt with its content, source text, edit mode and the reasons it can only be edited as source. Requires project.agents.read.
toolsList tools. Requires project.agents.read.
toolRead one project tool by its ID to inspect its input and output schemas; returns the tool. Requires project.agents.read.
toolSourceRead the editable source behind one project tool before changing it; returns the tool with its source text, edit mode and the reasons it can only be edited as source. Requires project.agents.read.
projectResourcesPageList the project resources defined in the source of a project, a branch or an environment to find one to read or edit; returns every project resource with the source files that could not be read. Requires project.resources.read.
projectResourcesDiscoveryList project resources with diagnostics. Requires project.resources.read.
projectResourceRead one project resource by its ID to inspect its URI pattern, title and description; returns the project resource. Requires project.resources.read.
projectResourceSourceRead the editable source behind one project resource before changing it; returns the project resource with its source text, edit mode and the reasons it can only be edited as source. Requires project.resources.read.
tasksList the tasks defined in the source of a project, a branch or an environment to find a task to run, schedule or edit; returns every task as one page with the source files that could not be read as tasks. Requires project.runs.read.
taskRead one task definition by its ID to inspect its target, input and output schemas and whether it can be scheduled; returns the task. Requires project.runs.read.
taskSourceRead the editable source behind one task before changing it; returns the task source document with its source text, edit mode and the reasons it can only be edited as source. Requires project.runs.read.
workflowsList the workflows defined in the source of a project, a branch or an environment to find a workflow to run, schedule or edit; returns every workflow as one page with the source files that could not be read as workflows. Requires project.runs.read.
workflowRead one workflow definition by its ID to inspect its target, version, input and output schemas and whether it can be scheduled; returns the workflow. Requires project.runs.read.
workflowSourceRead the editable source behind one workflow before changing it; returns the workflow source document with its source text, edit mode and the reasons it can only be edited as source. Requires project.runs.read.
skillsList the skills defined in the source of a project, a branch or an environment to find one to assign or edit; returns every skill with the source files that could not be read as skills. Requires project.agents.read.
skillRead one skill by its ID to inspect its description and the tools it may call; returns the skill. Requires project.agents.read.
skillSourceRead the editable source behind one skill before changing it; returns the skill with its instructions, source text, edit mode and the reasons it can only be edited as source. Requires project.agents.read.
agentLabelsList agent labels. Requires project.agents.read.
projectCapabilitiesGet project capabilities. Requires project.agents.read.
agentCapabilitiesGet agent capabilities. Requires project.agents.read.
agentToolReferencesReturns compact schema-free metadata; use exact returned names in tool_ids, never provider_tool_ids. Requires project.agents.write.
projectDefinitionLookupSearch project source definitions by ID or display name.
currentUserReturn the profile of the signed-in user; GraphQL and MCP also return the profile of the user who owns an API key.
projectLabelsList project labels. Requires project.read.
projectCollaborationGet available seats. Requires project.read.
projectReturn a project. Requires project.read.
projectByDomainFind a project by domain. Requires project.read.
projectsList the projects.
environmentsPageList environments. Requires project.read.
projectToolAccessProfileReturn tool access profile. Requires project.read.
environmentGet an environment. Requires project.read.
environmentVariablesList the variables of an environment, with masked values. Requires project.read.
environmentVariableGet the masked metadata of one environment variable. Requires project.read.
getReleaseGet a release. Requires project.releases.read.
listReleasesList releases. Requires project.releases.read.
getLatestReleaseGet the latest release. Requires project.releases.read.
releasesList releases. Requires project.releases.read.
releaseGet a release. Requires project.releases.read.
releaseFilesList release files. Requires project.read.
releaseFileReturn release file. Requires project.read.
accountUsageWarningsGet account usage warnings. Requires account.billing.read.
usageRead what an account has used of each plan quota in the current billing period, with its tier, project count, credits spent and warnings; returns usage where a total of -1 means unlimited. Requires account.billing.read.
usageSeriesChart one usage metric of an account by day, optionally for one project; returns the daily series with a total and a per-project breakdown. Requires account.billing.read.
creditUsageBreak the credit spend of an account down by day, project and model, optionally for one project; returns the series with token counts per model. Requires account.billing.read.
conversationAnalyticsSummarize the conversation activity and model use in the projects of an account, optionally for one project or label; returns totals, configurable time buckets and recent conversations, with private titles limited to participants. Requires account.billing.read.
subscriptionRead the plan, billing cycle, seats and add-ons of an account before changing or cancelling its subscription; returns the subscription with its seat usage. Requires account.billing.read.
projectTemplatesList the curated project templates, the starter projects a new project is created from, to offer a choice; returns one page of project templates, where REST needs no credentials and returns every curated template and GraphQL requires a signed-in user and returns the public templates and the templates the user is a member of.
projectTemplateSearchFind the project template that best fits a description of what the user wants to build, ranked by a model; requires a signed-in user on every surface and returns the match with its confidence and reasoning.
uploadsList the uploads the caller can see under an optional folder prefix, newest first by default, with the visible folders in a separate list. Requires project.uploads.read.
uploadReturn one upload's metadata by UUID or project-relative path. Requires project.uploads.read.
uploadDownloadUrlReturn a temporary signed URL that downloads an upload's bytes, with its expiry time. Requires project.uploads.read.
uploadGrantsList every user grant on the upload or folder that governs a path, with the target that was resolved. Requires project.uploads.admin.
draftFilesList draft files. Requires project.files.read.
draftContentReturn draft content. Requires project.files.read.
projectFavoritesLists the caller's favorite records, newest first, each with the project it points to or null when the caller can no longer read it.
projectFavoriteStatusReturns whether the caller has favorited the project, as is_favorite. Requires project.read.
semanticSearchFilesSearch files by vector. Requires project.knowledge.read.
listFileChunksList file chunks. Requires project.knowledge.read.
getFileChunkReturn file chunk. Requires project.knowledge.read.
serversList servers: REST lists your servers, or one project's with project_reference; GraphQL and MCP list the servers of one project. Requires project.read.
serverGet a server. Requires project.read.
externalFilesList external files. Requires project.integrations.read.
externalFileReturn external file. Requires project.integrations.read.
externalFileContentRead external file content. Requires project.integrations.read.
sandboxGet a sandbox. Requires project.sandboxes.manage.
sandboxBackgroundCommandsList background commands. Requires project.sandboxes.manage.
sandboxBackgroundCommandGet a background command. Requires project.sandboxes.manage.
sandboxBackgroundCommandOutputGet background command output. Requires project.sandboxes.manage.
sandboxCapabilitiesGet sandbox creation options and API limits, using caller eligibility for a selected billing project or legacy platform discovery when omitted.
sandboxesList sandboxes.
sandboxHealthCheck sandbox health. Requires project.sandboxes.manage.
sandboxReadinessCheck sandbox readiness. Requires project.sandboxes.manage.
sandboxFilesList sandbox files. Requires project.sandboxes.manage.
sandboxFileRead sandbox file. Requires project.sandboxes.manage.
sandboxEnvironmentGet the sandbox environment. Requires project.sandboxes.manage.
schedulesList the schedules stored for a project, newest first, to find a schedule or check its state and last runs; returns one page of schedules. Requires project.runs.read.
scheduleRead one schedule by its ID to inspect its target, cron expression, runtime target, state and last failure; returns the schedule. Requires project.runs.read.
sourceSchedulesList the schedules declared in the source files of a project, a branch or an environment to see what can be activated; returns every declared schedule as one page with the discovery diagnostics. Requires project.runs.read.
webhooksList the webhooks stored for a project, newest first, to find a webhook or its public URL; returns one page of webhooks, or every webhook when neither a limit nor a cursor is sent. Requires project.agents.read.
sourceWebhooksList the webhooks declared in the source files of a project, a branch or an environment to see what a deployment creates; returns the declared webhooks, the discovery diagnostics and the source files that could not be read, without pagination. Requires project.agents.read.
webhookRead one webhook by its ID to inspect its target, prompt template, event filter and status; returns the webhook with its public URL and never its secret. Requires project.agents.read.
webhookEventsList the events a webhook received, newest first, to check deliveries, manual runs and replays; returns one page of webhook events, each with the run it started, if any, and an event that the filter stopped has the status ignored. Requires project.agents.read.
projectLogsList project log entries. Requires project.logs.read.
projectAlertsList project alerts. Requires project.logs.read.
projectMetricsQuery project metrics. Requires project.metrics.read.
projectTracesQuery project traces. Requires project.logs.read.
projectTraceGet a trace. Requires project.logs.read.
projectTraceSpansList trace spans. Requires project.logs.read.
conversationGet one conversation before rendering a thread or to check its status, title and project; returns the conversation with its participants and its current branch head.
conversationsList the conversations the caller can read, newest activity first, to build a conversation picker or to find a conversation of a project; returns one page of conversations, filtered by project reference and paged with the returned cursor until it is null.
activeAgentRunReturn the active run.
agentRunReturn an agent run.
agentRunsList conversation agent runs.
childAgentRunsList child agent runs.
childAgentRunsConnectionList child agent runs.
childAgentRunsByParentConversationList child agent runs.
conversationMessageGet one message of a conversation to refresh a single message, for example after streaming finishes; returns the message.
conversationMessageBranchesList the child messages of a message, oldest first, which are the alternative continuations that start at it; to show the alternatives to an edited message, list the children of the parent of that message.
conversationReadStateGet the read cursor and the unread count of the caller for a conversation to show unread badges; returns the last read message and the number of unread messages.