Get agent capabilities

agentCapabilities(input: ProjectAgentInput!): ProjectAgentCapabilities!

Requires project.agents.read.

Arguments

ArgumentTypeRequired
inputProjectAgentInput!Yes

Input fields

input

ProjectAgentInput

FieldTypeRequired
projectReferenceStringNo
agentIdString!Yes
sourceTargetKindStringNo
runtimeTargetKindStringNo
targetEnvironmentIdIDNo
targetBranchIdIDNo

Response

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

FieldType
agentJSON!
resolvedCapabilitiesJSON!

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

Example

graphql
query AgentCapabilities($input: ProjectAgentInput!) {
  agentCapabilities(input: $input) {
    agent
    resolvedCapabilities
  }
}
json
{
  "input": {
    "projectReference": "00000000-0000-4000-8000-000000000001",
    "agentId": "00000000-0000-4000-8000-000000000001"
  }
}