SDK for PHP V3

Client: Aws\DevOpsAgent\DevOpsAgentClient
Service ID: devops-agent
Version: 2026-01-01

This page describes the parameters and results for the operations of the AWS DevOps Agent Service (2026-01-01), and shows how to use the Aws\DevOpsAgent\DevOpsAgentClient object to call the described operations. This documentation is specific to the 2026-01-01 API version of the service.

Operation Summary

Each of the following operations can be created from a client using $client->getCommand('CommandName'), where "CommandName" is the name of one of the following operations. Note: a command is a value that encapsulates an operation and the parameters used to create an HTTP request.

You can also create and send a command immediately using the magic methods available on a client object: $client->commandName(/* parameters */). You can send the command asynchronously (returning a promise) by appending the word "Async" to the operation name: $client->commandNameAsync(/* parameters */).

AllowVendedLogDeliveryForResource ( array $params = [] )
Authorize Ingestion Hub subscription operation.
AssociateService ( array $params = [] )
Adds a specific service association to an AgentSpace.
CreateAgentSpace ( array $params = [] )
Creates a new AgentSpace with the specified name and description.
CreateBacklogTask ( array $params = [] )
Creates a new backlog task in the specified agent space
CreateChat ( array $params = [] )
Creates a new chat execution in the specified agent space
CreatePrivateConnection ( array $params = [] )
Creates a Private Connection to a target resource.
DeleteAgentSpace ( array $params = [] )
Deletes an AgentSpace.
DeletePrivateConnection ( array $params = [] )
Deletes a Private Connection.
DeregisterService ( array $params = [] )
Deregister a service
DescribePrivateConnection ( array $params = [] )
Retrieves details of an existing Private Connection.
DescribeSupportLevel ( array $params = [] )
Describe the support level of a CloudSmith customer account.
DisableOperatorApp ( array $params = [] )
Disable the Operator App for the specified AgentSpace
DisassociateService ( array $params = [] )
Deletes a specific service association from an AgentSpace.
EnableOperatorApp ( array $params = [] )
Enable the Operator App to access the given AgentSpace
EndChatForCase ( array $params = [] )
End a chat session for a support case in the specified agent space
GetAccountUsage ( array $params = [] )
Retrieves monthly account usage metrics and limits for the AWS account.
GetAgentSpace ( array $params = [] )
Retrieves detailed information about a specific AgentSpace.
GetAssociation ( array $params = [] )
Retrieves given associations configured for a specific AgentSpace.
GetBacklogTask ( array $params = [] )
Gets a backlog task for the specified agent space and task id
GetOperatorApp ( array $params = [] )
Get the full auth configuration of operator including any enabled auth flow
GetRecommendation ( array $params = [] )
Retrieves a specific recommendation by its ID
GetService ( array $params = [] )
Retrieves given service by it's unique identifier
InitiateChatForCase ( array $params = [] )
Initiate a chat for support case in the specified agent space
ListAgentSpaces ( array $params = [] )
Lists all AgentSpaces with optional pagination.
ListAssociations ( array $params = [] )
List all associations for given AgentSpace
ListBacklogTasks ( array $params = [] )
Lists backlog tasks in the specified agent space with optional filtering and sorting
ListChats ( array $params = [] )
Retrieves a paginated list of the user's recent chat executions
ListExecutions ( array $params = [] )
List executions
ListGoals ( array $params = [] )
Lists goals in the specified agent space with optional filtering
ListJournalRecords ( array $params = [] )
List journal records for a specific execution
ListPendingMessages ( array $params = [] )
List pending messages for a specific execution.
ListPrivateConnections ( array $params = [] )
Lists all Private Connections in the caller's account.
ListRecommendations ( array $params = [] )
Lists recommendations for the specified agent space
ListServices ( array $params = [] )
List a list of registered service on the account level.
ListTagsForResource ( array $params = [] )
Lists tags for the specified AWS DevOps Agent resource.
ListWebhooks ( array $params = [] )
List all webhooks for given Association
RegisterService ( array $params = [] )
This operation registers the specified service
SendMessage ( array $params = [] )
Sends a chat message and streams the response for the specified agent space execution
TagResource ( array $params = [] )
Adds or overwrites tags for the specified AWS DevOps Agent resource.
UntagResource ( array $params = [] )
Removes tags from the specified AWS DevOps Agent resource.
UpdateAgentSpace ( array $params = [] )
Updates the information of an existing AgentSpace.
UpdateAssociation ( array $params = [] )
Partially updates the configuration of an existing service association for an AgentSpace.
UpdateBacklogTask ( array $params = [] )
Update an existing backlog task.
UpdateGoal ( array $params = [] )
Update an existing goal
UpdateOperatorAppIdpConfig ( array $params = [] )
Update the external Identity Provider configuration for the Operator App
UpdatePrivateConnectionCertificate ( array $params = [] )
Updates the certificate associated with a Private Connection.
UpdateRecommendation ( array $params = [] )
Updates an existing recommendation with new content, status, or metadata
ValidateAwsAssociations ( array $params = [] )
Validates an aws association and set status and returns a 204 No Content response on success.

Paginators

Paginators handle automatically iterating over paginated API results. Paginators are associated with specific API operations, and they accept the parameters that the corresponding API operation accepts. You can get a paginator from a client class using getPaginator($paginatorName, $operationParameters). This client supports the following paginators:

ListAgentSpaces
ListAssociations
ListBacklogTasks
ListExecutions
ListGoals
ListJournalRecords
ListServices

Operations

AllowVendedLogDeliveryForResource

$result = $client->allowVendedLogDeliveryForResource([/* ... */]);
$promise = $client->allowVendedLogDeliveryForResourceAsync([/* ... */]);

Authorize Ingestion Hub subscription operation. Looks to see if the derived accountId from FAS has an AgentSpace.

Parameter Syntax

$result = $client->allowVendedLogDeliveryForResource([
    'deliverySourceArn' => '<string>', // REQUIRED
    'logType' => '<string>',
    'resourceArnBeingAuthorized' => '<string>', // REQUIRED
]);

Parameter Details

Members
deliverySourceArn
Required: Yes
Type: string

The ARN of the delivery source for vended log delivery.

logType
Type: string

The type of log to be delivered.

resourceArnBeingAuthorized
Required: Yes
Type: string

The ARN of the resource being authorized for vended log delivery.

Result Syntax

[
    'message' => '<string>',
]

Result Details

Members
message
Type: string

A message describing the result of the authorization operation.

Errors

ContentSizeExceededException:

This exception is thrown when the content size exceeds the allowed limit.

ServiceQuotaExceededException:

The request would exceed the service quota limit.

ConflictException:

The request conflicts with the current state of the resource.

InternalServerException:

This exception is thrown when an unexpected error occurs in the processing of a request.

AccessDeniedException:

Access to the requested resource is denied due to insufficient permissions.

ThrottlingException:

The request was throttled due to too many requests. Please slow down and try again.

ResourceNotFoundException:

The requested resource could not be found.

InvalidParameterException:

One or more parameters provided in the request are invalid.

AssociateService

$result = $client->associateService([/* ... */]);
$promise = $client->associateServiceAsync([/* ... */]);

Adds a specific service association to an AgentSpace. It overwrites the existing association of the same service. Returns 201 Created on success.

Parameter Syntax

$result = $client->associateService([
    'agentSpaceId' => '<string>', // REQUIRED
    'configuration' => [ // REQUIRED
        'aws' => [
            'accountId' => '<string>', // REQUIRED
            'accountType' => 'monitor', // REQUIRED
            'assumableRoleArn' => '<string>', // REQUIRED
        ],
        'azure' => [
            'subscriptionId' => '<string>', // REQUIRED
        ],
        'azuredevops' => [
            'organizationName' => '<string>', // REQUIRED
            'projectId' => '<string>', // REQUIRED
            'projectName' => '<string>', // REQUIRED
        ],
        'dynatrace' => [
            'envId' => '<string>', // REQUIRED
            'resources' => ['<string>', ...],
        ],
        'eventChannel' => [
        ],
        'github' => [
            'instanceIdentifier' => '<string>',
            'owner' => '<string>', // REQUIRED
            'ownerType' => 'organization|user', // REQUIRED
            'repoId' => '<string>', // REQUIRED
            'repoName' => '<string>', // REQUIRED
        ],
        'gitlab' => [
            'instanceIdentifier' => '<string>',
            'projectId' => '<string>', // REQUIRED
            'projectPath' => '<string>', // REQUIRED
        ],
        'mcpservergrafana' => [
            'endpoint' => '<string>', // REQUIRED
            'organizationId' => '<string>',
            'tools' => ['<string>', ...],
        ],
        'mcpservernewrelic' => [
            'accountId' => '<string>', // REQUIRED
            'endpoint' => '<string>', // REQUIRED
        ],
        'msteams' => [
            'teamId' => '<string>', // REQUIRED
            'teamName' => '<string>', // REQUIRED
            'transmissionTarget' => [ // REQUIRED
                'opsOncallTarget' => [
                    'channelId' => '<string>', // REQUIRED
                    'channelName' => '<string>', // REQUIRED
                ],
                'opsSRETarget' => [
                    'channelId' => '<string>', // REQUIRED
                    'channelName' => '<string>', // REQUIRED
                ],
            ],
        ],
        'pagerduty' => [
            'customerEmail' => '<string>', // REQUIRED
            'services' => ['<string>', ...], // REQUIRED
        ],
        'servicenow' => [
            'authScopes' => ['<string>', ...],
            'instanceId' => '<string>',
        ],
        'slack' => [
            'transmissionTarget' => [ // REQUIRED
                'opsOncallTarget' => [ // REQUIRED
                    'channelId' => '<string>', // REQUIRED
                    'channelName' => '<string>',
                ],
                'opsSRETarget' => [
                    'channelId' => '<string>', // REQUIRED
                    'channelName' => '<string>',
                ],
            ],
            'workspaceId' => '<string>', // REQUIRED
            'workspaceName' => '<string>', // REQUIRED
        ],
        'sourceAws' => [
            'accountId' => '<string>', // REQUIRED
            'accountType' => 'source', // REQUIRED
            'assumableRoleArn' => '<string>', // REQUIRED
            'externalId' => '<string>',
        ],
    ],
    'serviceId' => '<string>', // REQUIRED
]);

Parameter Details

Members
agentSpaceId
Required: Yes
Type: string

The unique identifier of the AgentSpace

configuration
Required: Yes
Type: ServiceConfiguration structure

The configuration that directs how AgentSpace interacts with the given service.

serviceId
Required: Yes
Type: string

The unique identifier of the service.

Result Syntax

[
    'association' => [
        'agentSpaceId' => '<string>',
        'associationId' => '<string>',
        'configuration' => [
            'aws' => [
                'accountId' => '<string>',
                'accountType' => 'monitor',
                'assumableRoleArn' => '<string>',
            ],
            'azure' => [
                'subscriptionId' => '<string>',
            ],
            'azuredevops' => [
                'organizationName' => '<string>',
                'projectId' => '<string>',
                'projectName' => '<string>',
            ],
            'dynatrace' => [
                'envId' => '<string>',
                'resources' => ['<string>', ...],
            ],
            'eventChannel' => [
            ],
            'github' => [
                'instanceIdentifier' => '<string>',
                'owner' => '<string>',
                'ownerType' => 'organization|user',
                'repoId' => '<string>',
                'repoName' => '<string>',
            ],
            'gitlab' => [
                'instanceIdentifier' => '<string>',
                'projectId' => '<string>',
                'projectPath' => '<string>',
            ],
            'mcpservergrafana' => [
                'endpoint' => '<string>',
                'organizationId' => '<string>',
                'tools' => ['<string>', ...],
            ],
            'mcpservernewrelic' => [
                'accountId' => '<string>',
                'endpoint' => '<string>',
            ],
            'msteams' => [
                'teamId' => '<string>',
                'teamName' => '<string>',
                'transmissionTarget' => [
                    'opsOncallTarget' => [
                        'channelId' => '<string>',
                        'channelName' => '<string>',
                    ],
                    'opsSRETarget' => [
                        'channelId' => '<string>',
                        'channelName' => '<string>',
                    ],
                ],
            ],
            'pagerduty' => [
                'customerEmail' => '<string>',
                'services' => ['<string>', ...],
            ],
            'servicenow' => [
                'authScopes' => ['<string>', ...],
                'instanceId' => '<string>',
            ],
            'slack' => [
                'transmissionTarget' => [
                    'opsOncallTarget' => [
                        'channelId' => '<string>',
                        'channelName' => '<string>',
                    ],
                    'opsSRETarget' => [
                        'channelId' => '<string>',
                        'channelName' => '<string>',
                    ],
                ],
                'workspaceId' => '<string>',
                'workspaceName' => '<string>',
            ],
            'sourceAws' => [
                'accountId' => '<string>',
                'accountType' => 'source',
                'assumableRoleArn' => '<string>',
                'externalId' => '<string>',
            ],
        ],
        'createdAt' => <DateTime>,
        'serviceId' => '<string>',
        'status' => 'valid|invalid|pending-confirmation',
        'updatedAt' => <DateTime>,
    ],
    'webhook' => [
        'apiKey' => '<string>',
        'webhookId' => '<string>',
        'webhookSecret' => '<string>',
        'webhookType' => 'hmac|apikey|gitlab|pagerduty',
        'webhookUrl' => '<string>',
    ],
]

Result Details

Members
association
Required: Yes
Type: Association structure

Represents a service association within an AgentSpace, defining how the agent interacts with external services.

webhook
Type: GenericWebhook structure

Generic webhook configuration

Errors

ValidationException:

A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.

ContentSizeExceededException:

This exception is thrown when the content size exceeds the allowed limit.

ServiceQuotaExceededException:

The request would exceed the service quota limit.

ConflictException:

The request conflicts with the current state of the resource.

InternalServerException:

This exception is thrown when an unexpected error occurs in the processing of a request.

AccessDeniedException:

Access to the requested resource is denied due to insufficient permissions.

ResourceNotFoundException:

The requested resource could not be found.

ThrottlingException:

The request was throttled due to too many requests. Please slow down and try again.

InvalidParameterException:

One or more parameters provided in the request are invalid.

CreateAgentSpace

$result = $client->createAgentSpace([/* ... */]);
$promise = $client->createAgentSpaceAsync([/* ... */]);

Creates a new AgentSpace with the specified name and description. Duplicate space names are allowed.

Parameter Syntax

$result = $client->createAgentSpace([
    'clientToken' => '<string>',
    'description' => '<string>',
    'kmsKeyArn' => '<string>',
    'locale' => '<string>',
    'name' => '<string>', // REQUIRED
    'tags' => ['<string>', ...],
]);

Parameter Details

Members
clientToken
Type: string

Client-provided token to ensure request idempotency. When the same token is provided in subsequent calls, the same response is returned within a 8-hour window.

description
Type: string

The description of the AgentSpace.

kmsKeyArn
Type: string

The ARN of the AWS Key Management Service (AWS KMS) customer managed key that's used to encrypt resources.

locale
Type: string

The locale for the AgentSpace, which determines the language used in agent responses.

name
Required: Yes
Type: string

The name of the AgentSpace.

tags
Type: Associative array of custom strings keys (TagKey) to strings

Tags to add to the AgentSpace at creation time.

Result Syntax

[
    'agentSpace' => [
        'agentSpaceId' => '<string>',
        'createdAt' => <DateTime>,
        'description' => '<string>',
        'kmsKeyArn' => '<string>',
        'locale' => '<string>',
        'name' => '<string>',
        'updatedAt' => <DateTime>,
    ],
    'tags' => ['<string>', ...],
]

Result Details

Members
agentSpace
Required: Yes
Type: AgentSpace structure

Represents a complete AgentSpace with all its properties, timestamps, encryption settings, and unique identifier.

tags
Type: Associative array of custom strings keys (TagKey) to strings

Tags associated with the created AgentSpace.

Errors

ValidationException:

A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.

ContentSizeExceededException:

This exception is thrown when the content size exceeds the allowed limit.

ServiceQuotaExceededException:

The request would exceed the service quota limit.

ConflictException:

The request conflicts with the current state of the resource.

InternalServerException:

This exception is thrown when an unexpected error occurs in the processing of a request.

AccessDeniedException:

Access to the requested resource is denied due to insufficient permissions.

ThrottlingException:

The request was throttled due to too many requests. Please slow down and try again.

InvalidParameterException:

One or more parameters provided in the request are invalid.

ResourceNotFoundException:

The requested resource could not be found.

CreateBacklogTask

$result = $client->createBacklogTask([/* ... */]);
$promise = $client->createBacklogTaskAsync([/* ... */]);

Creates a new backlog task in the specified agent space

Parameter Syntax

$result = $client->createBacklogTask([
    'agentSpaceId' => '<string>', // REQUIRED
    'clientToken' => '<string>',
    'description' => '<string>',
    'priority' => 'CRITICAL|HIGH|MEDIUM|LOW|MINIMAL', // REQUIRED
    'reference' => [
        'associationId' => '<string>', // REQUIRED
        'referenceId' => '<string>', // REQUIRED
        'referenceUrl' => '<string>', // REQUIRED
        'system' => '<string>', // REQUIRED
        'title' => '<string>',
    ],
    'taskType' => 'INVESTIGATION|EVALUATION', // REQUIRED
    'title' => '<string>', // REQUIRED
]);

Parameter Details

Members
agentSpaceId
Required: Yes
Type: string

The unique identifier for the agent space where the task will be created

clientToken
Type: string

Client-provided token for idempotent operations

description
Type: string

Optional detailed description of the task

priority
Required: Yes
Type: string

The priority level of the task

reference
Type: ReferenceInput structure

Optional reference information for the task

taskType
Required: Yes
Type: string

The type of task being created

title
Required: Yes
Type: string

The title of the backlog task

Result Syntax

[
    'task' => [
        'agentSpaceId' => '<string>',
        'createdAt' => <DateTime>,
        'description' => '<string>',
        'executionId' => '<string>',
        'hasLinkedTasks' => true || false,
        'metadata' => [
        ],
        'primaryTaskId' => '<string>',
        'priority' => 'CRITICAL|HIGH|MEDIUM|LOW|MINIMAL',
        'reference' => [
            'associationId' => '<string>',
            'referenceId' => '<string>',
            'referenceUrl' => '<string>',
            'system' => '<string>',
            'title' => '<string>',
        ],
        'status' => 'PENDING_TRIAGE|LINKED|PENDING_START|IN_PROGRESS|PENDING_CUSTOMER_APPROVAL|COMPLETED|FAILED|TIMED_OUT|CANCELED',
        'statusReason' => '<string>',
        'supportMetadata' => [
        ],
        'taskId' => '<string>',
        'taskType' => 'INVESTIGATION|EVALUATION',
        'title' => '<string>',
        'updatedAt' => <DateTime>,
        'version' => <integer>,
    ],
]

Result Details

Members
task
Required: Yes
Type: Task structure

The newly created task object

Errors

ValidationException:

A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.

ContentSizeExceededException:

This exception is thrown when the content size exceeds the allowed limit.

ServiceQuotaExceededException:

The request would exceed the service quota limit.

ConflictException:

The request conflicts with the current state of the resource.

InternalServerException:

This exception is thrown when an unexpected error occurs in the processing of a request.

AccessDeniedException:

Access to the requested resource is denied due to insufficient permissions.

ResourceNotFoundException:

The requested resource could not be found.

ThrottlingException:

The request was throttled due to too many requests. Please slow down and try again.

InvalidParameterException:

One or more parameters provided in the request are invalid.

CreateChat

$result = $client->createChat([/* ... */]);
$promise = $client->createChatAsync([/* ... */]);

Creates a new chat execution in the specified agent space

Parameter Syntax

$result = $client->createChat([
    'agentSpaceId' => '<string>', // REQUIRED
    'userId' => '<string>', // REQUIRED
    'userType' => 'IAM|IDC|IDP',
]);

Parameter Details

Members
agentSpaceId
Required: Yes
Type: string

Unique identifier for an agent space (allows alphanumeric characters and hyphens; 1-64 characters)

userId
Required: Yes
Type: string

The user identifier for the chat

userType
Type: string

The authentication type of the user

Result Syntax

[
    'createdAt' => <DateTime>,
    'executionId' => '<string>',
]

Result Details

Members
createdAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

Timestamp when the chat was created

executionId
Required: Yes
Type: string

The unique identifier for the created execution

Errors

ValidationException:

A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.

ContentSizeExceededException:

This exception is thrown when the content size exceeds the allowed limit.

ServiceQuotaExceededException:

The request would exceed the service quota limit.

ConflictException:

The request conflicts with the current state of the resource.

InternalServerException:

This exception is thrown when an unexpected error occurs in the processing of a request.

AccessDeniedException:

Access to the requested resource is denied due to insufficient permissions.

ResourceNotFoundException:

The requested resource could not be found.

ThrottlingException:

The request was throttled due to too many requests. Please slow down and try again.

InvalidParameterException:

One or more parameters provided in the request are invalid.

CreatePrivateConnection

$result = $client->createPrivateConnection([/* ... */]);
$promise = $client->createPrivateConnectionAsync([/* ... */]);

Creates a Private Connection to a target resource.

Parameter Syntax

$result = $client->createPrivateConnection([
    'mode' => [ // REQUIRED
        'selfManaged' => [
            'certificate' => '<string>',
            'resourceConfigurationId' => '<string>', // REQUIRED
        ],
        'serviceManaged' => [
            'certificate' => '<string>',
            'hostAddress' => '<string>', // REQUIRED
            'ipAddressType' => 'IPV4|IPV6|DUAL_STACK',
            'ipv4AddressesPerEni' => <integer>,
            'portRanges' => ['<string>', ...],
            'securityGroupIds' => ['<string>', ...],
            'subnetIds' => ['<string>', ...], // REQUIRED
            'vpcId' => '<string>', // REQUIRED
        ],
    ],
    'name' => '<string>', // REQUIRED
    'tags' => ['<string>', ...],
]);

Parameter Details

Members
mode
Required: Yes
Type: PrivateConnectionMode structure

Private Connection mode configuration.

name
Required: Yes
Type: string

Unique name for this Private Connection within the account.

tags
Type: Associative array of custom strings keys (TagKey) to strings

Tags to add to the Private Connection at creation time.

Result Syntax

[
    'certificateExpiryTime' => <DateTime>,
    'hostAddress' => '<string>',
    'name' => '<string>',
    'resourceConfigurationId' => '<string>',
    'resourceGatewayId' => '<string>',
    'status' => 'ACTIVE|CREATE_IN_PROGRESS|CREATE_FAILED|DELETE_IN_PROGRESS|DELETE_FAILED',
    'tags' => ['<string>', ...],
    'type' => 'SELF_MANAGED|SERVICE_MANAGED',
    'vpcId' => '<string>',
]

Result Details

Members
certificateExpiryTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

The expiry time of the certificate associated with the Private Connection. Only present when a certificate is associated.

hostAddress
Type: string

IP address or DNS name of the target resource. Only present for service-managed Private Connections.

name
Required: Yes
Type: string

The name of the Private Connection.

resourceConfigurationId
Type: string

The Resource Configuration ARN. Only present for self-managed Private Connections.

resourceGatewayId
Type: string

The service-managed Resource Gateway ARN. Only present for service-managed Private Connections.

status
Required: Yes
Type: string

The status of the Private Connection.

tags
Type: Associative array of custom strings keys (TagKey) to strings

Tags associated with the created Private Connection.

type
Required: Yes
Type: string

The type of the Private Connection.

vpcId
Type: string

VPC identifier of the service-managed Resource Gateway. Only present for service-managed Private Connections.

Errors

ValidationException:

A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.

ContentSizeExceededException:

This exception is thrown when the content size exceeds the allowed limit.

ServiceQuotaExceededException:

The request would exceed the service quota limit.

ConflictException:

The request conflicts with the current state of the resource.

InternalServerException:

This exception is thrown when an unexpected error occurs in the processing of a request.

AccessDeniedException:

Access to the requested resource is denied due to insufficient permissions.

ThrottlingException:

The request was throttled due to too many requests. Please slow down and try again.

ResourceNotFoundException:

The requested resource could not be found.

InvalidParameterException:

One or more parameters provided in the request are invalid.

DeleteAgentSpace

$result = $client->deleteAgentSpace([/* ... */]);
$promise = $client->deleteAgentSpaceAsync([/* ... */]);

Deletes an AgentSpace. This operation is idempotent and returns a 204 No Content response on success.

Parameter Syntax

$result = $client->deleteAgentSpace([
    'agentSpaceId' => '<string>', // REQUIRED
]);

Parameter Details

Members
agentSpaceId
Required: Yes
Type: string

The unique identifier of the AgentSpace

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

ValidationException:

A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.

ContentSizeExceededException:

This exception is thrown when the content size exceeds the allowed limit.

ServiceQuotaExceededException:

The request would exceed the service quota limit.

ConflictException:

The request conflicts with the current state of the resource.

InternalServerException:

This exception is thrown when an unexpected error occurs in the processing of a request.

AccessDeniedException:

Access to the requested resource is denied due to insufficient permissions.

ResourceNotFoundException:

The requested resource could not be found.

ThrottlingException:

The request was throttled due to too many requests. Please slow down and try again.

InvalidParameterException:

One or more parameters provided in the request are invalid.

DeletePrivateConnection

$result = $client->deletePrivateConnection([/* ... */]);
$promise = $client->deletePrivateConnectionAsync([/* ... */]);

Deletes a Private Connection. The deletion is asynchronous and returns DELETE_IN_PROGRESS status.

Parameter Syntax

$result = $client->deletePrivateConnection([
    'name' => '<string>', // REQUIRED
]);

Parameter Details

Members
name
Required: Yes
Type: string

The name of the Private Connection.

Result Syntax

[
    'name' => '<string>',
    'status' => 'ACTIVE|CREATE_IN_PROGRESS|CREATE_FAILED|DELETE_IN_PROGRESS|DELETE_FAILED',
]

Result Details

Members
name
Required: Yes
Type: string

The name of the Private Connection.

status
Required: Yes
Type: string

The status of the Private Connection.

Errors

ValidationException:

A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.

ContentSizeExceededException:

This exception is thrown when the content size exceeds the allowed limit.

ServiceQuotaExceededException:

The request would exceed the service quota limit.

ConflictException:

The request conflicts with the current state of the resource.

InternalServerException:

This exception is thrown when an unexpected error occurs in the processing of a request.

AccessDeniedException:

Access to the requested resource is denied due to insufficient permissions.

ResourceNotFoundException:

The requested resource could not be found.

ThrottlingException:

The request was throttled due to too many requests. Please slow down and try again.

InvalidParameterException:

One or more parameters provided in the request are invalid.

DeregisterService

$result = $client->deregisterService([/* ... */]);
$promise = $client->deregisterServiceAsync([/* ... */]);

Deregister a service

Parameter Syntax

$result = $client->deregisterService([
    'serviceId' => '<string>', // REQUIRED
]);

Parameter Details

Members
serviceId
Required: Yes
Type: string

The service id to deregister. A service can only be deregistered if it is not associated with any AgentSpace.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

ValidationException:

A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.

ContentSizeExceededException:

This exception is thrown when the content size exceeds the allowed limit.

ServiceQuotaExceededException:

The request would exceed the service quota limit.

ConflictException:

The request conflicts with the current state of the resource.

InternalServerException:

This exception is thrown when an unexpected error occurs in the processing of a request.

AccessDeniedException:

Access to the requested resource is denied due to insufficient permissions.

ResourceNotFoundException:

The requested resource could not be found.

ThrottlingException:

The request was throttled due to too many requests. Please slow down and try again.

InvalidParameterException:

One or more parameters provided in the request are invalid.

DescribePrivateConnection

$result = $client->describePrivateConnection([/* ... */]);
$promise = $client->describePrivateConnectionAsync([/* ... */]);

Retrieves details of an existing Private Connection.

Parameter Syntax

$result = $client->describePrivateConnection([
    'name' => '<string>', // REQUIRED
]);

Parameter Details

Members
name
Required: Yes
Type: string

The name of the Private Connection.

Result Syntax

[
    'certificateExpiryTime' => <DateTime>,
    'hostAddress' => '<string>',
    'name' => '<string>',
    'resourceConfigurationId' => '<string>',
    'resourceGatewayId' => '<string>',
    'status' => 'ACTIVE|CREATE_IN_PROGRESS|CREATE_FAILED|DELETE_IN_PROGRESS|DELETE_FAILED',
    'tags' => ['<string>', ...],
    'type' => 'SELF_MANAGED|SERVICE_MANAGED',
    'vpcId' => '<string>',
]

Result Details

Members
certificateExpiryTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

The expiry time of the certificate associated with the Private Connection. Only present when a certificate is associated.

hostAddress
Type: string

IP address or DNS name of the target resource. Only present for service-managed Private Connections.

name
Required: Yes
Type: string

The name of the Private Connection.

resourceConfigurationId
Type: string

The Resource Configuration ARN. Only present for self-managed Private Connections.

resourceGatewayId
Type: string

The service-managed Resource Gateway ARN. Only present for service-managed Private Connections.

status
Required: Yes
Type: string

The status of the Private Connection.

tags
Type: Associative array of custom strings keys (TagKey) to strings

Tags associated with the Private Connection.

type
Required: Yes
Type: string

The type of the Private Connection.

vpcId
Type: string

VPC identifier of the service-managed Resource Gateway. Only present for service-managed Private Connections.

Errors

ValidationException:

A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.

ContentSizeExceededException:

This exception is thrown when the content size exceeds the allowed limit.

ServiceQuotaExceededException:

The request would exceed the service quota limit.

ConflictException:

The request conflicts with the current state of the resource.

InternalServerException:

This exception is thrown when an unexpected error occurs in the processing of a request.

AccessDeniedException:

Access to the requested resource is denied due to insufficient permissions.

ResourceNotFoundException:

The requested resource could not be found.

ThrottlingException:

The request was throttled due to too many requests. Please slow down and try again.

InvalidParameterException:

One or more parameters provided in the request are invalid.

DescribeSupportLevel

$result = $client->describeSupportLevel([/* ... */]);
$promise = $client->describeSupportLevelAsync([/* ... */]);

Describe the support level of a CloudSmith customer account.

Parameter Syntax

$result = $client->describeSupportLevel([
    'agentSpaceId' => '<string>', // REQUIRED
    'taskId' => '<string>', // REQUIRED
]);

Parameter Details

Members
agentSpaceId
Required: Yes
Type: string

The unique identifier for the agent space containing the task

taskId
Required: Yes
Type: string

The unique identifier for this task

Result Syntax

[
    'activeSubscription' => true || false,
    'mosaicSupportLevel' => [
        'code' => '<string>',
        'name' => '<string>',
    ],
    'supportLevel' => [
        'code' => '<string>',
        'name' => '<string>',
    ],
]

Result Details

Members
activeSubscription
Type: boolean

Whether or not the account's subscription is active

mosaicSupportLevel
Type: SupportLevel structure

The account's Mosaic equivalent support level

supportLevel
Required: Yes
Type: SupportLevel structure

The account's support level

Errors

ValidationException:

A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.

ContentSizeExceededException:

This exception is thrown when the content size exceeds the allowed limit.

ServiceQuotaExceededException:

The request would exceed the service quota limit.

ConflictException:

The request conflicts with the current state of the resource.

InternalServerException:

This exception is thrown when an unexpected error occurs in the processing of a request.

AccessDeniedException:

Access to the requested resource is denied due to insufficient permissions.

ResourceNotFoundException:

The requested resource could not be found.

ThrottlingException:

The request was throttled due to too many requests. Please slow down and try again.

InvalidParameterException:

One or more parameters provided in the request are invalid.

DisableOperatorApp

$result = $client->disableOperatorApp([/* ... */]);
$promise = $client->disableOperatorAppAsync([/* ... */]);

Disable the Operator App for the specified AgentSpace

Parameter Syntax

$result = $client->disableOperatorApp([
    'agentSpaceId' => '<string>', // REQUIRED
    'authFlow' => 'iam|idc|idp',
]);

Parameter Details

Members
agentSpaceId
Required: Yes
Type: string

The unique identifier of the AgentSpace

authFlow
Type: string

The authentication flow configured for the operator App. e.g. idc

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

ValidationException:

A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.

IdentityCenterServiceException:

Calls to the customer Identity Center have failed

ContentSizeExceededException:

This exception is thrown when the content size exceeds the allowed limit.

ServiceQuotaExceededException:

The request would exceed the service quota limit.

ConflictException:

The request conflicts with the current state of the resource.

InternalServerException:

This exception is thrown when an unexpected error occurs in the processing of a request.

AccessDeniedException:

Access to the requested resource is denied due to insufficient permissions.

ThrottlingException:

The request was throttled due to too many requests. Please slow down and try again.

ResourceNotFoundException:

The requested resource could not be found.

InvalidParameterException:

One or more parameters provided in the request are invalid.

DisassociateService

$result = $client->disassociateService([/* ... */]);
$promise = $client->disassociateServiceAsync([/* ... */]);

Deletes a specific service association from an AgentSpace. This operation is idempotent and returns a 204 No Content response on success.

Parameter Syntax

$result = $client->disassociateService([
    'agentSpaceId' => '<string>', // REQUIRED
    'associationId' => '<string>', // REQUIRED
]);

Parameter Details

Members
agentSpaceId
Required: Yes
Type: string

The unique identifier of the AgentSpace

associationId
Required: Yes
Type: string

The unique identifier of the given association.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

ValidationException:

A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.

ContentSizeExceededException:

This exception is thrown when the content size exceeds the allowed limit.

ServiceQuotaExceededException:

The request would exceed the service quota limit.

ConflictException:

The request conflicts with the current state of the resource.

InternalServerException:

This exception is thrown when an unexpected error occurs in the processing of a request.

AccessDeniedException:

Access to the requested resource is denied due to insufficient permissions.

ResourceNotFoundException:

The requested resource could not be found.

ThrottlingException:

The request was throttled due to too many requests. Please slow down and try again.

InvalidParameterException:

One or more parameters provided in the request are invalid.

EnableOperatorApp

$result = $client->enableOperatorApp([/* ... */]);
$promise = $client->enableOperatorAppAsync([/* ... */]);

Enable the Operator App to access the given AgentSpace

Parameter Syntax

$result = $client->enableOperatorApp([
    'agentSpaceId' => '<string>', // REQUIRED
    'authFlow' => 'iam|idc|idp', // REQUIRED
    'idcInstanceArn' => '<string>',
    'idpClientId' => '<string>',
    'idpClientSecret' => '<string>',
    'issuerUrl' => '<string>',
    'operatorAppRoleArn' => '<string>', // REQUIRED
    'provider' => '<string>',
]);

Parameter Details

Members
agentSpaceId
Required: Yes
Type: string

The unique identifier of the AgentSpace

authFlow
Required: Yes
Type: string

The authentication flow configured for the operator App. e.g. iam or idc

idcInstanceArn
Type: string

The IdC instance Arn used to create an IdC auth application

idpClientId
Type: string

The OIDC client ID for the IdP application

idpClientSecret
Type: string

The OIDC client secret for the IdP application

issuerUrl
Type: string

The OIDC issuer URL of the external Identity Provider

operatorAppRoleArn
Required: Yes
Type: string

The IAM role end users assume to access AIDevOps APIs

provider
Type: string

The Identity Provider name (e.g., Entra, Okta, Google)

Result Syntax

[
    'agentSpaceId' => '<string>',
    'iam' => [
        'createdAt' => <DateTime>,
        'operatorAppRoleArn' => '<string>',
        'updatedAt' => <DateTime>,
    ],
    'idc' => [
        'createdAt' => <DateTime>,
        'idcApplicationArn' => '<string>',
        'idcInstanceArn' => '<string>',
        'operatorAppRoleArn' => '<string>',
        'updatedAt' => <DateTime>,
    ],
    'idp' => [
        'clientId' => '<string>',
        'createdAt' => <DateTime>,
        'issuerUrl' => '<string>',
        'operatorAppRoleArn' => '<string>',
        'provider' => '<string>',
        'updatedAt' => <DateTime>,
    ],
]

Result Details

Members
agentSpaceId
Required: Yes
Type: string

The unique identifier of the AgentSpace

iam
Type: IamAuthConfiguration structure

Configuration for IAM-based authentication flow for the Operator App.

idc
Type: IdcAuthConfiguration structure

Configuration for AWS Identity Center (IdC) authentication flow for the Operator App.

idp
Type: IdpAuthConfiguration structure

Configuration for external Identity Provider OIDC authentication flow for the Operator App.

Errors

ValidationException:

A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.

IdentityCenterServiceException:

Calls to the customer Identity Center have failed

ContentSizeExceededException:

This exception is thrown when the content size exceeds the allowed limit.

ServiceQuotaExceededException:

The request would exceed the service quota limit.

ConflictException:

The request conflicts with the current state of the resource.

InternalServerException:

This exception is thrown when an unexpected error occurs in the processing of a request.

AccessDeniedException:

Access to the requested resource is denied due to insufficient permissions.

ThrottlingException:

The request was throttled due to too many requests. Please slow down and try again.

ResourceNotFoundException:

The requested resource could not be found.

InvalidParameterException:

One or more parameters provided in the request are invalid.

EndChatForCase

$result = $client->endChatForCase([/* ... */]);
$promise = $client->endChatForCaseAsync([/* ... */]);

End a chat session for a support case in the specified agent space

Parameter Syntax

$result = $client->endChatForCase([
    'agentSpaceId' => '<string>', // REQUIRED
    'clientToken' => '<string>',
    'reason' => '<string>',
    'requester' => '<string>',
    'taskId' => '<string>', // REQUIRED
]);

Parameter Details

Members
agentSpaceId
Required: Yes
Type: string

The unique identifier for the agent space containing the task

clientToken
Type: string

Client-provided token for idempotent operations

reason
Type: string

Reason for ending the chat session (optional, defaults to 'Chat Ended by CloudSmith')

requester
Type: string

Who initiated the chat end request (optional, defaults to 'CloudSmith')

taskId
Required: Yes
Type: string

The unique identifier for the task execution to end

Result Syntax

[
    'errorMessage' => '<string>',
    'executionId' => '<string>',
    'isDisconnected' => true || false,
]

Result Details

Members
errorMessage
Type: string

Error message if the disconnect failed

executionId
Type: string

The execution ID that was ended

isDisconnected
Required: Yes
Type: boolean

Whether the chat session was successfully ended

Errors

ValidationException:

A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.

ContentSizeExceededException:

This exception is thrown when the content size exceeds the allowed limit.

ServiceQuotaExceededException:

The request would exceed the service quota limit.

ConflictException:

The request conflicts with the current state of the resource.

InternalServerException:

This exception is thrown when an unexpected error occurs in the processing of a request.

AccessDeniedException:

Access to the requested resource is denied due to insufficient permissions.

ResourceNotFoundException:

The requested resource could not be found.

ThrottlingException:

The request was throttled due to too many requests. Please slow down and try again.

InvalidParameterException:

One or more parameters provided in the request are invalid.

GetAccountUsage

$result = $client->getAccountUsage([/* ... */]);
$promise = $client->getAccountUsageAsync([/* ... */]);

Retrieves monthly account usage metrics and limits for the AWS account.

Parameter Syntax

$result = $client->getAccountUsage([
]);

Parameter Details

Members

Result Syntax

[
    'monthlyAccountEvaluationHours' => [
        'limit' => <integer>,
        'usage' => <float>,
    ],
    'monthlyAccountInvestigationHours' => [
        'limit' => <integer>,
        'usage' => <float>,
    ],
    'monthlyAccountSystemLearningHours' => [
        'limit' => <integer>,
        'usage' => <float>,
    ],
    'usagePeriodEndTime' => <DateTime>,
    'usagePeriodStartTime' => <DateTime>,
]

Result Details

Members
monthlyAccountEvaluationHours
Type: UsageMetric structure

Monthly evaluation hours usage and limit for an account

monthlyAccountInvestigationHours
Type: UsageMetric structure

Monthly investigation hours usage and limit for an account

monthlyAccountSystemLearningHours
Type: UsageMetric structure

Monthly system learning hours usage and limit for an account

usagePeriodEndTime
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The end time of the usage tracking period

usagePeriodStartTime
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The start time of the usage tracking period

Errors

ValidationException:

A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.

ContentSizeExceededException:

This exception is thrown when the content size exceeds the allowed limit.

ServiceQuotaExceededException:

The request would exceed the service quota limit.

ConflictException:

The request conflicts with the current state of the resource.

InternalServerException:

This exception is thrown when an unexpected error occurs in the processing of a request.

AccessDeniedException:

Access to the requested resource is denied due to insufficient permissions.

ResourceNotFoundException:

The requested resource could not be found.

ThrottlingException:

The request was throttled due to too many requests. Please slow down and try again.

InvalidParameterException:

One or more parameters provided in the request are invalid.

GetAgentSpace

$result = $client->getAgentSpace([/* ... */]);
$promise = $client->getAgentSpaceAsync([/* ... */]);

Retrieves detailed information about a specific AgentSpace.

Parameter Syntax

$result = $client->getAgentSpace([
    'agentSpaceId' => '<string>', // REQUIRED
]);

Parameter Details

Members
agentSpaceId
Required: Yes
Type: string

The unique identifier of the AgentSpace

Result Syntax

[
    'agentSpace' => [
        'agentSpaceId' => '<string>',
        'createdAt' => <DateTime>,
        'description' => '<string>',
        'kmsKeyArn' => '<string>',
        'locale' => '<string>',
        'name' => '<string>',
        'updatedAt' => <DateTime>,
    ],
    'tags' => ['<string>', ...],
]

Result Details

Members
agentSpace
Required: Yes
Type: AgentSpace structure

Represents a complete AgentSpace with all its properties, timestamps, encryption settings, and unique identifier.

tags
Type: Associative array of custom strings keys (TagKey) to strings

Tags associated with the AgentSpace.

Errors

ValidationException:

A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.

ContentSizeExceededException:

This exception is thrown when the content size exceeds the allowed limit.

ServiceQuotaExceededException:

The request would exceed the service quota limit.

ConflictException:

The request conflicts with the current state of the resource.

InternalServerException:

This exception is thrown when an unexpected error occurs in the processing of a request.

AccessDeniedException:

Access to the requested resource is denied due to insufficient permissions.

ResourceNotFoundException:

The requested resource could not be found.

ThrottlingException:

The request was throttled due to too many requests. Please slow down and try again.

InvalidParameterException:

One or more parameters provided in the request are invalid.

GetAssociation

$result = $client->getAssociation([/* ... */]);
$promise = $client->getAssociationAsync([/* ... */]);

Retrieves given associations configured for a specific AgentSpace.

Parameter Syntax

$result = $client->getAssociation([
    'agentSpaceId' => '<string>', // REQUIRED
    'associationId' => '<string>', // REQUIRED
]);

Parameter Details

Members
agentSpaceId
Required: Yes
Type: string

The unique identifier of the AgentSpace

associationId
Required: Yes
Type: string

The unique identifier of the given association.

Result Syntax

[
    'association' => [
        'agentSpaceId' => '<string>',
        'associationId' => '<string>',
        'configuration' => [
            'aws' => [
                'accountId' => '<string>',
                'accountType' => 'monitor',
                'assumableRoleArn' => '<string>',
            ],
            'azure' => [
                'subscriptionId' => '<string>',
            ],
            'azuredevops' => [
                'organizationName' => '<string>',
                'projectId' => '<string>',
                'projectName' => '<string>',
            ],
            'dynatrace' => [
                'envId' => '<string>',
                'resources' => ['<string>', ...],
            ],
            'eventChannel' => [
            ],
            'github' => [
                'instanceIdentifier' => '<string>',
                'owner' => '<string>',
                'ownerType' => 'organization|user',
                'repoId' => '<string>',
                'repoName' => '<string>',
            ],
            'gitlab' => [
                'instanceIdentifier' => '<string>',
                'projectId' => '<string>',
                'projectPath' => '<string>',
            ],
            'mcpservergrafana' => [
                'endpoint' => '<string>',
                'organizationId' => '<string>',
                'tools' => ['<string>', ...],
            ],
            'mcpservernewrelic' => [
                'accountId' => '<string>',
                'endpoint' => '<string>',
            ],
            'msteams' => [
                'teamId' => '<string>',
                'teamName' => '<string>',
                'transmissionTarget' => [
                    'opsOncallTarget' => [
                        'channelId' => '<string>',
                        'channelName' => '<string>',
                    ],
                    'opsSRETarget' => [
                        'channelId' => '<string>',
                        'channelName' => '<string>',
                    ],
                ],
            ],
            'pagerduty' => [
                'customerEmail' => '<string>',
                'services' => ['<string>', ...],
            ],
            'servicenow' => [
                'authScopes' => ['<string>', ...],
                'instanceId' => '<string>',
            ],
            'slack' => [
                'transmissionTarget' => [
                    'opsOncallTarget' => [
                        'channelId' => '<string>',
                        'channelName' => '<string>',
                    ],
                    'opsSRETarget' => [
                        'channelId' => '<string>',
                        'channelName' => '<string>',
                    ],
                ],
                'workspaceId' => '<string>',
                'workspaceName' => '<string>',
            ],
            'sourceAws' => [
                'accountId' => '<string>',
                'accountType' => 'source',
                'assumableRoleArn' => '<string>',
                'externalId' => '<string>',
            ],
        ],
        'createdAt' => <DateTime>,
        'serviceId' => '<string>',
        'status' => 'valid|invalid|pending-confirmation',
        'updatedAt' => <DateTime>,
    ],
]

Result Details

Members
association
Required: Yes
Type: Association structure

Represents a service association within an AgentSpace, defining how the agent interacts with external services.

Errors

ValidationException:

A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.

ContentSizeExceededException:

This exception is thrown when the content size exceeds the allowed limit.

ServiceQuotaExceededException:

The request would exceed the service quota limit.

ConflictException:

The request conflicts with the current state of the resource.

InternalServerException:

This exception is thrown when an unexpected error occurs in the processing of a request.

AccessDeniedException:

Access to the requested resource is denied due to insufficient permissions.

ResourceNotFoundException:

The requested resource could not be found.

ThrottlingException:

The request was throttled due to too many requests. Please slow down and try again.

InvalidParameterException:

One or more parameters provided in the request are invalid.

GetBacklogTask

$result = $client->getBacklogTask([/* ... */]);
$promise = $client->getBacklogTaskAsync([/* ... */]);

Gets a backlog task for the specified agent space and task id

Parameter Syntax

$result = $client->getBacklogTask([
    'agentSpaceId' => '<string>', // REQUIRED
    'taskId' => '<string>', // REQUIRED
]);

Parameter Details

Members
agentSpaceId
Required: Yes
Type: string

The unique identifier for the agent space containing the task

taskId
Required: Yes
Type: string

The unique identifier of the task to retrieve

Result Syntax

[
    'task' => [
        'agentSpaceId' => '<string>',
        'createdAt' => <DateTime>,
        'description' => '<string>',
        'executionId' => '<string>',
        'hasLinkedTasks' => true || false,
        'metadata' => [
        ],
        'primaryTaskId' => '<string>',
        'priority' => 'CRITICAL|HIGH|MEDIUM|LOW|MINIMAL',
        'reference' => [
            'associationId' => '<string>',
            'referenceId' => '<string>',
            'referenceUrl' => '<string>',
            'system' => '<string>',
            'title' => '<string>',
        ],
        'status' => 'PENDING_TRIAGE|LINKED|PENDING_START|IN_PROGRESS|PENDING_CUSTOMER_APPROVAL|COMPLETED|FAILED|TIMED_OUT|CANCELED',
        'statusReason' => '<string>',
        'supportMetadata' => [
        ],
        'taskId' => '<string>',
        'taskType' => 'INVESTIGATION|EVALUATION',
        'title' => '<string>',
        'updatedAt' => <DateTime>,
        'version' => <integer>,
    ],
]

Result Details

Members
task
Required: Yes
Type: Task structure

The requested task object

Errors

ValidationException:

A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.

ContentSizeExceededException:

This exception is thrown when the content size exceeds the allowed limit.

ServiceQuotaExceededException:

The request would exceed the service quota limit.

ConflictException:

The request conflicts with the current state of the resource.

InternalServerException:

This exception is thrown when an unexpected error occurs in the processing of a request.

AccessDeniedException:

Access to the requested resource is denied due to insufficient permissions.

ResourceNotFoundException:

The requested resource could not be found.

ThrottlingException:

The request was throttled due to too many requests. Please slow down and try again.

InvalidParameterException:

One or more parameters provided in the request are invalid.

GetOperatorApp

$result = $client->getOperatorApp([/* ... */]);
$promise = $client->getOperatorAppAsync([/* ... */]);

Get the full auth configuration of operator including any enabled auth flow

Parameter Syntax

$result = $client->getOperatorApp([
    'agentSpaceId' => '<string>', // REQUIRED
]);

Parameter Details

Members
agentSpaceId
Required: Yes
Type: string

The unique identifier of the AgentSpace

Result Syntax

[
    'iam' => [
        'createdAt' => <DateTime>,
        'operatorAppRoleArn' => '<string>',
        'updatedAt' => <DateTime>,
    ],
    'idc' => [
        'createdAt' => <DateTime>,
        'idcApplicationArn' => '<string>',
        'idcInstanceArn' => '<string>',
        'operatorAppRoleArn' => '<string>',
        'updatedAt' => <DateTime>,
    ],
    'idp' => [
        'clientId' => '<string>',
        'createdAt' => <DateTime>,
        'issuerUrl' => '<string>',
        'operatorAppRoleArn' => '<string>',
        'provider' => '<string>',
        'updatedAt' => <DateTime>,
    ],
]

Result Details

Members
iam
Type: IamAuthConfiguration structure

Configuration for IAM-based authentication flow for the Operator App.

idc
Type: IdcAuthConfiguration structure

Configuration for AWS Identity Center (IdC) authentication flow for the Operator App.

idp
Type: IdpAuthConfiguration structure

Configuration for external Identity Provider OIDC authentication flow for the Operator App.

Errors

ValidationException:

A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.

ContentSizeExceededException:

This exception is thrown when the content size exceeds the allowed limit.

ServiceQuotaExceededException:

The request would exceed the service quota limit.

ConflictException:

The request conflicts with the current state of the resource.

InternalServerException:

This exception is thrown when an unexpected error occurs in the processing of a request.

AccessDeniedException:

Access to the requested resource is denied due to insufficient permissions.

ThrottlingException:

The request was throttled due to too many requests. Please slow down and try again.

ResourceNotFoundException:

The requested resource could not be found.

InvalidParameterException:

One or more parameters provided in the request are invalid.

GetRecommendation

$result = $client->getRecommendation([/* ... */]);
$promise = $client->getRecommendationAsync([/* ... */]);

Retrieves a specific recommendation by its ID

Parameter Syntax

$result = $client->getRecommendation([
    'agentSpaceId' => '<string>', // REQUIRED
    'recommendationId' => '<string>', // REQUIRED
    'recommendationVersion' => <integer>,
]);

Parameter Details

Members
agentSpaceId
Required: Yes
Type: string

The unique identifier for the agent space containing the recommendation

recommendationId
Required: Yes
Type: string

The unique identifier for the recommendation to retrieve

recommendationVersion
Type: long (int|float)

Specific version of the recommendation to retrieve. If not specified, returns the latest version.

Result Syntax

[
    'recommendation' => [
        'additionalContext' => '<string>',
        'agentSpaceArn' => '<string>',
        'content' => [
            'spec' => '<string>',
            'summary' => '<string>',
        ],
        'createdAt' => <DateTime>,
        'goalId' => '<string>',
        'goalVersion' => <integer>,
        'priority' => 'HIGH|MEDIUM|LOW',
        'recommendationId' => '<string>',
        'status' => 'PROPOSED|ACCEPTED|REJECTED|CLOSED|COMPLETED|UPDATE_IN_PROGRESS',
        'taskId' => '<string>',
        'title' => '<string>',
        'updatedAt' => <DateTime>,
        'version' => <integer>,
    ],
]

Result Details

Members
recommendation
Required: Yes
Type: Recommendation structure

The requested recommendation

Errors

ValidationException:

A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.

ContentSizeExceededException:

This exception is thrown when the content size exceeds the allowed limit.

ServiceQuotaExceededException:

The request would exceed the service quota limit.

ConflictException:

The request conflicts with the current state of the resource.

InternalServerException:

This exception is thrown when an unexpected error occurs in the processing of a request.

AccessDeniedException:

Access to the requested resource is denied due to insufficient permissions.

ResourceNotFoundException:

The requested resource could not be found.

ThrottlingException:

The request was throttled due to too many requests. Please slow down and try again.

InvalidParameterException:

One or more parameters provided in the request are invalid.

GetService

$result = $client->getService([/* ... */]);
$promise = $client->getServiceAsync([/* ... */]);

Retrieves given service by it's unique identifier

Parameter Syntax

$result = $client->getService([
    'serviceId' => '<string>', // REQUIRED
]);

Parameter Details

Members
serviceId
Required: Yes
Type: string

The unique identifier of the given service.

Result Syntax

[
    'service' => [
        'accessibleResources' => [
            [
            ],
            // ...
        ],
        'additionalServiceDetails' => [
            'azuredevops' => [
                'organizationName' => '<string>',
            ],
            'azureidentity' => [
                'clientId' => '<string>',
                'tenantId' => '<string>',
                'webIdentityRoleArn' => '<string>',
                'webIdentityTokenAudiences' => ['<string>', ...],
            ],
            'github' => [
                'owner' => '<string>',
                'ownerType' => 'organization|user',
                'targetUrl' => '<string>',
            ],
            'gitlab' => [
                'groupId' => '<string>',
                'targetUrl' => '<string>',
                'tokenType' => 'personal|group',
            ],
            'mcpserver' => [
                'apiKeyHeader' => '<string>',
                'authorizationMethod' => 'oauth-client-credentials|oauth-3lo|api-key|bearer-token',
                'description' => '<string>',
                'endpoint' => '<string>',
                'name' => '<string>',
            ],
            'mcpserverdatadog' => [
                'apiKeyHeader' => '<string>',
                'authorizationMethod' => 'oauth-client-credentials|oauth-3lo|api-key|bearer-token',
                'description' => '<string>',
                'endpoint' => '<string>',
                'name' => '<string>',
            ],
            'mcpservergrafana' => [
                'authorizationMethod' => 'oauth-client-credentials|oauth-3lo|api-key|bearer-token',
                'endpoint' => '<string>',
            ],
            'mcpservernewrelic' => [
                'accountId' => '<string>',
                'description' => '<string>',
                'region' => 'US|EU',
            ],
            'mcpserversigv4' => [
                'description' => '<string>',
                'endpoint' => '<string>',
                'name' => '<string>',
                'region' => '<string>',
                'roleArn' => '<string>',
                'service' => '<string>',
            ],
            'mcpserversplunk' => [
                'apiKeyHeader' => '<string>',
                'authorizationMethod' => 'oauth-client-credentials|oauth-3lo|api-key|bearer-token',
                'description' => '<string>',
                'endpoint' => '<string>',
                'name' => '<string>',
            ],
            'pagerduty' => [
                'scopes' => ['<string>', ...],
            ],
            'servicenow' => [
                'instanceUrl' => '<string>',
            ],
            'slack' => [
                'teamId' => '<string>',
                'teamName' => '<string>',
            ],
        ],
        'kmsKeyArn' => '<string>',
        'name' => '<string>',
        'privateConnectionName' => '<string>',
        'serviceId' => '<string>',
        'serviceType' => 'github|slack|azure|azuredevops|msteams|dynatrace|servicenow|pagerduty|gitlab|eventChannel|mcpservernewrelic|mcpservergrafana|mcpserverdatadog|mcpserver|mcpserversplunk|azureidentity|mcpserversigv4',
    ],
    'tags' => ['<string>', ...],
]

Result Details

Members
service
Required: Yes
Type: RegisteredService structure

Represents a registered service with its configuration and accessible resources.

tags
Type: Associative array of custom strings keys (TagKey) to strings

Tags associated with the Service.

Errors

ValidationException:

A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.

ContentSizeExceededException:

This exception is thrown when the content size exceeds the allowed limit.

ServiceQuotaExceededException:

The request would exceed the service quota limit.

ConflictException:

The request conflicts with the current state of the resource.

InternalServerException:

This exception is thrown when an unexpected error occurs in the processing of a request.

AccessDeniedException:

Access to the requested resource is denied due to insufficient permissions.

ResourceNotFoundException:

The requested resource could not be found.

ThrottlingException:

The request was throttled due to too many requests. Please slow down and try again.

InvalidParameterException:

One or more parameters provided in the request are invalid.

InitiateChatForCase

$result = $client->initiateChatForCase([/* ... */]);
$promise = $client->initiateChatForCaseAsync([/* ... */]);

Initiate a chat for support case in the specified agent space

Parameter Syntax

$result = $client->initiateChatForCase([
    'agentSpaceId' => '<string>', // REQUIRED
    'clientToken' => '<string>',
    'taskId' => '<string>', // REQUIRED
]);

Parameter Details

Members
agentSpaceId
Required: Yes
Type: string

The unique identifier for the agent space containing the task

clientToken
Type: string

Client-provided token for idempotent operations

taskId
Required: Yes
Type: string

The unique identifier for this task

Result Syntax

[
    'chatParticipantConnection' => [
        'initialContactId' => '<string>',
        'participantId' => '<string>',
        'participantToken' => '<string>',
    ],
]

Result Details

Members
chatParticipantConnection
Required: Yes
Type: ChatParticipantConnection structure

The newly created chat participant connection

Errors

ValidationException:

A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.

ContentSizeExceededException:

This exception is thrown when the content size exceeds the allowed limit.

ServiceQuotaExceededException:

The request would exceed the service quota limit.

ConflictException:

The request conflicts with the current state of the resource.

InternalServerException:

This exception is thrown when an unexpected error occurs in the processing of a request.

AccessDeniedException:

Access to the requested resource is denied due to insufficient permissions.

ResourceNotFoundException:

The requested resource could not be found.

ThrottlingException:

The request was throttled due to too many requests. Please slow down and try again.

InvalidParameterException:

One or more parameters provided in the request are invalid.

ListAgentSpaces

$result = $client->listAgentSpaces([/* ... */]);
$promise = $client->listAgentSpacesAsync([/* ... */]);

Lists all AgentSpaces with optional pagination.

Parameter Syntax

$result = $client->listAgentSpaces([
    'maxResults' => <integer>,
    'nextToken' => '<string>',
]);

Parameter Details

Members
maxResults
Type: int

Maximum number of results to return in a single call.

nextToken
Type: string

Token for the next page of results.

Result Syntax

[
    'agentSpaces' => [
        [
            'agentSpaceId' => '<string>',
            'createdAt' => <DateTime>,
            'description' => '<string>',
            'kmsKeyArn' => '<string>',
            'locale' => '<string>',
            'name' => '<string>',
            'updatedAt' => <DateTime>,
        ],
        // ...
    ],
    'nextToken' => '<string>',
]

Result Details

Members
agentSpaces
Required: Yes
Type: Array of AgentSpace structures

The list of AgentSpaces.

nextToken
Type: string

Token to retrieve the next page of results, if there are more results.

Errors

ValidationException:

A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.

ContentSizeExceededException:

This exception is thrown when the content size exceeds the allowed limit.

ServiceQuotaExceededException:

The request would exceed the service quota limit.

ConflictException:

The request conflicts with the current state of the resource.

InternalServerException:

This exception is thrown when an unexpected error occurs in the processing of a request.

AccessDeniedException:

Access to the requested resource is denied due to insufficient permissions.

ThrottlingException:

The request was throttled due to too many requests. Please slow down and try again.

ResourceNotFoundException:

The requested resource could not be found.

InvalidParameterException:

One or more parameters provided in the request are invalid.

ListAssociations

$result = $client->listAssociations([/* ... */]);
$promise = $client->listAssociationsAsync([/* ... */]);

List all associations for given AgentSpace

Parameter Syntax

$result = $client->listAssociations([
    'agentSpaceId' => '<string>', // REQUIRED
    'filterServiceTypes' => '<string>',
    'maxResults' => <integer>,
    'nextToken' => '<string>',
]);

Parameter Details

Members
agentSpaceId
Required: Yes
Type: string

The unique identifier of the AgentSpace

filterServiceTypes
Type: string

A comma-separated list of service types to filter list associations output

maxResults
Type: int

Maximum number of results to return in a single call.

nextToken
Type: string

Token for the next page of results.

Result Syntax

[
    'associations' => [
        [
            'agentSpaceId' => '<string>',
            'associationId' => '<string>',
            'configuration' => [
                'aws' => [
                    'accountId' => '<string>',
                    'accountType' => 'monitor',
                    'assumableRoleArn' => '<string>',
                ],
                'azure' => [
                    'subscriptionId' => '<string>',
                ],
                'azuredevops' => [
                    'organizationName' => '<string>',
                    'projectId' => '<string>',
                    'projectName' => '<string>',
                ],
                'dynatrace' => [
                    'envId' => '<string>',
                    'resources' => ['<string>', ...],
                ],
                'eventChannel' => [
                ],
                'github' => [
                    'instanceIdentifier' => '<string>',
                    'owner' => '<string>',
                    'ownerType' => 'organization|user',
                    'repoId' => '<string>',
                    'repoName' => '<string>',
                ],
                'gitlab' => [
                    'instanceIdentifier' => '<string>',
                    'projectId' => '<string>',
                    'projectPath' => '<string>',
                ],
                'mcpservergrafana' => [
                    'endpoint' => '<string>',
                    'organizationId' => '<string>',
                    'tools' => ['<string>', ...],
                ],
                'mcpservernewrelic' => [
                    'accountId' => '<string>',
                    'endpoint' => '<string>',
                ],
                'msteams' => [
                    'teamId' => '<string>',
                    'teamName' => '<string>',
                    'transmissionTarget' => [
                        'opsOncallTarget' => [
                            'channelId' => '<string>',
                            'channelName' => '<string>',
                        ],
                        'opsSRETarget' => [
                            'channelId' => '<string>',
                            'channelName' => '<string>',
                        ],
                    ],
                ],
                'pagerduty' => [
                    'customerEmail' => '<string>',
                    'services' => ['<string>', ...],
                ],
                'servicenow' => [
                    'authScopes' => ['<string>', ...],
                    'instanceId' => '<string>',
                ],
                'slack' => [
                    'transmissionTarget' => [
                        'opsOncallTarget' => [
                            'channelId' => '<string>',
                            'channelName' => '<string>',
                        ],
                        'opsSRETarget' => [
                            'channelId' => '<string>',
                            'channelName' => '<string>',
                        ],
                    ],
                    'workspaceId' => '<string>',
                    'workspaceName' => '<string>',
                ],
                'sourceAws' => [
                    'accountId' => '<string>',
                    'accountType' => 'source',
                    'assumableRoleArn' => '<string>',
                    'externalId' => '<string>',
                ],
            ],
            'createdAt' => <DateTime>,
            'serviceId' => '<string>',
            'status' => 'valid|invalid|pending-confirmation',
            'updatedAt' => <DateTime>,
        ],
        // ...
    ],
    'nextToken' => '<string>',
]

Result Details

Members
associations
Required: Yes
Type: Array of Association structures

The list of associations.

nextToken
Type: string

Token to retrieve the next page of results, if there are more results.

Errors

ValidationException:

A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.

ContentSizeExceededException:

This exception is thrown when the content size exceeds the allowed limit.

ServiceQuotaExceededException:

The request would exceed the service quota limit.

ConflictException:

The request conflicts with the current state of the resource.

InternalServerException:

This exception is thrown when an unexpected error occurs in the processing of a request.

AccessDeniedException:

Access to the requested resource is denied due to insufficient permissions.

ResourceNotFoundException:

The requested resource could not be found.

ThrottlingException:

The request was throttled due to too many requests. Please slow down and try again.

InvalidParameterException:

One or more parameters provided in the request are invalid.

ListBacklogTasks

$result = $client->listBacklogTasks([/* ... */]);
$promise = $client->listBacklogTasksAsync([/* ... */]);

Lists backlog tasks in the specified agent space with optional filtering and sorting

Parameter Syntax

$result = $client->listBacklogTasks([
    'agentSpaceId' => '<string>', // REQUIRED
    'filter' => [
        'createdAfter' => <integer || string || DateTime>,
        'createdBefore' => <integer || string || DateTime>,
        'primaryTaskId' => '<string>',
        'priority' => ['<string>', ...],
        'status' => ['<string>', ...],
        'taskType' => ['<string>', ...],
    ],
    'limit' => <integer>,
    'nextToken' => '<string>',
    'order' => 'ASC|DESC',
    'sortField' => 'CREATED_AT|PRIORITY',
]);

Parameter Details

Members
agentSpaceId
Required: Yes
Type: string

The unique identifier for the agent space containing the tasks

filter
Type: TaskFilter structure

Filter criteria to apply when listing tasks

Filtering restrictions:

  • Each filter field list is limited to a single value
  • Filtering by Priority and Status at the same time when not filtering by Type is not permitted
  • Timestamp filters (createdAfter, createdBefore) can be combined with other filters when not sorting by priority
limit
Type: int

Maximum number of tasks to return in a single response (1-1000, default: 100)

nextToken
Type: string

Token for retrieving the next page of results

order
Type: string

Sort order for the tasks based on sortField (default: DESC)

sortField
Type: string

Field to sort by

Sorting restrictions: 
  • Only sorting on createdAt is supported when using priority or status filters alone.
  • Sorting by priority is not supported when using Timestamp filters (createdAfter, createdBefore)

Result Syntax

[
    'nextToken' => '<string>',
    'tasks' => [
        [
            'agentSpaceId' => '<string>',
            'createdAt' => <DateTime>,
            'description' => '<string>',
            'executionId' => '<string>',
            'hasLinkedTasks' => true || false,
            'metadata' => [
            ],
            'primaryTaskId' => '<string>',
            'priority' => 'CRITICAL|HIGH|MEDIUM|LOW|MINIMAL',
            'reference' => [
                'associationId' => '<string>',
                'referenceId' => '<string>',
                'referenceUrl' => '<string>',
                'system' => '<string>',
                'title' => '<string>',
            ],
            'status' => 'PENDING_TRIAGE|LINKED|PENDING_START|IN_PROGRESS|PENDING_CUSTOMER_APPROVAL|COMPLETED|FAILED|TIMED_OUT|CANCELED',
            'statusReason' => '<string>',
            'supportMetadata' => [
            ],
            'taskId' => '<string>',
            'taskType' => 'INVESTIGATION|EVALUATION',
            'title' => '<string>',
            'updatedAt' => <DateTime>,
            'version' => <integer>,
        ],
        // ...
    ],
]

Result Details

Members
nextToken
Type: string

Token for retrieving the next page of results, if more results are available

tasks
Required: Yes
Type: Array of Task structures

List of backlog tasks

Errors

ValidationException:

A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.

ContentSizeExceededException:

This exception is thrown when the content size exceeds the allowed limit.

ServiceQuotaExceededException:

The request would exceed the service quota limit.

ConflictException:

The request conflicts with the current state of the resource.

InternalServerException:

This exception is thrown when an unexpected error occurs in the processing of a request.

AccessDeniedException:

Access to the requested resource is denied due to insufficient permissions.

ThrottlingException:

The request was throttled due to too many requests. Please slow down and try again.

ResourceNotFoundException:

The requested resource could not be found.

InvalidParameterException:

One or more parameters provided in the request are invalid.

ListChats

$result = $client->listChats([/* ... */]);
$promise = $client->listChatsAsync([/* ... */]);

Retrieves a paginated list of the user's recent chat executions

Parameter Syntax

$result = $client->listChats([
    'agentSpaceId' => '<string>', // REQUIRED
    'maxResults' => <integer>,
    'nextToken' => '<string>',
    'userId' => '<string>', // REQUIRED
]);

Parameter Details

Members
agentSpaceId
Required: Yes
Type: string

Unique identifier for an agent space (allows alphanumeric characters and hyphens; 1-64 characters)

maxResults
Type: int

Maximum number of results to return

nextToken
Type: string

Token for pagination

userId
Required: Yes
Type: string

The user identifier to list chats for

Result Syntax

[
    'executions' => [
        [
            'createdAt' => <DateTime>,
            'executionId' => '<string>',
            'summary' => '<string>',
            'updatedAt' => <DateTime>,
        ],
        // ...
    ],
    'nextToken' => '<string>',
]

Result Details

Members
executions
Required: Yes
Type: Array of ChatExecution structures

List of recent chat executions

nextToken
Type: string

Token for retrieving the next page of results

Errors

ValidationException:

A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.

ContentSizeExceededException:

This exception is thrown when the content size exceeds the allowed limit.

ServiceQuotaExceededException:

The request would exceed the service quota limit.

ConflictException:

The request conflicts with the current state of the resource.

InternalServerException:

This exception is thrown when an unexpected error occurs in the processing of a request.

AccessDeniedException:

Access to the requested resource is denied due to insufficient permissions.

ResourceNotFoundException:

The requested resource could not be found.

ThrottlingException:

The request was throttled due to too many requests. Please slow down and try again.

InvalidParameterException:

One or more parameters provided in the request are invalid.

ListExecutions

$result = $client->listExecutions([/* ... */]);
$promise = $client->listExecutionsAsync([/* ... */]);

List executions

Parameter Syntax

$result = $client->listExecutions([
    'agentSpaceId' => '<string>', // REQUIRED
    'limit' => <integer>,
    'nextToken' => '<string>',
    'taskId' => '<string>', // REQUIRED
]);

Parameter Details

Members
agentSpaceId
Required: Yes
Type: string

The unique identifier for the agent space

limit
Type: int

Maximum number of executions to return

nextToken
Type: string

Token for pagination to retrieve the next set of results

taskId
Required: Yes
Type: string

The unique identifier of the task whose executions to retrieve

Result Syntax

[
    'executions' => [
        [
            'agentSpaceId' => '<string>',
            'agentSubTask' => '<string>',
            'agentType' => '<string>',
            'createdAt' => <DateTime>,
            'executionId' => '<string>',
            'executionStatus' => 'FAILED|RUNNING|STOPPED|CANCELED|TIMED_OUT',
            'parentExecutionId' => '<string>',
            'uid' => '<string>',
            'updatedAt' => <DateTime>,
        ],
        // ...
    ],
    'nextToken' => '<string>',
]

Result Details

Members
executions
Required: Yes
Type: Array of Execution structures

List of executions

nextToken
Type: string

Token for retrieving the next page of results, if available

Errors

ValidationException:

A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.

ContentSizeExceededException:

This exception is thrown when the content size exceeds the allowed limit.

ServiceQuotaExceededException:

The request would exceed the service quota limit.

ConflictException:

The request conflicts with the current state of the resource.

InternalServerException:

This exception is thrown when an unexpected error occurs in the processing of a request.

AccessDeniedException:

Access to the requested resource is denied due to insufficient permissions.

ThrottlingException:

The request was throttled due to too many requests. Please slow down and try again.

ResourceNotFoundException:

The requested resource could not be found.

InvalidParameterException:

One or more parameters provided in the request are invalid.

ListGoals

$result = $client->listGoals([/* ... */]);
$promise = $client->listGoalsAsync([/* ... */]);

Lists goals in the specified agent space with optional filtering

Parameter Syntax

$result = $client->listGoals([
    'agentSpaceId' => '<string>', // REQUIRED
    'goalType' => 'CUSTOMER_DEFINED|ONCALL_REPORT',
    'limit' => <integer>,
    'nextToken' => '<string>',
    'status' => 'ACTIVE|PAUSED|COMPLETE',
]);

Parameter Details

Members
agentSpaceId
Required: Yes
Type: string

The unique identifier for the agent space

goalType
Type: string

Filter goals by goal type

limit
Type: int

Maximum number of goals to return

nextToken
Type: string

Pagination token for the next set of results

status
Type: string

Filter goals by goal status

Result Syntax

[
    'goals' => [
        [
            'agentSpaceArn' => '<string>',
            'content' => [
                'description' => '<string>',
                'objectives' => '<string>',
            ],
            'createdAt' => <DateTime>,
            'evaluationSchedule' => [
                'expression' => '<string>',
                'state' => 'ENABLED|DISABLED',
            ],
            'goalId' => '<string>',
            'goalType' => 'CUSTOMER_DEFINED|ONCALL_REPORT',
            'lastEvaluatedAt' => <DateTime>,
            'lastSuccessfulTaskId' => '<string>',
            'lastTaskId' => '<string>',
            'status' => 'ACTIVE|PAUSED|COMPLETE',
            'title' => '<string>',
            'updatedAt' => <DateTime>,
            'version' => <integer>,
        ],
        // ...
    ],
    'nextToken' => '<string>',
]

Result Details

Members
goals
Required: Yes
Type: Array of Goal structures

List of goals matching the criteria

nextToken
Type: string

Pagination token for the next set of results

Errors

ValidationException:

A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.

ContentSizeExceededException:

This exception is thrown when the content size exceeds the allowed limit.

ServiceQuotaExceededException:

The request would exceed the service quota limit.

ConflictException:

The request conflicts with the current state of the resource.

InternalServerException:

This exception is thrown when an unexpected error occurs in the processing of a request.

AccessDeniedException:

Access to the requested resource is denied due to insufficient permissions.

ThrottlingException:

The request was throttled due to too many requests. Please slow down and try again.

ResourceNotFoundException:

The requested resource could not be found.

InvalidParameterException:

One or more parameters provided in the request are invalid.

ListJournalRecords

$result = $client->listJournalRecords([/* ... */]);
$promise = $client->listJournalRecordsAsync([/* ... */]);

List journal records for a specific execution

Parameter Syntax

$result = $client->listJournalRecords([
    'agentSpaceId' => '<string>', // REQUIRED
    'executionId' => '<string>', // REQUIRED
    'limit' => <integer>,
    'nextToken' => '<string>',
    'order' => 'ASC|DESC',
    'recordType' => '<string>',
]);

Parameter Details

Members
agentSpaceId
Required: Yes
Type: string

The unique identifier for the agent space containing the execution

executionId
Required: Yes
Type: string

The unique identifier of the execution whose journal records to retrieve

limit
Type: int

Maximum number of records to return in a single response (1-100, default: 100)

nextToken
Type: string

Token for retrieving the next page of results

order
Type: string

Sort order for the records based on timestamp (default: DESC)

recordType
Type: string

Filter records by type (empty string returns all types)

Result Syntax

[
    'nextToken' => '<string>',
    'records' => [
        [
            'agentSpaceId' => '<string>',
            'content' => [
            ],
            'createdAt' => <DateTime>,
            'executionId' => '<string>',
            'recordId' => '<string>',
            'recordType' => '<string>',
            'userReference' => [
                'userId' => '<string>',
                'userType' => 'IAM|IDC|IDP',
            ],
        ],
        // ...
    ],
]

Result Details

Members
nextToken
Type: string

Token for retrieving the next page of results, if more results are available

records
Required: Yes
Type: Array of JournalRecord structures

List of journal records matching the request criteria

Errors

ValidationException:

A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.

ContentSizeExceededException:

This exception is thrown when the content size exceeds the allowed limit.

ServiceQuotaExceededException:

The request would exceed the service quota limit.

ConflictException:

The request conflicts with the current state of the resource.

InternalServerException:

This exception is thrown when an unexpected error occurs in the processing of a request.

AccessDeniedException:

Access to the requested resource is denied due to insufficient permissions.

ThrottlingException:

The request was throttled due to too many requests. Please slow down and try again.

ResourceNotFoundException:

The requested resource could not be found.

InvalidParameterException:

One or more parameters provided in the request are invalid.

ListPendingMessages

$result = $client->listPendingMessages([/* ... */]);
$promise = $client->listPendingMessagesAsync([/* ... */]);

List pending messages for a specific execution.

Parameter Syntax

$result = $client->listPendingMessages([
    'agentSpaceId' => '<string>', // REQUIRED
    'executionId' => '<string>', // REQUIRED
]);

Parameter Details

Members
agentSpaceId
Required: Yes
Type: string

Unique identifier for an agent space (allows alphanumeric characters and hyphens; 1-64 characters)

executionId
Required: Yes
Type: string

The unique identifier of the execution whose journal records to retrieve

Result Syntax

[
    'agentSpaceId' => '<string>',
    'createdAt' => <DateTime>,
    'executionId' => '<string>',
    'messages' => [
        [
            'message' => [
                'assistantMessage' => [
                    [
                        'text' => '<string>',
                        'toolUse' => [
                        ],
                    ],
                    // ...
                ],
                'userMessage' => [
                    [
                        'text' => '<string>',
                        'toolResult' => [
                        ],
                    ],
                    // ...
                ],
            ],
            'messageId' => '<string>',
        ],
        // ...
    ],
]

Result Details

Members
agentSpaceId
Required: Yes
Type: string

Unique identifier for an agent space (allows alphanumeric characters and hyphens; 1-64 characters)

createdAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

Timestamp when the pending messages were created.

executionId
Required: Yes
Type: string

The unique identifier for the execution.

messages
Required: Yes
Type: Array of PendingMessage structures

The list of pending messages for the execution.

Errors

ValidationException:

A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.

ContentSizeExceededException:

This exception is thrown when the content size exceeds the allowed limit.

ServiceQuotaExceededException:

The request would exceed the service quota limit.

ConflictException:

The request conflicts with the current state of the resource.

InternalServerException:

This exception is thrown when an unexpected error occurs in the processing of a request.

AccessDeniedException:

Access to the requested resource is denied due to insufficient permissions.

ResourceNotFoundException:

The requested resource could not be found.

ThrottlingException:

The request was throttled due to too many requests. Please slow down and try again.

InvalidParameterException:

One or more parameters provided in the request are invalid.

ListPrivateConnections

$result = $client->listPrivateConnections([/* ... */]);
$promise = $client->listPrivateConnectionsAsync([/* ... */]);

Lists all Private Connections in the caller's account.

Parameter Syntax

$result = $client->listPrivateConnections([
]);

Parameter Details

Members

Result Syntax

[
    'privateConnections' => [
        [
            'certificateExpiryTime' => <DateTime>,
            'hostAddress' => '<string>',
            'name' => '<string>',
            'resourceConfigurationId' => '<string>',
            'resourceGatewayId' => '<string>',
            'status' => 'ACTIVE|CREATE_IN_PROGRESS|CREATE_FAILED|DELETE_IN_PROGRESS|DELETE_FAILED',
            'type' => 'SELF_MANAGED|SERVICE_MANAGED',
            'vpcId' => '<string>',
        ],
        // ...
    ],
]

Result Details

Members
privateConnections
Required: Yes
Type: Array of PrivateConnectionSummary structures

The list of Private Connections.

Errors

ValidationException:

A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.

ContentSizeExceededException:

This exception is thrown when the content size exceeds the allowed limit.

ServiceQuotaExceededException:

The request would exceed the service quota limit.

ConflictException:

The request conflicts with the current state of the resource.

InternalServerException:

This exception is thrown when an unexpected error occurs in the processing of a request.

AccessDeniedException:

Access to the requested resource is denied due to insufficient permissions.

ThrottlingException:

The request was throttled due to too many requests. Please slow down and try again.

ResourceNotFoundException:

The requested resource could not be found.

InvalidParameterException:

One or more parameters provided in the request are invalid.

ListRecommendations

$result = $client->listRecommendations([/* ... */]);
$promise = $client->listRecommendationsAsync([/* ... */]);

Lists recommendations for the specified agent space

Parameter Syntax

$result = $client->listRecommendations([
    'agentSpaceId' => '<string>', // REQUIRED
    'goalId' => '<string>',
    'limit' => <integer>,
    'nextToken' => '<string>',
    'priority' => 'HIGH|MEDIUM|LOW',
    'status' => 'PROPOSED|ACCEPTED|REJECTED|CLOSED|COMPLETED|UPDATE_IN_PROGRESS',
    'taskId' => '<string>',
]);

Parameter Details

Members
agentSpaceId
Required: Yes
Type: string

The unique identifier for the agent space containing the recommendations

goalId
Type: string

Optional goal ID to filter recommendations by specific goal

limit
Type: int

Maximum number of recommendations to return in a single response

nextToken
Type: string

Token for retrieving the next page of results

priority
Type: string

Optional priority to filter recommendations by priority level

status
Type: string

Optional status to filter recommendations by their current status

taskId
Type: string

Optional task ID to filter recommendations by specific task

Result Syntax

[
    'nextToken' => '<string>',
    'recommendations' => [
        [
            'additionalContext' => '<string>',
            'agentSpaceArn' => '<string>',
            'content' => [
                'spec' => '<string>',
                'summary' => '<string>',
            ],
            'createdAt' => <DateTime>,
            'goalId' => '<string>',
            'goalVersion' => <integer>,
            'priority' => 'HIGH|MEDIUM|LOW',
            'recommendationId' => '<string>',
            'status' => 'PROPOSED|ACCEPTED|REJECTED|CLOSED|COMPLETED|UPDATE_IN_PROGRESS',
            'taskId' => '<string>',
            'title' => '<string>',
            'updatedAt' => <DateTime>,
            'version' => <integer>,
        ],
        // ...
    ],
]

Result Details

Members
nextToken
Type: string

Token for retrieving the next page of results, if more results are available

recommendations
Required: Yes
Type: Array of Recommendation structures

List of recommendations matching the request criteria

Errors

ValidationException:

A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.

ContentSizeExceededException:

This exception is thrown when the content size exceeds the allowed limit.

ServiceQuotaExceededException:

The request would exceed the service quota limit.

ConflictException:

The request conflicts with the current state of the resource.

InternalServerException:

This exception is thrown when an unexpected error occurs in the processing of a request.

AccessDeniedException:

Access to the requested resource is denied due to insufficient permissions.

ThrottlingException:

The request was throttled due to too many requests. Please slow down and try again.

ResourceNotFoundException:

The requested resource could not be found.

InvalidParameterException:

One or more parameters provided in the request are invalid.

ListServices

$result = $client->listServices([/* ... */]);
$promise = $client->listServicesAsync([/* ... */]);

List a list of registered service on the account level.

Parameter Syntax

$result = $client->listServices([
    'filterServiceType' => 'github|slack|azure|azuredevops|msteams|dynatrace|servicenow|pagerduty|gitlab|eventChannel|mcpservernewrelic|mcpservergrafana|mcpserverdatadog|mcpserver|mcpserversplunk|azureidentity|mcpserversigv4',
    'maxResults' => <integer>,
    'nextToken' => '<string>',
]);

Parameter Details

Members
filterServiceType
Type: string

Optional filter to list only services of a specific type.

maxResults
Type: int

Maximum number of results to return in a single call.

nextToken
Type: string

Token for the next page of results.

Result Syntax

[
    'nextToken' => '<string>',
    'services' => [
        [
            'accessibleResources' => [
                [
                ],
                // ...
            ],
            'additionalServiceDetails' => [
                'azuredevops' => [
                    'organizationName' => '<string>',
                ],
                'azureidentity' => [
                    'clientId' => '<string>',
                    'tenantId' => '<string>',
                    'webIdentityRoleArn' => '<string>',
                    'webIdentityTokenAudiences' => ['<string>', ...],
                ],
                'github' => [
                    'owner' => '<string>',
                    'ownerType' => 'organization|user',
                    'targetUrl' => '<string>',
                ],
                'gitlab' => [
                    'groupId' => '<string>',
                    'targetUrl' => '<string>',
                    'tokenType' => 'personal|group',
                ],
                'mcpserver' => [
                    'apiKeyHeader' => '<string>',
                    'authorizationMethod' => 'oauth-client-credentials|oauth-3lo|api-key|bearer-token',
                    'description' => '<string>',
                    'endpoint' => '<string>',
                    'name' => '<string>',
                ],
                'mcpserverdatadog' => [
                    'apiKeyHeader' => '<string>',
                    'authorizationMethod' => 'oauth-client-credentials|oauth-3lo|api-key|bearer-token',
                    'description' => '<string>',
                    'endpoint' => '<string>',
                    'name' => '<string>',
                ],
                'mcpservergrafana' => [
                    'authorizationMethod' => 'oauth-client-credentials|oauth-3lo|api-key|bearer-token',
                    'endpoint' => '<string>',
                ],
                'mcpservernewrelic' => [
                    'accountId' => '<string>',
                    'description' => '<string>',
                    'region' => 'US|EU',
                ],
                'mcpserversigv4' => [
                    'description' => '<string>',
                    'endpoint' => '<string>',
                    'name' => '<string>',
                    'region' => '<string>',
                    'roleArn' => '<string>',
                    'service' => '<string>',
                ],
                'mcpserversplunk' => [
                    'apiKeyHeader' => '<string>',
                    'authorizationMethod' => 'oauth-client-credentials|oauth-3lo|api-key|bearer-token',
                    'description' => '<string>',
                    'endpoint' => '<string>',
                    'name' => '<string>',
                ],
                'pagerduty' => [
                    'scopes' => ['<string>', ...],
                ],
                'servicenow' => [
                    'instanceUrl' => '<string>',
                ],
                'slack' => [
                    'teamId' => '<string>',
                    'teamName' => '<string>',
                ],
            ],
            'kmsKeyArn' => '<string>',
            'name' => '<string>',
            'privateConnectionName' => '<string>',
            'serviceId' => '<string>',
            'serviceType' => 'github|slack|azure|azuredevops|msteams|dynatrace|servicenow|pagerduty|gitlab|eventChannel|mcpservernewrelic|mcpservergrafana|mcpserverdatadog|mcpserver|mcpserversplunk|azureidentity|mcpserversigv4',
        ],
        // ...
    ],
]

Result Details

Members
nextToken
Type: string

Token to retrieve the next page of results, if there are more results.

services
Required: Yes
Type: Array of RegisteredService structures

List of registered services.

Errors

ValidationException:

A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.

ContentSizeExceededException:

This exception is thrown when the content size exceeds the allowed limit.

ServiceQuotaExceededException:

The request would exceed the service quota limit.

ConflictException:

The request conflicts with the current state of the resource.

InternalServerException:

This exception is thrown when an unexpected error occurs in the processing of a request.

AccessDeniedException:

Access to the requested resource is denied due to insufficient permissions.

ThrottlingException:

The request was throttled due to too many requests. Please slow down and try again.

ResourceNotFoundException:

The requested resource could not be found.

InvalidParameterException:

One or more parameters provided in the request are invalid.

ListTagsForResource

$result = $client->listTagsForResource([/* ... */]);
$promise = $client->listTagsForResourceAsync([/* ... */]);

Lists tags for the specified AWS DevOps Agent resource.

Parameter Syntax

$result = $client->listTagsForResource([
    'resourceArn' => '<string>', // REQUIRED
]);

Parameter Details

Members
resourceArn
Required: Yes
Type: string

The ARN of the resource.

Result Syntax

[
    'tags' => ['<string>', ...],
]

Result Details

Members
tags
Required: Yes
Type: Associative array of custom strings keys (TagKey) to strings

Tags associated with the resource.

Errors

ValidationException:

A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.

ContentSizeExceededException:

This exception is thrown when the content size exceeds the allowed limit.

ServiceQuotaExceededException:

The request would exceed the service quota limit.

ConflictException:

The request conflicts with the current state of the resource.

InternalServerException:

This exception is thrown when an unexpected error occurs in the processing of a request.

AccessDeniedException:

Access to the requested resource is denied due to insufficient permissions.

ResourceNotFoundException:

The requested resource could not be found.

ThrottlingException:

The request was throttled due to too many requests. Please slow down and try again.

InvalidParameterException:

One or more parameters provided in the request are invalid.

ListWebhooks

$result = $client->listWebhooks([/* ... */]);
$promise = $client->listWebhooksAsync([/* ... */]);

List all webhooks for given Association

Parameter Syntax

$result = $client->listWebhooks([
    'agentSpaceId' => '<string>', // REQUIRED
    'associationId' => '<string>', // REQUIRED
]);

Parameter Details

Members
agentSpaceId
Required: Yes
Type: string

The unique identifier of the AgentSpace

associationId
Required: Yes
Type: string

The unique identifier of the given association.

Result Syntax

[
    'webhooks' => [
        [
            'webhookId' => '<string>',
            'webhookType' => 'hmac|apikey|gitlab|pagerduty',
            'webhookUrl' => '<string>',
        ],
        // ...
    ],
]

Result Details

Members
webhooks
Required: Yes
Type: Array of Webhook structures

The list of association webhooks.

Errors

ValidationException:

A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.

ContentSizeExceededException:

This exception is thrown when the content size exceeds the allowed limit.

ServiceQuotaExceededException:

The request would exceed the service quota limit.

ConflictException:

The request conflicts with the current state of the resource.

InternalServerException:

This exception is thrown when an unexpected error occurs in the processing of a request.

AccessDeniedException:

Access to the requested resource is denied due to insufficient permissions.

ResourceNotFoundException:

The requested resource could not be found.

ThrottlingException:

The request was throttled due to too many requests. Please slow down and try again.

InvalidParameterException:

One or more parameters provided in the request are invalid.

RegisterService

$result = $client->registerService([/* ... */]);
$promise = $client->registerServiceAsync([/* ... */]);

This operation registers the specified service

Parameter Syntax

$result = $client->registerService([
    'kmsKeyArn' => '<string>',
    'name' => '<string>',
    'privateConnectionName' => '<string>',
    'service' => 'dynatrace|servicenow|pagerduty|gitlab|eventChannel|mcpservernewrelic|mcpservergrafana|mcpserverdatadog|mcpserver|mcpserversplunk|azureidentity|mcpserversigv4', // REQUIRED
    'serviceDetails' => [ // REQUIRED
        'azureidentity' => [
            'clientId' => '<string>', // REQUIRED
            'tenantId' => '<string>', // REQUIRED
            'webIdentityRoleArn' => '<string>', // REQUIRED
            'webIdentityTokenAudiences' => ['<string>', ...], // REQUIRED
        ],
        'dynatrace' => [
            'accountUrn' => '<string>', // REQUIRED
            'authorizationConfig' => [
                'oAuthClientCredentials' => [
                    'clientId' => '<string>', // REQUIRED
                    'clientName' => '<string>',
                    'clientSecret' => '<string>', // REQUIRED
                    'exchangeParameters' => ['<string>', ...],
                ],
            ],
        ],
        'eventChannel' => [
            'type' => 'webhook',
        ],
        'gitlab' => [
            'groupId' => '<string>',
            'targetUrl' => '<string>', // REQUIRED
            'tokenType' => 'personal|group', // REQUIRED
            'tokenValue' => '<string>', // REQUIRED
        ],
        'mcpserver' => [
            'authorizationConfig' => [ // REQUIRED
                'apiKey' => [
                    'apiKeyHeader' => '<string>', // REQUIRED
                    'apiKeyName' => '<string>', // REQUIRED
                    'apiKeyValue' => '<string>', // REQUIRED
                ],
                'authorizationDiscovery' => [
                    'returnToEndpoint' => '<string>', // REQUIRED
                ],
                'bearerToken' => [
                    'authorizationHeader' => '<string>',
                    'tokenName' => '<string>', // REQUIRED
                    'tokenValue' => '<string>', // REQUIRED
                ],
                'oAuth3LO' => [
                    'authorizationUrl' => '<string>', // REQUIRED
                    'clientId' => '<string>', // REQUIRED
                    'clientName' => '<string>',
                    'clientSecret' => '<string>',
                    'exchangeParameters' => ['<string>', ...],
                    'exchangeUrl' => '<string>', // REQUIRED
                    'returnToEndpoint' => '<string>', // REQUIRED
                    'scopes' => ['<string>', ...],
                    'supportCodeChallenge' => true || false,
                ],
                'oAuthClientCredentials' => [
                    'clientId' => '<string>', // REQUIRED
                    'clientName' => '<string>',
                    'clientSecret' => '<string>', // REQUIRED
                    'exchangeParameters' => ['<string>', ...],
                    'exchangeUrl' => '<string>', // REQUIRED
                    'scopes' => ['<string>', ...],
                ],
            ],
            'description' => '<string>',
            'endpoint' => '<string>', // REQUIRED
            'name' => '<string>', // REQUIRED
        ],
        'mcpserverdatadog' => [
            'authorizationConfig' => [ // REQUIRED
                'authorizationDiscovery' => [
                    'returnToEndpoint' => '<string>', // REQUIRED
                ],
            ],
            'description' => '<string>',
            'endpoint' => '<string>', // REQUIRED
            'name' => '<string>', // REQUIRED
        ],
        'mcpservergrafana' => [
            'authorizationConfig' => [ // REQUIRED
                'apiKey' => [
                    'apiKeyHeader' => '<string>', // REQUIRED
                    'apiKeyName' => '<string>', // REQUIRED
                    'apiKeyValue' => '<string>', // REQUIRED
                ],
                'authorizationDiscovery' => [
                    'returnToEndpoint' => '<string>', // REQUIRED
                ],
                'bearerToken' => [
                    'authorizationHeader' => '<string>',
                    'tokenName' => '<string>', // REQUIRED
                    'tokenValue' => '<string>', // REQUIRED
                ],
                'oAuth3LO' => [
                    'authorizationUrl' => '<string>', // REQUIRED
                    'clientId' => '<string>', // REQUIRED
                    'clientName' => '<string>',
                    'clientSecret' => '<string>',
                    'exchangeParameters' => ['<string>', ...],
                    'exchangeUrl' => '<string>', // REQUIRED
                    'returnToEndpoint' => '<string>', // REQUIRED
                    'scopes' => ['<string>', ...],
                    'supportCodeChallenge' => true || false,
                ],
                'oAuthClientCredentials' => [
                    'clientId' => '<string>', // REQUIRED
                    'clientName' => '<string>',
                    'clientSecret' => '<string>', // REQUIRED
                    'exchangeParameters' => ['<string>', ...],
                    'exchangeUrl' => '<string>', // REQUIRED
                    'scopes' => ['<string>', ...],
                ],
            ],
            'description' => '<string>',
            'endpoint' => '<string>', // REQUIRED
            'name' => '<string>', // REQUIRED
        ],
        'mcpservernewrelic' => [
            'authorizationConfig' => [ // REQUIRED
                'apiKey' => [
                    'accountId' => '<string>', // REQUIRED
                    'alertPolicyIds' => ['<string>', ...],
                    'apiKey' => '<string>', // REQUIRED
                    'applicationIds' => ['<string>', ...],
                    'entityGuids' => ['<string>', ...],
                    'region' => 'US|EU', // REQUIRED
                ],
            ],
        ],
        'mcpserversigv4' => [
            'authorizationConfig' => [ // REQUIRED
                'region' => '<string>', // REQUIRED
                'roleArn' => '<string>', // REQUIRED
                'service' => '<string>', // REQUIRED
            ],
            'description' => '<string>',
            'endpoint' => '<string>', // REQUIRED
            'name' => '<string>', // REQUIRED
        ],
        'mcpserversplunk' => [
            'authorizationConfig' => [ // REQUIRED
                'apiKey' => [
                    'apiKeyHeader' => '<string>', // REQUIRED
                    'apiKeyName' => '<string>', // REQUIRED
                    'apiKeyValue' => '<string>', // REQUIRED
                ],
                'authorizationDiscovery' => [
                    'returnToEndpoint' => '<string>', // REQUIRED
                ],
                'bearerToken' => [
                    'authorizationHeader' => '<string>',
                    'tokenName' => '<string>', // REQUIRED
                    'tokenValue' => '<string>', // REQUIRED
                ],
                'oAuth3LO' => [
                    'authorizationUrl' => '<string>', // REQUIRED
                    'clientId' => '<string>', // REQUIRED
                    'clientName' => '<string>',
                    'clientSecret' => '<string>',
                    'exchangeParameters' => ['<string>', ...],
                    'exchangeUrl' => '<string>', // REQUIRED
                    'returnToEndpoint' => '<string>', // REQUIRED
                    'scopes' => ['<string>', ...],
                    'supportCodeChallenge' => true || false,
                ],
                'oAuthClientCredentials' => [
                    'clientId' => '<string>', // REQUIRED
                    'clientName' => '<string>',
                    'clientSecret' => '<string>', // REQUIRED
                    'exchangeParameters' => ['<string>', ...],
                    'exchangeUrl' => '<string>', // REQUIRED
                    'scopes' => ['<string>', ...],
                ],
            ],
            'description' => '<string>',
            'endpoint' => '<string>', // REQUIRED
            'name' => '<string>', // REQUIRED
        ],
        'pagerduty' => [
            'authorizationConfig' => [ // REQUIRED
                'oAuthClientCredentials' => [
                    'clientId' => '<string>', // REQUIRED
                    'clientName' => '<string>',
                    'clientSecret' => '<string>', // REQUIRED
                    'exchangeParameters' => ['<string>', ...],
                ],
            ],
            'scopes' => ['<string>', ...], // REQUIRED
        ],
        'servicenow' => [
            'authorizationConfig' => [
                'oAuthClientCredentials' => [
                    'clientId' => '<string>', // REQUIRED
                    'clientName' => '<string>',
                    'clientSecret' => '<string>', // REQUIRED
                    'exchangeParameters' => ['<string>', ...],
                ],
            ],
            'instanceUrl' => '<string>', // REQUIRED
        ],
    ],
    'tags' => ['<string>', ...],
]);

Parameter Details

Members
kmsKeyArn
Type: string

The ARN of the AWS Key Management Service (AWS KMS) customer managed key that's used to encrypt resources.

name
Type: string

The display name for the service registration.

privateConnectionName
Type: string

The name of the private connection to use for VPC connectivity.

service
Required: Yes
Type: string

Services that can be registered via the post-registration API (excludes OAuth 3LO services).

serviceDetails
Required: Yes
Type: ServiceDetails structure

Service-specific authorization configuration parameters

tags
Type: Associative array of custom strings keys (TagKey) to strings

Tags to add to the Service at registration time.

Result Syntax

[
    'additionalStep' => [
        'oauth' => [
            'authorizationUrl' => '<string>',
        ],
    ],
    'kmsKeyArn' => '<string>',
    'serviceId' => '<string>',
    'tags' => ['<string>', ...],
]

Result Details

Members
additionalStep

Indicates if additional steps are required to complete service registration (e.g., 3-legged OAuth)

kmsKeyArn
Type: string

The ARN of the AWS Key Management Service (AWS KMS) customer managed key that's used to encrypt resources.

serviceId
Type: string

Service ID - present when registration is complete, absent when additional steps are required

tags
Type: Associative array of custom strings keys (TagKey) to strings

Tags associated with the registered Service.

Errors

ValidationException:

A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.

ContentSizeExceededException:

This exception is thrown when the content size exceeds the allowed limit.

ServiceQuotaExceededException:

The request would exceed the service quota limit.

ConflictException:

The request conflicts with the current state of the resource.

InternalServerException:

This exception is thrown when an unexpected error occurs in the processing of a request.

AccessDeniedException:

Access to the requested resource is denied due to insufficient permissions.

ResourceNotFoundException:

The requested resource could not be found.

InvalidParameterException:

One or more parameters provided in the request are invalid.

ThrottlingException:

The request was throttled due to too many requests. Please slow down and try again.

SendMessage

$result = $client->sendMessage([/* ... */]);
$promise = $client->sendMessageAsync([/* ... */]);

Sends a chat message and streams the response for the specified agent space execution

Parameter Syntax

$result = $client->sendMessage([
    'agentSpaceId' => '<string>', // REQUIRED
    'content' => '<string>', // REQUIRED
    'context' => [
        'currentPage' => '<string>',
        'lastMessage' => '<string>',
        'userActionResponse' => '<string>',
    ],
    'executionId' => '<string>', // REQUIRED
    'userId' => '<string>', // REQUIRED
]);

Parameter Details

Members
agentSpaceId
Required: Yes
Type: string

The agent space identifier

content
Required: Yes
Type: string

The user message content

context
Type: SendMessageContext structure

Optional context for the message

executionId
Required: Yes
Type: string

The execution identifier for the chat session

userId
Required: Yes
Type: string

Required user identifier

Result Syntax

[
    'events' => [ // EventParsingIterator
        'contentBlockDelta' => [
            'delta' => [
                'jsonDelta' => [
                    'partialJson' => '<string>',
                ],
                'textDelta' => [
                    'text' => '<string>',
                ],
            ],
            'index' => <integer>,
            'sequenceNumber' => <integer>,
        ],
        'contentBlockStart' => [
            'id' => '<string>',
            'index' => <integer>,
            'parentId' => '<string>',
            'sequenceNumber' => <integer>,
            'type' => '<string>',
        ],
        'contentBlockStop' => [
            'index' => <integer>,
            'last' => true || false,
            'sequenceNumber' => <integer>,
            'text' => '<string>',
            'type' => '<string>',
        ],
        'heartbeat' => [
        ],
        'responseCompleted' => [
            'responseId' => '<string>',
            'sequenceNumber' => <integer>,
            'usage' => [
                'inputTokens' => <integer>,
                'outputTokens' => <integer>,
                'totalTokens' => <integer>,
            ],
        ],
        'responseCreated' => [
            'responseId' => '<string>',
            'sequenceNumber' => <integer>,
        ],
        'responseFailed' => [
            'errorCode' => '<string>',
            'errorMessage' => '<string>',
            'responseId' => '<string>',
            'sequenceNumber' => <integer>,
        ],
        'responseInProgress' => [
            'responseId' => '<string>',
            'sequenceNumber' => <integer>,
        ],
        'summary' => [
            'content' => '<string>',
            'sequenceNumber' => <integer>,
        ],
    ],
]

Result Details

Using an EventParsingIterator

To use an EventParsingIterator, you will need to loop over the events it will generate and check the top-level field to determine which type of event it is.

foreach($result['events'] as $event) {
    if (isset($event['contentBlockDelta'])) {
        // Handle the 'contentBlockDelta' event.
    } else if (isset($event['contentBlockStart'])) {
        // Handle the 'contentBlockStart' event.
    } else if (isset($event['contentBlockStop'])) {
        // Handle the 'contentBlockStop' event.
    } else if (isset($event['heartbeat'])) {
        // Handle the 'heartbeat' event.
    } else if (isset($event['responseCompleted'])) {
        // Handle the 'responseCompleted' event.
    } else if (isset($event['responseCreated'])) {
        // Handle the 'responseCreated' event.
    } else if (isset($event['responseFailed'])) {
        // Handle the 'responseFailed' event.
    } else if (isset($event['responseInProgress'])) {
        // Handle the 'responseInProgress' event.
    } else if (isset($event['summary'])) {
        // Handle the 'summary' event.
    }
}

Errors

ValidationException:

A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.

ContentSizeExceededException:

This exception is thrown when the content size exceeds the allowed limit.

ServiceQuotaExceededException:

The request would exceed the service quota limit.

ConflictException:

The request conflicts with the current state of the resource.

InternalServerException:

This exception is thrown when an unexpected error occurs in the processing of a request.

AccessDeniedException:

Access to the requested resource is denied due to insufficient permissions.

ResourceNotFoundException:

The requested resource could not be found.

ThrottlingException:

The request was throttled due to too many requests. Please slow down and try again.

InvalidParameterException:

One or more parameters provided in the request are invalid.

TagResource

$result = $client->tagResource([/* ... */]);
$promise = $client->tagResourceAsync([/* ... */]);

Adds or overwrites tags for the specified AWS DevOps Agent resource.

Parameter Syntax

$result = $client->tagResource([
    'resourceArn' => '<string>', // REQUIRED
    'tags' => ['<string>', ...], // REQUIRED
]);

Parameter Details

Members
resourceArn
Required: Yes
Type: string

The ARN of the resource to tag.

tags
Required: Yes
Type: Associative array of custom strings keys (TagKey) to strings

Tags to add to the resource.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

ValidationException:

A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.

ContentSizeExceededException:

This exception is thrown when the content size exceeds the allowed limit.

ServiceQuotaExceededException:

The request would exceed the service quota limit.

ConflictException:

The request conflicts with the current state of the resource.

InternalServerException:

This exception is thrown when an unexpected error occurs in the processing of a request.

AccessDeniedException:

Access to the requested resource is denied due to insufficient permissions.

ResourceNotFoundException:

The requested resource could not be found.

ThrottlingException:

The request was throttled due to too many requests. Please slow down and try again.

InvalidParameterException:

One or more parameters provided in the request are invalid.

UntagResource

$result = $client->untagResource([/* ... */]);
$promise = $client->untagResourceAsync([/* ... */]);

Removes tags from the specified AWS DevOps Agent resource.

Parameter Syntax

$result = $client->untagResource([
    'resourceArn' => '<string>', // REQUIRED
    'tagKeys' => ['<string>', ...], // REQUIRED
]);

Parameter Details

Members
resourceArn
Required: Yes
Type: string

The ARN of the resource to untag.

tagKeys
Required: Yes
Type: Array of strings

Tag keys to remove.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

ValidationException:

A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.

ContentSizeExceededException:

This exception is thrown when the content size exceeds the allowed limit.

ServiceQuotaExceededException:

The request would exceed the service quota limit.

ConflictException:

The request conflicts with the current state of the resource.

InternalServerException:

This exception is thrown when an unexpected error occurs in the processing of a request.

AccessDeniedException:

Access to the requested resource is denied due to insufficient permissions.

ResourceNotFoundException:

The requested resource could not be found.

ThrottlingException:

The request was throttled due to too many requests. Please slow down and try again.

InvalidParameterException:

One or more parameters provided in the request are invalid.

UpdateAgentSpace

$result = $client->updateAgentSpace([/* ... */]);
$promise = $client->updateAgentSpaceAsync([/* ... */]);

Updates the information of an existing AgentSpace.

Parameter Syntax

$result = $client->updateAgentSpace([
    'agentSpaceId' => '<string>', // REQUIRED
    'description' => '<string>',
    'locale' => '<string>',
    'name' => '<string>',
]);

Parameter Details

Members
agentSpaceId
Required: Yes
Type: string

The unique identifier of the AgentSpace

description
Type: string

The updated description of the AgentSpace.

locale
Type: string

The updated locale for the AgentSpace, which determines the language used in agent responses.

name
Type: string

The updated name of the AgentSpace.

Result Syntax

[
    'agentSpace' => [
        'agentSpaceId' => '<string>',
        'createdAt' => <DateTime>,
        'description' => '<string>',
        'kmsKeyArn' => '<string>',
        'locale' => '<string>',
        'name' => '<string>',
        'updatedAt' => <DateTime>,
    ],
]

Result Details

Members
agentSpace
Required: Yes
Type: AgentSpace structure

Represents a complete AgentSpace with all its properties, timestamps, encryption settings, and unique identifier.

Errors

ValidationException:

A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.

ContentSizeExceededException:

This exception is thrown when the content size exceeds the allowed limit.

ServiceQuotaExceededException:

The request would exceed the service quota limit.

ConflictException:

The request conflicts with the current state of the resource.

InternalServerException:

This exception is thrown when an unexpected error occurs in the processing of a request.

AccessDeniedException:

Access to the requested resource is denied due to insufficient permissions.

ResourceNotFoundException:

The requested resource could not be found.

ThrottlingException:

The request was throttled due to too many requests. Please slow down and try again.

InvalidParameterException:

One or more parameters provided in the request are invalid.

UpdateAssociation

$result = $client->updateAssociation([/* ... */]);
$promise = $client->updateAssociationAsync([/* ... */]);

Partially updates the configuration of an existing service association for an AgentSpace. Present fields are fully replaced; absent fields are left unchanged. Returns 200 OK on success.

Parameter Syntax

$result = $client->updateAssociation([
    'agentSpaceId' => '<string>', // REQUIRED
    'associationId' => '<string>', // REQUIRED
    'configuration' => [ // REQUIRED
        'aws' => [
            'accountId' => '<string>', // REQUIRED
            'accountType' => 'monitor', // REQUIRED
            'assumableRoleArn' => '<string>', // REQUIRED
        ],
        'azure' => [
            'subscriptionId' => '<string>', // REQUIRED
        ],
        'azuredevops' => [
            'organizationName' => '<string>', // REQUIRED
            'projectId' => '<string>', // REQUIRED
            'projectName' => '<string>', // REQUIRED
        ],
        'dynatrace' => [
            'envId' => '<string>', // REQUIRED
            'resources' => ['<string>', ...],
        ],
        'eventChannel' => [
        ],
        'github' => [
            'instanceIdentifier' => '<string>',
            'owner' => '<string>', // REQUIRED
            'ownerType' => 'organization|user', // REQUIRED
            'repoId' => '<string>', // REQUIRED
            'repoName' => '<string>', // REQUIRED
        ],
        'gitlab' => [
            'instanceIdentifier' => '<string>',
            'projectId' => '<string>', // REQUIRED
            'projectPath' => '<string>', // REQUIRED
        ],
        'mcpservergrafana' => [
            'endpoint' => '<string>', // REQUIRED
            'organizationId' => '<string>',
            'tools' => ['<string>', ...],
        ],
        'mcpservernewrelic' => [
            'accountId' => '<string>', // REQUIRED
            'endpoint' => '<string>', // REQUIRED
        ],
        'msteams' => [
            'teamId' => '<string>', // REQUIRED
            'teamName' => '<string>', // REQUIRED
            'transmissionTarget' => [ // REQUIRED
                'opsOncallTarget' => [
                    'channelId' => '<string>', // REQUIRED
                    'channelName' => '<string>', // REQUIRED
                ],
                'opsSRETarget' => [
                    'channelId' => '<string>', // REQUIRED
                    'channelName' => '<string>', // REQUIRED
                ],
            ],
        ],
        'pagerduty' => [
            'customerEmail' => '<string>', // REQUIRED
            'services' => ['<string>', ...], // REQUIRED
        ],
        'servicenow' => [
            'authScopes' => ['<string>', ...],
            'instanceId' => '<string>',
        ],
        'slack' => [
            'transmissionTarget' => [ // REQUIRED
                'opsOncallTarget' => [ // REQUIRED
                    'channelId' => '<string>', // REQUIRED
                    'channelName' => '<string>',
                ],
                'opsSRETarget' => [
                    'channelId' => '<string>', // REQUIRED
                    'channelName' => '<string>',
                ],
            ],
            'workspaceId' => '<string>', // REQUIRED
            'workspaceName' => '<string>', // REQUIRED
        ],
        'sourceAws' => [
            'accountId' => '<string>', // REQUIRED
            'accountType' => 'source', // REQUIRED
            'assumableRoleArn' => '<string>', // REQUIRED
            'externalId' => '<string>',
        ],
    ],
]);

Parameter Details

Members
agentSpaceId
Required: Yes
Type: string

The unique identifier of the AgentSpace

associationId
Required: Yes
Type: string

The unique identifier of the given association.

configuration
Required: Yes
Type: ServiceConfiguration structure

The configuration that directs how AgentSpace interacts with the given service. The entire configuration is replaced on update.

Result Syntax

[
    'association' => [
        'agentSpaceId' => '<string>',
        'associationId' => '<string>',
        'configuration' => [
            'aws' => [
                'accountId' => '<string>',
                'accountType' => 'monitor',
                'assumableRoleArn' => '<string>',
            ],
            'azure' => [
                'subscriptionId' => '<string>',
            ],
            'azuredevops' => [
                'organizationName' => '<string>',
                'projectId' => '<string>',
                'projectName' => '<string>',
            ],
            'dynatrace' => [
                'envId' => '<string>',
                'resources' => ['<string>', ...],
            ],
            'eventChannel' => [
            ],
            'github' => [
                'instanceIdentifier' => '<string>',
                'owner' => '<string>',
                'ownerType' => 'organization|user',
                'repoId' => '<string>',
                'repoName' => '<string>',
            ],
            'gitlab' => [
                'instanceIdentifier' => '<string>',
                'projectId' => '<string>',
                'projectPath' => '<string>',
            ],
            'mcpservergrafana' => [
                'endpoint' => '<string>',
                'organizationId' => '<string>',
                'tools' => ['<string>', ...],
            ],
            'mcpservernewrelic' => [
                'accountId' => '<string>',
                'endpoint' => '<string>',
            ],
            'msteams' => [
                'teamId' => '<string>',
                'teamName' => '<string>',
                'transmissionTarget' => [
                    'opsOncallTarget' => [
                        'channelId' => '<string>',
                        'channelName' => '<string>',
                    ],
                    'opsSRETarget' => [
                        'channelId' => '<string>',
                        'channelName' => '<string>',
                    ],
                ],
            ],
            'pagerduty' => [
                'customerEmail' => '<string>',
                'services' => ['<string>', ...],
            ],
            'servicenow' => [
                'authScopes' => ['<string>', ...],
                'instanceId' => '<string>',
            ],
            'slack' => [
                'transmissionTarget' => [
                    'opsOncallTarget' => [
                        'channelId' => '<string>',
                        'channelName' => '<string>',
                    ],
                    'opsSRETarget' => [
                        'channelId' => '<string>',
                        'channelName' => '<string>',
                    ],
                ],
                'workspaceId' => '<string>',
                'workspaceName' => '<string>',
            ],
            'sourceAws' => [
                'accountId' => '<string>',
                'accountType' => 'source',
                'assumableRoleArn' => '<string>',
                'externalId' => '<string>',
            ],
        ],
        'createdAt' => <DateTime>,
        'serviceId' => '<string>',
        'status' => 'valid|invalid|pending-confirmation',
        'updatedAt' => <DateTime>,
    ],
    'webhook' => [
        'apiKey' => '<string>',
        'webhookId' => '<string>',
        'webhookSecret' => '<string>',
        'webhookType' => 'hmac|apikey|gitlab|pagerduty',
        'webhookUrl' => '<string>',
    ],
]

Result Details

Members
association
Required: Yes
Type: Association structure

Represents a service association within an AgentSpace, defining how the agent interacts with external services.

webhook
Type: GenericWebhook structure

Generic webhook configuration

Errors

ValidationException:

A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.

ContentSizeExceededException:

This exception is thrown when the content size exceeds the allowed limit.

ServiceQuotaExceededException:

The request would exceed the service quota limit.

ConflictException:

The request conflicts with the current state of the resource.

InternalServerException:

This exception is thrown when an unexpected error occurs in the processing of a request.

AccessDeniedException:

Access to the requested resource is denied due to insufficient permissions.

ResourceNotFoundException:

The requested resource could not be found.

ThrottlingException:

The request was throttled due to too many requests. Please slow down and try again.

InvalidParameterException:

One or more parameters provided in the request are invalid.

UpdateBacklogTask

$result = $client->updateBacklogTask([/* ... */]);
$promise = $client->updateBacklogTaskAsync([/* ... */]);

Update an existing backlog task.

Parameter Syntax

$result = $client->updateBacklogTask([
    'agentSpaceId' => '<string>', // REQUIRED
    'clientToken' => '<string>',
    'taskId' => '<string>', // REQUIRED
    'taskStatus' => 'PENDING_TRIAGE|LINKED|PENDING_START|IN_PROGRESS|PENDING_CUSTOMER_APPROVAL|COMPLETED|FAILED|TIMED_OUT|CANCELED',
]);

Parameter Details

Members
agentSpaceId
Required: Yes
Type: string

The unique identifier for the agent space containing the task

clientToken
Type: string

Client-provided token for idempotent operations

taskId
Required: Yes
Type: string

The unique identifier of the task to update

taskStatus
Type: string

Updated task status

Result Syntax

[
    'task' => [
        'agentSpaceId' => '<string>',
        'createdAt' => <DateTime>,
        'description' => '<string>',
        'executionId' => '<string>',
        'hasLinkedTasks' => true || false,
        'metadata' => [
        ],
        'primaryTaskId' => '<string>',
        'priority' => 'CRITICAL|HIGH|MEDIUM|LOW|MINIMAL',
        'reference' => [
            'associationId' => '<string>',
            'referenceId' => '<string>',
            'referenceUrl' => '<string>',
            'system' => '<string>',
            'title' => '<string>',
        ],
        'status' => 'PENDING_TRIAGE|LINKED|PENDING_START|IN_PROGRESS|PENDING_CUSTOMER_APPROVAL|COMPLETED|FAILED|TIMED_OUT|CANCELED',
        'statusReason' => '<string>',
        'supportMetadata' => [
        ],
        'taskId' => '<string>',
        'taskType' => 'INVESTIGATION|EVALUATION',
        'title' => '<string>',
        'updatedAt' => <DateTime>,
        'version' => <integer>,
    ],
]

Result Details

Members
task
Required: Yes
Type: Task structure

The updated task object

Errors

ValidationException:

A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.

ContentSizeExceededException:

This exception is thrown when the content size exceeds the allowed limit.

ServiceQuotaExceededException:

The request would exceed the service quota limit.

ConflictException:

The request conflicts with the current state of the resource.

InternalServerException:

This exception is thrown when an unexpected error occurs in the processing of a request.

AccessDeniedException:

Access to the requested resource is denied due to insufficient permissions.

ResourceNotFoundException:

The requested resource could not be found.

ThrottlingException:

The request was throttled due to too many requests. Please slow down and try again.

InvalidParameterException:

One or more parameters provided in the request are invalid.

UpdateGoal

$result = $client->updateGoal([/* ... */]);
$promise = $client->updateGoalAsync([/* ... */]);

Update an existing goal

Parameter Syntax

$result = $client->updateGoal([
    'agentSpaceId' => '<string>', // REQUIRED
    'clientToken' => '<string>',
    'evaluationSchedule' => [
        'state' => 'ENABLED|DISABLED', // REQUIRED
    ],
    'goalId' => '<string>', // REQUIRED
]);

Parameter Details

Members
agentSpaceId
Required: Yes
Type: string

The unique identifier for the agent space containing the goal

clientToken
Type: string

Client-provided token for idempotent operations

evaluationSchedule
Type: GoalScheduleInput structure

Update goal schedule state

goalId
Required: Yes
Type: string

The unique identifier of the goal to update

Result Syntax

[
    'goal' => [
        'agentSpaceArn' => '<string>',
        'content' => [
            'description' => '<string>',
            'objectives' => '<string>',
        ],
        'createdAt' => <DateTime>,
        'evaluationSchedule' => [
            'expression' => '<string>',
            'state' => 'ENABLED|DISABLED',
        ],
        'goalId' => '<string>',
        'goalType' => 'CUSTOMER_DEFINED|ONCALL_REPORT',
        'lastEvaluatedAt' => <DateTime>,
        'lastSuccessfulTaskId' => '<string>',
        'lastTaskId' => '<string>',
        'status' => 'ACTIVE|PAUSED|COMPLETE',
        'title' => '<string>',
        'updatedAt' => <DateTime>,
        'version' => <integer>,
    ],
]

Result Details

Members
goal
Required: Yes
Type: Goal structure

The updated goal object

Errors

ValidationException:

A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.

ContentSizeExceededException:

This exception is thrown when the content size exceeds the allowed limit.

ServiceQuotaExceededException:

The request would exceed the service quota limit.

ConflictException:

The request conflicts with the current state of the resource.

InternalServerException:

This exception is thrown when an unexpected error occurs in the processing of a request.

AccessDeniedException:

Access to the requested resource is denied due to insufficient permissions.

ResourceNotFoundException:

The requested resource could not be found.

ThrottlingException:

The request was throttled due to too many requests. Please slow down and try again.

InvalidParameterException:

One or more parameters provided in the request are invalid.

UpdateOperatorAppIdpConfig

$result = $client->updateOperatorAppIdpConfig([/* ... */]);
$promise = $client->updateOperatorAppIdpConfigAsync([/* ... */]);

Update the external Identity Provider configuration for the Operator App

Parameter Syntax

$result = $client->updateOperatorAppIdpConfig([
    'agentSpaceId' => '<string>', // REQUIRED
    'idpClientSecret' => '<string>',
]);

Parameter Details

Members
agentSpaceId
Required: Yes
Type: string

The unique identifier of the AgentSpace

idpClientSecret
Type: string

The OIDC client secret for the IdP application

Result Syntax

[
    'agentSpaceId' => '<string>',
    'idp' => [
        'clientId' => '<string>',
        'createdAt' => <DateTime>,
        'issuerUrl' => '<string>',
        'operatorAppRoleArn' => '<string>',
        'provider' => '<string>',
        'updatedAt' => <DateTime>,
    ],
]

Result Details

Members
agentSpaceId
Required: Yes
Type: string

The unique identifier of the AgentSpace

idp
Required: Yes
Type: IdpAuthConfiguration structure

Configuration for external Identity Provider OIDC authentication flow for the Operator App.

Errors

ValidationException:

A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.

ContentSizeExceededException:

This exception is thrown when the content size exceeds the allowed limit.

ServiceQuotaExceededException:

The request would exceed the service quota limit.

ConflictException:

The request conflicts with the current state of the resource.

InternalServerException:

This exception is thrown when an unexpected error occurs in the processing of a request.

AccessDeniedException:

Access to the requested resource is denied due to insufficient permissions.

ResourceNotFoundException:

The requested resource could not be found.

ThrottlingException:

The request was throttled due to too many requests. Please slow down and try again.

InvalidParameterException:

One or more parameters provided in the request are invalid.

UpdatePrivateConnectionCertificate

$result = $client->updatePrivateConnectionCertificate([/* ... */]);
$promise = $client->updatePrivateConnectionCertificateAsync([/* ... */]);

Updates the certificate associated with a Private Connection.

Parameter Syntax

$result = $client->updatePrivateConnectionCertificate([
    'certificate' => '<string>', // REQUIRED
    'name' => '<string>', // REQUIRED
]);

Parameter Details

Members
certificate
Required: Yes
Type: string

The new certificate for the Private Connection.

name
Required: Yes
Type: string

The name of the Private Connection.

Result Syntax

[
    'certificateExpiryTime' => <DateTime>,
    'hostAddress' => '<string>',
    'name' => '<string>',
    'resourceConfigurationId' => '<string>',
    'resourceGatewayId' => '<string>',
    'status' => 'ACTIVE|CREATE_IN_PROGRESS|CREATE_FAILED|DELETE_IN_PROGRESS|DELETE_FAILED',
    'type' => 'SELF_MANAGED|SERVICE_MANAGED',
    'vpcId' => '<string>',
]

Result Details

Members
certificateExpiryTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

The expiry time of the certificate associated with the Private Connection. Only present when a certificate is associated.

hostAddress
Type: string

IP address or DNS name of the target resource. Only present for service-managed Private Connections.

name
Required: Yes
Type: string

The name of the Private Connection.

resourceConfigurationId
Type: string

The Resource Configuration ARN. Only present for self-managed Private Connections.

resourceGatewayId
Type: string

The service-managed Resource Gateway ARN. Only present for service-managed Private Connections.

status
Required: Yes
Type: string

The status of the Private Connection.

type
Required: Yes
Type: string

The type of the Private Connection.

vpcId
Type: string

VPC identifier of the service-managed Resource Gateway. Only present for service-managed Private Connections.

Errors

ValidationException:

A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.

ContentSizeExceededException:

This exception is thrown when the content size exceeds the allowed limit.

ServiceQuotaExceededException:

The request would exceed the service quota limit.

ConflictException:

The request conflicts with the current state of the resource.

InternalServerException:

This exception is thrown when an unexpected error occurs in the processing of a request.

AccessDeniedException:

Access to the requested resource is denied due to insufficient permissions.

ResourceNotFoundException:

The requested resource could not be found.

ThrottlingException:

The request was throttled due to too many requests. Please slow down and try again.

InvalidParameterException:

One or more parameters provided in the request are invalid.

UpdateRecommendation

$result = $client->updateRecommendation([/* ... */]);
$promise = $client->updateRecommendationAsync([/* ... */]);

Updates an existing recommendation with new content, status, or metadata

Parameter Syntax

$result = $client->updateRecommendation([
    'additionalContext' => '<string>',
    'agentSpaceId' => '<string>', // REQUIRED
    'clientToken' => '<string>',
    'recommendationId' => '<string>', // REQUIRED
    'status' => 'PROPOSED|ACCEPTED|REJECTED|CLOSED|COMPLETED|UPDATE_IN_PROGRESS',
]);

Parameter Details

Members
additionalContext
Type: string

Additional context for recommendation

agentSpaceId
Required: Yes
Type: string

The unique identifier for the agent space containing the recommendation

clientToken
Type: string

A unique token that ensures idempotency of the request

recommendationId
Required: Yes
Type: string

The unique identifier for the recommendation to update

status
Type: string

Current status of the recommendation

Result Syntax

[
    'recommendation' => [
        'additionalContext' => '<string>',
        'agentSpaceArn' => '<string>',
        'content' => [
            'spec' => '<string>',
            'summary' => '<string>',
        ],
        'createdAt' => <DateTime>,
        'goalId' => '<string>',
        'goalVersion' => <integer>,
        'priority' => 'HIGH|MEDIUM|LOW',
        'recommendationId' => '<string>',
        'status' => 'PROPOSED|ACCEPTED|REJECTED|CLOSED|COMPLETED|UPDATE_IN_PROGRESS',
        'taskId' => '<string>',
        'title' => '<string>',
        'updatedAt' => <DateTime>,
        'version' => <integer>,
    ],
]

Result Details

Members
recommendation
Required: Yes
Type: Recommendation structure

The updated recommendation

Errors

ValidationException:

A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.

ContentSizeExceededException:

This exception is thrown when the content size exceeds the allowed limit.

ServiceQuotaExceededException:

The request would exceed the service quota limit.

ConflictException:

The request conflicts with the current state of the resource.

InternalServerException:

This exception is thrown when an unexpected error occurs in the processing of a request.

AccessDeniedException:

Access to the requested resource is denied due to insufficient permissions.

ResourceNotFoundException:

The requested resource could not be found.

ThrottlingException:

The request was throttled due to too many requests. Please slow down and try again.

InvalidParameterException:

One or more parameters provided in the request are invalid.

ValidateAwsAssociations

$result = $client->validateAwsAssociations([/* ... */]);
$promise = $client->validateAwsAssociationsAsync([/* ... */]);

Validates an aws association and set status and returns a 204 No Content response on success.

Parameter Syntax

$result = $client->validateAwsAssociations([
    'agentSpaceId' => '<string>', // REQUIRED
]);

Parameter Details

Members
agentSpaceId
Required: Yes
Type: string

The unique identifier of the AgentSpace

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

ValidationException:

A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.

ContentSizeExceededException:

This exception is thrown when the content size exceeds the allowed limit.

ServiceQuotaExceededException:

The request would exceed the service quota limit.

ConflictException:

The request conflicts with the current state of the resource.

InternalServerException:

This exception is thrown when an unexpected error occurs in the processing of a request.

AccessDeniedException:

Access to the requested resource is denied due to insufficient permissions.

ResourceNotFoundException:

The requested resource could not be found.

ThrottlingException:

The request was throttled due to too many requests. Please slow down and try again.

InvalidParameterException:

One or more parameters provided in the request are invalid.

Shapes

AWSConfiguration

Description

Configuration for AWS monitor account integration, allowing AIDevOps to monitor AWS resources.

Members
accountId
Required: Yes
Type: string

AWS Account Id corresponding to provided resources.

accountType
Required: Yes
Type: string

Account Type 'monitor' for AIDevOps monitoring.

assumableRoleArn
Required: Yes
Type: string

Role ARN to be assumed by AIDevOps to operate on behalf of customer.

AccessDeniedException

Description

Access to the requested resource is denied due to insufficient permissions.

Members
message
Required: Yes
Type: string

Detailed error message describing why access was denied.

AdditionalServiceDetails

Description

Union of service-specific details for different service types.

Members
azuredevops

Azure DevOps specific service details.

azureidentity

Azure identity details for services using Azure authentication.

github

GitHub-specific service details.

gitlab

GitLab-specific service details.

mcpserver
Type: RegisteredMCPServerDetails structure

MCP server-specific service details.

mcpserverdatadog
Type: RegisteredMCPServerDetails structure

Datadog MCP server-specific service details.

mcpservergrafana

Grafana MCP server-specific service details.

mcpservernewrelic
Type: RegisteredNewRelicDetails structure

New Relic MCP server-specific service details.

mcpserversigv4

SigV4-authenticated MCP server-specific service details.

mcpserversplunk
Type: RegisteredMCPServerDetails structure

Splunk MCP server-specific service details.

pagerduty
Type: RegisteredPagerDutyDetails structure

Pagerduty service details.

servicenow
Type: RegisteredServiceNowDetails structure

ServiceNow-specific service details.

slack

Slack-specific service details.

AdditionalServiceRegistrationStep

Description

Additional steps required to complete service registration.

Members
oauth
Type: OAuthAdditionalStepDetails structure

OAuth authorization step required.

AgentSpace

Description

Represents a complete AgentSpace with all its properties, timestamps, encryption settings, and unique identifier.

Members
agentSpaceId
Required: Yes
Type: string

The unique identifier of the AgentSpace

createdAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp when the resource was created.

description
Type: string

The description of the AgentSpace.

kmsKeyArn
Type: string

The ARN of the AWS Key Management Service (AWS KMS) customer managed key that's used to encrypt resources.

locale
Type: string

The locale for the AgentSpace, which determines the language used in agent responses.

name
Required: Yes
Type: string

The name of the AgentSpace.

updatedAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp when the resource was last updated.

AssistantMessageBlock

Description

A block of content in an assistant message.

Members
text
Type: string

Text content from the assistant.

toolUse
Type: document (null|bool|string|numeric) or an (array|associative array) whose members are all valid documents

Tool use request from the assistant.

Association

Description

Represents a service association within an AgentSpace, defining how the agent interacts with external services.

Members
agentSpaceId
Required: Yes
Type: string

The unique identifier of the AgentSpace

associationId
Required: Yes
Type: string

The unique identifier of the given association.

configuration
Required: Yes
Type: ServiceConfiguration structure

The configuration that directs how AgentSpace interacts with the given service.

createdAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp when the resource was created.

serviceId
Required: Yes
Type: string

The identifier for associated service

status
Type: string

Validation status

updatedAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp when the resource was last updated.

AzureConfiguration

Description

Configuration for Azure subscription integration.

Members
subscriptionId
Required: Yes
Type: string

Azure subscription ID corresponding to provided resources.

AzureDevOpsConfiguration

Description

Configuration for Azure DevOps project integration.

Members
organizationName
Required: Yes
Type: string

Azure DevOps organization name.

projectId
Required: Yes
Type: string

Azure DevOps project ID.

projectName
Required: Yes
Type: string

Azure DevOps project name.

ChatExecution

Description

A single chat execution summary

Members
createdAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

Timestamp when the chat was created

executionId
Required: Yes
Type: string

The unique identifier for the execution

summary
Type: string

Summary or title of the chat

updatedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

Timestamp when the chat was last updated

ChatParticipantConnection

Description

Represents a chat participant connection with all its properties and metadata

Members
initialContactId
Required: Yes
Type: string

The identifier of the contact in this instance of Amazon Connect

participantId
Required: Yes
Type: string

The identifier for a chat participant

participantToken
Required: Yes
Type: string

The token used by the chat participant to call CreateParticipantConnection

ConflictException

Description

The request conflicts with the current state of the resource.

Members
message
Required: Yes
Type: string

Detailed error message describing the conflict.

ContentSizeExceededException

Description

This exception is thrown when the content size exceeds the allowed limit.

Members
message
Required: Yes
Type: string

DatadogAuthorizationConfig

Description

Authorization configuration for Datadog MCP server (uses authorization discovery only).

Members
authorizationDiscovery

Datadog MCP server authorization discovery configuration.

DatadogServiceDetails

Description

Complete service details for Datadog MCP server integration.

Members
authorizationConfig
Required: Yes
Type: DatadogAuthorizationConfig structure

Datadog MCP server authorization configuration (only authorization discovery is supported).

description
Type: string

Optional description for the MCP server.

endpoint
Required: Yes
Type: string

MCP server endpoint URL.

name
Required: Yes
Type: string

MCP server name.

Document

Members

DynatraceConfiguration

Description

Configuration for Dynatrace monitoring integration.

Members
envId
Required: Yes
Type: string

Dynatrace environment id

resources
Type: Array of strings

List of Dynatrace resources to monitor

DynatraceOAuthClientCredentialsConfig

Description

OAuth client credentials configuration for Dynatrace.

Members
clientId
Required: Yes
Type: string

OAuth client ID for authenticating with the service.

clientName
Type: string

User friendly OAuth client name specified by end user.

clientSecret
Required: Yes
Type: string

OAuth client secret for authenticating with the service.

exchangeParameters
Type: Associative array of custom strings keys (String) to strings

OAuth token exchange parameters for authenticating with the service.

DynatraceServiceAuthorizationConfig

Description

Authorization configuration options for Dynatrace service.

Members
oAuthClientCredentials

OAuth client credentials configuration.

DynatraceServiceDetails

Description

Complete service details for Dynatrace integration.

Members
accountUrn
Required: Yes
Type: string

Dynatrace resource account urn.

authorizationConfig

Dynatrace OAuth client credentials configuration. Use this when registering with OAuth client credentials flow.

EventChannelConfiguration

Description

Configuration for Event Channel integration.

Members

EventChannelDetails

Description

Service details for Event Channel integration.

Members
type
Type: string

The type of event channel

Execution

Description

Represents an execution instance with its lifecycle information

Members
agentSpaceId
Required: Yes
Type: string

The unique identifier for the agent space containing this execution

agentSubTask
Required: Yes
Type: string

The specific subtask being executed by the agent

agentType
Type: string

The type of agent that performed this execution.

createdAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

Timestamp when this execution was created

executionId
Required: Yes
Type: string

The unique identifier for this execution

executionStatus
Required: Yes
Type: string

The current status of this execution

parentExecutionId
Type: string

The identifier of the parent execution, if this is a child execution

uid
Type: string

The unique identifier for the user session associated with this execution

updatedAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

Timestamp when this execution was last updated

GenericWebhook

Description

Generic webhook configuration for services that support webhook notifications.

Members
apiKey
Type: string

API Key for API Key webhook authentication

webhookId
Type: string

The unique webhook identifier

webhookSecret
Type: string

The webhook secret for authentication

webhookType
Type: string

The webhook authentication type

webhookUrl
Type: string

The webhook URL endpoint

GitHubConfiguration

Description

Configuration for GitHub repository integration.

Members
instanceIdentifier
Type: string

GitHub instance identifier (e.g., github.com or github.enterprise.com)

owner
Required: Yes
Type: string

The GitHub repository owner name.

ownerType
Required: Yes
Type: string

Type of GitHub repository owner.

repoId
Required: Yes
Type: string

Associated Github repo ID

repoName
Required: Yes
Type: string

Associated Github repo name

GitLabConfiguration

Description

Configuration for GitLab project integration.

Members
instanceIdentifier
Type: string

GitLab instance identifier (e.g., gitlab.com or e2e.gamma.dev.us-east-1.gitlab.falco.ai.aws.dev)

projectId
Required: Yes
Type: string

GitLab numeric project ID.

projectPath
Required: Yes
Type: string

Full GitLab project path (e.g., namespace/project-name).

GitLabDetails

Description

Service details for GitLab integration.

Members
groupId
Type: string

Optional GitLab group ID for group-level access tokens

targetUrl
Required: Yes
Type: string

GitLab instance URL (e.g., https://gitlab.com or self-hosted instance).

tokenType
Required: Yes
Type: string

Type of GitLab access token

tokenValue
Required: Yes
Type: string

GitLab access token value

Goal

Description

Represents a goal with all its properties and metadata

Members
agentSpaceArn
Required: Yes
Type: string

The unique identifier for the agent space containing this goal

content
Required: Yes
Type: GoalContent structure

Content of the goal

createdAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

Timestamp when this goal was created

evaluationSchedule
Type: GoalSchedule structure

Goal Schedule. Allows to schedule the goal to run periodically, as well as disable a goal temporarily

goalId
Required: Yes
Type: string

The unique identifier for this goal

goalType
Required: Yes
Type: string

Type of goal based on its origin

lastEvaluatedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

Timestamp when the goal was last evaluated

lastSuccessfulTaskId
Type: string

ID of the most recent successful task associated with this goal

lastTaskId
Type: string

ID of the most recent task associated with this goal

status
Required: Yes
Type: string

Current status of the goal itself

title
Required: Yes
Type: string

The title of the goal

updatedAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

Timestamp when this goal was last updated

version
Required: Yes
Type: int

Version number for optimistic locking

GoalContent

Description

Content of a goal

Members
description
Required: Yes
Type: string

A detailed description of the goal.

objectives
Required: Yes
Type: string

The objectives to be achieved for this goal.

GoalSchedule

Description

Schedule configuration for goal evaluations

Members
expression
Type: string

Schedule expression (e.g., 'rate(7 days)')

state
Required: Yes
Type: string

Whether the schedule is enabled or disabled

GoalScheduleInput

Description

Schedule configuration for updating goal evaluations

Members
state
Required: Yes
Type: string

Whether the schedule is enabled or disabled

GrafanaServiceDetails

Description

Complete service details for Grafana MCP server integration.

Members
authorizationConfig
Required: Yes
Type: MCPServerAuthorizationConfig structure

Grafana MCP server authorization configuration (experimental).

description
Type: string

Optional description for the MCP server.

endpoint
Required: Yes
Type: string

MCP server endpoint URL.

name
Required: Yes
Type: string

MCP server name.

IamAuthConfiguration

Description

Configuration for IAM-based authentication flow for the Operator App.

Members
createdAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp when the Operator App IAM auth flow was enabled.

operatorAppRoleArn
Required: Yes
Type: string

The IAM role end users assume to access AIDevOps APIs

updatedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp when the Operator App IAM auth flow was updated.

IdcAuthConfiguration

Description

Configuration for AWS Identity Center (IdC) authentication flow for the Operator App.

Members
createdAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp when the Operator App IdC auth flow was enabled.

idcApplicationArn
Type: string

The IdC application Arn created for IdC auth

idcInstanceArn
Required: Yes
Type: string

The IdC instance Arn used to create an IdC auth application

operatorAppRoleArn
Required: Yes
Type: string

The IAM role end users assume to access AIDevOps APIs

updatedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp when the Operator App IdC auth flow was updated.

IdentityCenterServiceException

Description

Calls to the customer Identity Center have failed

Members
message
Required: Yes
Type: string

Detailed error message describing why the call fails

underlyingErrorCode
Type: string

The Idc error code

IdpAuthConfiguration

Description

Configuration for external Identity Provider OIDC authentication flow for the Operator App.

Members
clientId
Required: Yes
Type: string

The OIDC client ID for the IdP application

createdAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp when the Operator App IdP auth flow was enabled.

issuerUrl
Required: Yes
Type: string

The OIDC issuer URL of the external Identity Provider

operatorAppRoleArn
Required: Yes
Type: string

The IAM role end users assume to access AIDevOps APIs

provider
Required: Yes
Type: string

The Identity Provider name (e.g., Entra, Okta, Google)

updatedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp when the Operator App IdP auth flow was updated.

InternalServerException

Description

This exception is thrown when an unexpected error occurs in the processing of a request.

Members
message
Required: Yes
Type: string

InvalidParameterException

Description

One or more parameters provided in the request are invalid.

Members
message
Required: Yes
Type: string

Detailed error message describing which parameter is invalid and why.

JournalRecord

Description

Represents a journal record containing execution details and content

Members
agentSpaceId
Required: Yes
Type: string

The unique identifier for the agent space containing this record

content
Required: Yes
Type: document (null|bool|string|numeric) or an (array|associative array) whose members are all valid documents

The content of this journal record

createdAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

Timestamp when this journal record was created

executionId
Required: Yes
Type: string

The execution ID associated with this journal record

recordId
Required: Yes
Type: string

The unique identifier for this journal record

recordType
Required: Yes
Type: string

The type of this journal record

userReference
Type: UserReference structure

Reference to the user associated with this journal record

MCPServerAPIKeyConfig

Description

API key configuration for MCP server.

Members
apiKeyHeader
Required: Yes
Type: string

HTTP header name to send the API key in requests to the service.

apiKeyName
Required: Yes
Type: string

User friendly API key name specified by end user.

apiKeyValue
Required: Yes
Type: string

API key value for authenticating with the service.

MCPServerAuthorizationConfig

Description

Authorization configuration options for MCP server, supporting OAuth, API key, bearer token, and authorization discovery methods.

Members
apiKey
Type: MCPServerAPIKeyConfig structure

MCP server configuration with API key authentication.

authorizationDiscovery

MCP server authorization discovery configuration.

bearerToken
Type: MCPServerBearerTokenConfig structure

MCP server configuration with Bearer token (RFC 6750).

oAuth3LO
Type: MCPServerOAuth3LOConfig structure

MCP server configuration with OAuth 3LO.

oAuthClientCredentials

MCP server configuration with OAuth client credentials.

MCPServerAuthorizationDiscoveryConfig

Description

Authorization discovery configuration for MCP server.

Members
returnToEndpoint
Required: Yes
Type: string

The endpoint to return to after OAuth flow completes (must be AWS console domain)

MCPServerBearerTokenConfig

Description

Bearer token configuration for MCP server (RFC 6750).

Members
authorizationHeader
Type: string

HTTP header name to send the bearer token in requests to the service. Defaults to 'Authorization' per RFC 6750.

tokenName
Required: Yes
Type: string

User friendly bearer token name specified by end user.

tokenValue
Required: Yes
Type: string

Bearer token value in alphanumeric for authenticating with the service.

MCPServerDetails

Description

Complete service details for MCP server integration.

Members
authorizationConfig
Required: Yes
Type: MCPServerAuthorizationConfig structure

MCP server authorization configuration.

description
Type: string

Optional description for the MCP server.

endpoint
Required: Yes
Type: string

MCP server endpoint URL.

name
Required: Yes
Type: string

MCP server name.

MCPServerGrafanaConfiguration

Description

Configuration for Grafana MCP server integration, used with an AWS-hosted MCP server.

Members
endpoint
Required: Yes
Type: string

Grafana instance URL (e.g., https://your-instance.grafana.net)

organizationId
Type: string

The Grafana organization ID that can be used.

tools
Type: Array of strings

List of MCP tools that can be used.

MCPServerNewRelicConfiguration

Description

Mixin for webhook update support.

Members
accountId
Required: Yes
Type: string

New Relic Account ID

endpoint
Required: Yes
Type: string

MCP server endpoint URL (e.g., https://mcp.newrelic.com/mcp/)

MCPServerOAuth3LOConfig

Description

OAuth 3-legged authorization configuration for MCP server.

Members
authorizationUrl
Required: Yes
Type: string

OAuth authorization URL for 3LO authentication.

clientId
Required: Yes
Type: string

OAuth client ID for authenticating with the service.

clientName
Type: string

User friendly OAuth client name specified by end user.

clientSecret
Type: string

OAuth client secret for authenticating with the service. Required for confidential clients or when PKCE is not supported. Optional for public clients using PKCE.

exchangeParameters
Type: Associative array of custom strings keys (String) to strings

OAuth token exchange parameters for authenticating with the service.

exchangeUrl
Required: Yes
Type: string

OAuth token exchange URL.

returnToEndpoint
Required: Yes
Type: string

The endpoint to return to after OAuth flow completes (must be AWS console domain)

scopes
Type: Array of strings

OAuth scopes for 3LO authentication. The service will always request scope offline_access.

supportCodeChallenge
Type: boolean

Whether the service supports PKCE (Proof Key for Code Exchange) for enhanced security during the OAuth flow.

MCPServerOAuthClientCredentialsConfig

Description

OAuth client credentials configuration for MCP server.

Members
clientId
Required: Yes
Type: string

OAuth client ID for authenticating with the service.

clientName
Type: string

User friendly OAuth client name specified by end user.

clientSecret
Required: Yes
Type: string

OAuth client secret for authenticating with the service.

exchangeParameters
Type: Associative array of custom strings keys (String) to strings

OAuth token exchange parameters for authenticating with the service.

exchangeUrl
Required: Yes
Type: string

OAuth token exchange URL.

scopes
Type: Array of strings

OAuth scopes for 3LO authentication. The service will always request scope offline_access.

MCPServerSigV4AuthorizationConfig

Description

Authorization configuration for SigV4-authenticated MCP server.

Members
region
Required: Yes
Type: string

AWS region for SigV4 signing.

roleArn
Required: Yes
Type: string

IAM role ARN to assume for SigV4 signing.

service
Required: Yes
Type: string

AWS service name for SigV4 signing.

MCPServerSigV4ServiceDetails

Description

Complete service details for SigV4-authenticated MCP server integration.

Members
authorizationConfig
Required: Yes
Type: MCPServerSigV4AuthorizationConfig structure

MCP Server SigV4 authorization configuration.

description
Type: string

Optional description for the MCP server.

endpoint
Required: Yes
Type: string

MCP server endpoint URL.

name
Required: Yes
Type: string

MCP server name.

MSTeamsChannel

Description

Represents a Teams channel with its ID and name.

Members
channelId
Required: Yes
Type: string

MS Teams Channel ID

channelName
Required: Yes
Type: string

MS Teams channel name

MSTeamsConfiguration

Description

Configuration for MS Teams workspace integration.

Members
teamId
Required: Yes
Type: string

Associated MS Teams teams ID

teamName
Required: Yes
Type: string

Associated MS Teams team name

transmissionTarget
Required: Yes
Type: MSTeamsTransmissionTarget structure

Transmission targets for agent notification

MSTeamsTransmissionTarget

Description

Defines MS Teams channels for different types of agent notifications.

Members
opsOncallTarget
Type: MSTeamsChannel structure

Destination for On-call Agent(Ops1)

opsSRETarget
Type: MSTeamsChannel structure

Destination for SRE Agent (Ops1.5)

Message

Description

A message in a conversation, either from the user or the assistant.

Members
assistantMessage
Type: Array of AssistantMessageBlock structures

A message from the assistant.

userMessage
Type: Array of UserMessageBlock structures

A message from the user.

NewRelicApiKeyConfig

Description

API key authentication configuration for New Relic service.

Members
accountId
Required: Yes
Type: string

New Relic Account ID

alertPolicyIds
Type: Array of strings

List of alert policy IDs grouping related conditions

apiKey
Required: Yes
Type: string

New Relic User API Key

applicationIds
Type: Array of strings

List of monitored APM application IDs in New Relic

entityGuids
Type: Array of strings

List of globally unique IDs for New Relic resources (apps, hosts, services)

region
Required: Yes
Type: string

New Relic region (US or EU)

NewRelicServiceAuthorizationConfig

Description

Authorization configuration options for New Relic service.

Members
apiKey
Type: NewRelicApiKeyConfig structure

New Relic API Key authentication (apiKey, accountId, region).

NewRelicServiceDetails

Description

Complete service details for New Relic integration.

Members
authorizationConfig
Required: Yes
Type: NewRelicServiceAuthorizationConfig structure

New Relic MCP server authorization configuration.

OAuthAdditionalStepDetails

Description

Details for completing OAuth authorization step.

Members
authorizationUrl
Required: Yes
Type: string

The URL to redirect the user to for OAuth authorization.

PagerDutyAuthorizationConfig

Description

Authorization configuration options for PagerDuty service.

Members
oAuthClientCredentials

OAuth client credentials configuration.

PagerDutyConfiguration

Description

Configuration for Pagerduty integration.

Members
customerEmail
Required: Yes
Type: string

Email to be used in Pagerduty API header

services
Required: Yes
Type: Array of strings

List of Pagerduty service available for the association.

PagerDutyDetails

Description

Complete service details for PagerDuty integration

Members
authorizationConfig
Required: Yes
Type: PagerDutyAuthorizationConfig structure

PagerDuty authorization configuration

scopes
Required: Yes
Type: Array of strings

PagerDuty scopes.

PagerDutyOAuthClientCredentialsConfig

Description

OAuth client credentials configuration for PagerDuty.

Members
clientId
Required: Yes
Type: string

OAuth client ID for authenticating with the service.

clientName
Type: string

User friendly OAuth client name specified by end user.

clientSecret
Required: Yes
Type: string

OAuth client secret for authenticating with the service.

exchangeParameters
Type: Associative array of custom strings keys (String) to strings

OAuth token exchange parameters for authenticating with the service.

PendingMessage

Description

Represents a pending message in an agent execution.

Members
message
Required: Yes
Type: Message structure

The message content.

messageId
Required: Yes
Type: string

The unique identifier for this pending message.

PrivateConnectionMode

Description

Private Connection mode — either service-managed or self-managed.

Members
selfManaged
Type: SelfManagedInput structure

Caller manages their own resource configuration.

serviceManaged
Type: ServiceManagedInput structure

Service manages the Resource Gateway lifecycle.

PrivateConnectionSummary

Description

Summary of a Private Connection.

Members
certificateExpiryTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

The expiry time of the certificate associated with the Private Connection. Only present when a certificate is associated.

hostAddress
Type: string

IP address or DNS name of the target resource. Only present for service-managed Private Connections.

name
Required: Yes
Type: string

The name of the Private Connection.

resourceConfigurationId
Type: string

The Resource Configuration ARN. Only present for self-managed Private Connections.

resourceGatewayId
Type: string

The service-managed Resource Gateway ARN. Only present for service-managed Private Connections.

status
Required: Yes
Type: string

The status of the Private Connection.

type
Required: Yes
Type: string

The type of the Private Connection.

vpcId
Type: string

VPC identifier of the service-managed Resource Gateway. Only present for service-managed Private Connections.

Recommendation

Description

Represents a recommendation with all its properties and metadata

Members
additionalContext
Type: string

Additional context for recommendation

agentSpaceArn
Required: Yes
Type: string

ARN of the agent space this recommendation belongs to

content
Required: Yes
Type: RecommendationContent structure

Content of the recommendation

createdAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

Timestamp when this recommendation was created

goalId
Type: string

ID of the goal this recommendation is associated with

goalVersion
Type: long (int|float)

Version of the goal at the time this recommendation was generated

priority
Required: Yes
Type: string

Priority level of the recommendation

recommendationId
Required: Yes
Type: string

The unique identifier for this recommendation

status
Required: Yes
Type: string

Current status of the recommendation

taskId
Required: Yes
Type: string

ID of the task that generated the recommendation

title
Required: Yes
Type: string

The title of the recommendation

updatedAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

Timestamp when this recommendation was last updated

version
Required: Yes
Type: long (int|float)

Version number for optimistic locking

RecommendationContent

Description

Content of a recommendation

Members
spec
Type: string

Agent-ready specification with detailed implementation steps

summary
Required: Yes
Type: string

A brief summary of the recommendation.

ReferenceInput

Description

Reference information linking a task to external systems - for input with validation

Members
associationId
Required: Yes
Type: string

Association identifier of the external system

referenceId
Required: Yes
Type: string

The unique identifier in the external system

referenceUrl
Required: Yes
Type: string

URL to access the reference in the external system

system
Required: Yes
Type: string

The name of the external system

title
Type: string

Optional title for the reference

ReferenceOutput

Description

Reference information linking a task to external systems - for output without validation

Members
associationId
Required: Yes
Type: string

Association identifier of the external system

referenceId
Required: Yes
Type: string

The unique identifier in the external system

referenceUrl
Required: Yes
Type: string

URL to access the reference in the external system

system
Required: Yes
Type: string

The name of the external system

title
Type: string

Optional title for the reference

RegisteredAzureDevOpsServiceDetails

Description

Details specific to a registered Azure DevOps service.

Members
organizationName
Required: Yes
Type: string

The Azure DevOps Organization name associated with the service.

RegisteredAzureIdentityDetails

Description

Details specific to a registered Azure identity using AWS Outbound Identity Federation.

Members
clientId
Required: Yes
Type: string

The client ID of the service principal or managed identity used for authentication.

tenantId
Required: Yes
Type: string

The Azure Active Directory tenant ID for the identity.

webIdentityRoleArn
Required: Yes
Type: string

The role ARN to be assumed by DevOps Agent for requesting Web Identity Token.

webIdentityTokenAudiences
Required: Yes
Type: Array of strings

The audiences for the Web Identity Token.

RegisteredGitLabServiceDetails

Description

Details specific to a registered GitLab instance.

Members
groupId
Type: string

Optional GitLab group ID for group-level access tokens

targetUrl
Required: Yes
Type: string

The GitLab instance URL.

tokenType
Required: Yes
Type: string

Type of GitLab access token

RegisteredGithubServiceDetails

Description

Details specific to a registered GitHub service.

Members
owner
Required: Yes
Type: string

The GitHub repository owner name.

ownerType
Required: Yes
Type: string

The GitHub repository owner type.

targetUrl
Type: string

The GitHub Enterprise Server instance URL (absent for github.com).

RegisteredGrafanaServerDetails

Description

Details specific to a registered Grafana server, used by the built-in MCP server.

Members
authorizationMethod
Required: Yes
Type: string

The authz method used by the MCP server.

endpoint
Required: Yes
Type: string

Grafana instance URL (e.g., https://your-instance.grafana.net)

RegisteredMCPServerDetails

Description

Details specific to a registered MCP (Model Context Protocol) server.

Members
apiKeyHeader
Type: string

If the MCP server uses API key authentication, these details are provided.

authorizationMethod
Required: Yes
Type: string

The MCP server uses this authorization method.

description
Type: string

Optional description for the MCP server.

endpoint
Required: Yes
Type: string

The MCP server endpoint URL.

name
Required: Yes
Type: string

The MCP server name.

RegisteredMCPServerSigV4Details

Description

Details specific to a registered SigV4-authenticated MCP server.

Members
description
Type: string

Optional description for the MCP server.

endpoint
Required: Yes
Type: string

MCP server endpoint URL.

name
Required: Yes
Type: string

MCP server name.

region
Required: Yes
Type: string

AWS region for SigV4 signing.

roleArn
Required: Yes
Type: string

IAM role ARN to assume for SigV4 signing.

service
Required: Yes
Type: string

AWS service name for SigV4 signing.

RegisteredNewRelicDetails

Description

Details specific to a registered NewRelic instance.

Members
accountId
Required: Yes
Type: string

The NewRelic account ID.

description
Type: string

Optional user description.

region
Required: Yes
Type: string

The NewRelic region (determines API endpoint).

RegisteredPagerDutyDetails

Description

Details specific to a registered PagerDuty service.

Members
scopes
Required: Yes
Type: Array of strings

The scopes that were assigned to the service

RegisteredService

Description

Represents a registered service with its configuration and accessible resources.

Members
accessibleResources
Type: Array of document (null|bool|string|numeric) or an (array|associative array) whose members are all valid documentss

List of accessible resources for this service.

additionalServiceDetails
Type: AdditionalServiceDetails structure

Additional details specific to the service type.

kmsKeyArn
Type: string

The ARN of the AWS Key Management Service (AWS KMS) customer managed key that's used to encrypt resources.

name
Type: string

The display name of the registered service.

privateConnectionName
Type: string

The name of the private connection used for VPC connectivity.

serviceId
Required: Yes
Type: string

The unique identifier of a service.

serviceType
Required: Yes
Type: string

The service type e.g github or dynatrace

RegisteredServiceNowDetails

Description

Details specific to a registered ServiceNow instance.

Members
instanceUrl
Type: string

The ServiceNow instance url

RegisteredSlackServiceDetails

Description

Details specific to a registered Slack workspace.

Members
teamId
Required: Yes
Type: string

The Slack team ID.

teamName
Required: Yes
Type: string

The Slack team name.

ResourceNotFoundException

Description

The requested resource could not be found.

Members
message
Required: Yes
Type: string

Detailed error message describing which resource was not found.

SelfManagedInput

Description

Configuration for a self-managed Private Connection.

Members
certificate
Type: string

Certificate for the Private Connection.

resourceConfigurationId
Required: Yes
Type: string

The ARN of the Resource Configuration.

SendMessageContentBlockDelta

Description

Union of possible delta payloads within a content block delta event

Members
jsonDelta
Type: SendMessageJsonDelta structure

JSON delta for structured content blocks

textDelta
Type: SendMessageTextDelta structure

Text delta for text-based content blocks

SendMessageContentBlockDeltaEvent

Description

Event emitted for each incremental content delta within a content block

Members
delta

The incremental content delta

index
Type: int

Zero-based index of the content block

sequenceNumber
Type: int

Event sequence number

SendMessageContentBlockStartEvent

Description

Event emitted when a new content block starts

Members
id
Type: string

Block identifier

index
Type: int

Zero-based index of the content block

parentId
Type: string

Optional parent block ID for nested content blocks (e.g. subagent tool calls)

sequenceNumber
Type: int

Event sequence number

type
Type: string

The type of content in this block

SendMessageContentBlockStopEvent

Description

Event emitted when a content block is complete

Members
index
Type: int

Zero-based index of the content block

last
Type: boolean

Whether this is the final content block in the response

sequenceNumber
Type: int

Event sequence number

text
Type: string

The accumulated complete content text

type
Type: string

The type of content in this block

SendMessageContext

Description

Context object for additional message metadata

Members
currentPage
Type: string

The current page or view the user is on

lastMessage
Type: string

The ID of the last message in the conversation

userActionResponse
Type: string

Response to a UI prompt (not a text conversation message)

SendMessageEvents

Description

Event stream for chat message responses using the content block model. Events follow a lifecycle: responseCreated -> responseInProgress -> (contentBlockStart/contentBlockDelta/contentBlockStop events) -> responseCompleted|responseFailed

SendMessage always uses content block mode — legacy per-field events (outputTextDelta, functionCallArgumentsDelta, etc.) are not emitted.

Members
contentBlockDelta

Emitted for each incremental content delta within a content block

contentBlockStart

Emitted when a new content block starts

contentBlockStop

Emitted when a content block is complete

heartbeat
Type: SendMessageHeartbeatEvent structure

Heartbeat event sent periodically to keep the connection alive during idle periods

responseCompleted

Emitted when the response completes successfully

responseCreated

Emitted when the response is created

responseFailed

Emitted when the response fails

responseInProgress

Emitted while the response is being generated

summary
Type: SendMessageSummaryEvent structure

Emitted to provide a summary of agent actions

SendMessageHeartbeatEvent

Description

Heartbeat event to keep connection alive

Members

SendMessageJsonDelta

Description

JSON delta containing partial JSON

Members
partialJson
Type: string

Partial JSON string

SendMessageResponseCompletedEvent

Description

Event emitted when the response completes successfully

Members
responseId
Type: string

The response ID

sequenceNumber
Type: int

Event sequence number

usage
Type: SendMessageUsageInfo structure

Token usage information

SendMessageResponseCreatedEvent

Description

Event emitted when the response is created

Members
responseId
Type: string

The response ID

sequenceNumber
Type: int

Event sequence number

SendMessageResponseFailedEvent

Description

Event emitted when the response fails

Members
errorCode
Type: string

Error code

errorMessage
Type: string

Error message

responseId
Type: string

The response ID

sequenceNumber
Type: int

Event sequence number

SendMessageResponseInProgressEvent

Description

Event emitted while the response is being generated

Members
responseId
Type: string

The response ID

sequenceNumber
Type: int

Event sequence number

SendMessageSummaryEvent

Description

Event summarizing agent actions

Members
content
Type: string

Summary content

sequenceNumber
Type: int

Event sequence number

SendMessageTextDelta

Description

Text delta containing a text fragment

Members
text
Type: string

The text fragment

SendMessageUsageInfo

Description

Token usage information

Members
inputTokens
Type: int

Number of input tokens

outputTokens
Type: int

Number of output tokens

totalTokens
Type: int

Total tokens used

ServiceConfiguration

Description

Union of all supported service configuration types. Each service has its own specific configuration structure.

Members
aws
Type: AWSConfiguration structure

AWS monitor account configuration.

azure
Type: AzureConfiguration structure

Azure subscription integration configuration.

azuredevops
Type: AzureDevOpsConfiguration structure

Azure DevOps project integration configuration.

dynatrace
Type: DynatraceConfiguration structure

Dynatrace monitoring integration configuration.

eventChannel
Type: EventChannelConfiguration structure

Event Channel instance integration configuration.

github
Type: GitHubConfiguration structure

GitHub repository integration configuration.

gitlab
Type: GitLabConfiguration structure

GitLab project integration configuration.

mcpservergrafana

Grafana MCP server integration configuration.

mcpservernewrelic

NewRelic instance integration configuration.

msteams
Type: MSTeamsConfiguration structure

MS Teams integration configuration

pagerduty
Type: PagerDutyConfiguration structure

PagerDuty integration configuration

servicenow
Type: ServiceNowConfiguration structure

ServiceNow instance integration configuration.

slack
Type: SlackConfiguration structure

Slack workspace integration configuration.

sourceAws
Type: SourceAwsConfiguration structure

AWS source account configuration for monitoring resources.

ServiceDetails

Description

Union of service-specific configuration details for service registration.

Members
azureidentity

Azure integration with AWS Outbound Identity Federation specific service details.

dynatrace
Type: DynatraceServiceDetails structure

Dynatrace-specific service details.

eventChannel
Type: EventChannelDetails structure

Event Channel specific service details.

gitlab
Type: GitLabDetails structure

GitLab-specific service details.

mcpserver
Type: MCPServerDetails structure

MCP server-specific service details.

mcpserverdatadog
Type: DatadogServiceDetails structure

Datadog MCP server-specific service details.

mcpservergrafana
Type: GrafanaServiceDetails structure

Datadog MCP server-specific service details.

mcpservernewrelic
Type: NewRelicServiceDetails structure

New Relic-specific service details.

mcpserversigv4

SigV4-authenticated MCP server-specific service details.

mcpserversplunk
Type: MCPServerDetails structure

Splunk MCP server-specific service details.

pagerduty
Type: PagerDutyDetails structure

PagerDuty specific service details.

servicenow
Type: ServiceNowServiceDetails structure

ServiceNow-specific service details.

ServiceManagedInput

Description

Configuration for a service-managed Private Connection.

Members
certificate
Type: string

Certificate for the Private Connection.

hostAddress
Required: Yes
Type: string

IP address or DNS name of the target resource.

ipAddressType
Type: string

IP address type of the service-managed Resource Gateway.

ipv4AddressesPerEni
Type: int

Number of IPv4 addresses in each ENI for the service-managed Resource Gateway.

portRanges
Type: Array of strings

TCP port ranges that a consumer can use to access the resource.

securityGroupIds
Type: Array of strings

Security groups to attach to the service-managed Resource Gateway. If not specified, a default security group is created.

subnetIds
Required: Yes
Type: Array of strings

Subnets that the service-managed Resource Gateway will span.

vpcId
Required: Yes
Type: string

VPC to create the service-managed Resource Gateway in.

ServiceNowConfiguration

Description

Configuration for ServiceNow instance integration.

Members
authScopes
Type: Array of strings

Scoped down authentication scopes for fine grained control

instanceId
Type: string

ServiceNow instance ID

ServiceNowOAuthClientCredentialsConfig

Description

OAuth client credentials configuration for ServiceNow.

Members
clientId
Required: Yes
Type: string

OAuth client ID for authenticating with the service.

clientName
Type: string

User friendly OAuth client name specified by end user.

clientSecret
Required: Yes
Type: string

OAuth client secret for authenticating with the service.

exchangeParameters
Type: Associative array of custom strings keys (String) to strings

OAuth token exchange parameters for authenticating with the service.

ServiceNowServiceAuthorizationConfig

Description

Authorization configuration options for ServiceNow service.

Members
oAuthClientCredentials

OAuth client credentials configuration.

ServiceNowServiceDetails

Description

Complete service details for ServiceNow integration.

Members
authorizationConfig

ServiceNow OAuth client credentials configuration. Use this when registering with OAuth client credentials flow.

instanceUrl
Required: Yes
Type: string

ServiceNow instance URL.

ServiceQuotaExceededException

Description

The request would exceed the service quota limit.

Members
message
Required: Yes
Type: string

Detailed error message describing which quota was exceeded.

SlackChannel

Description

Represents a Slack channel with its ID and optional name.

Members
channelId
Required: Yes
Type: string

Slack channel ID

channelName
Type: string

Slack channel name

SlackConfiguration

Description

Configuration for Slack workspace integration.

Members
transmissionTarget
Required: Yes
Type: SlackTransmissionTarget structure

Transmission targets for agent notifications

workspaceId
Required: Yes
Type: string

Associated Slack workspace ID

workspaceName
Required: Yes
Type: string

Associated Slack workspace name

SlackTransmissionTarget

Description

Defines Slack channels for different types of agent notifications.

Members
opsOncallTarget
Required: Yes
Type: SlackChannel structure

Destination for On-call Agent (Ops1)

opsSRETarget
Type: SlackChannel structure

Destination for SRE Agent (Ops1.5)

SourceAwsConfiguration

Description

Configuration for AWS source account integration. Note: passRole check on 'assumableRoleArn' is not supported.

Members
accountId
Required: Yes
Type: string

AWS Account Id corresponding to provided resources.

accountType
Required: Yes
Type: string

Account Type 'source' for AIDevOps monitoring.

assumableRoleArn
Required: Yes
Type: string

Role ARN to be assumed by AIDevOps to operate on behalf of customer.

externalId
Type: string

External ID for additional security when assuming the role. Used to prevent the confused deputy problem.

SupportLevel

Description

Represents a support level with all its properties and metadata

Members
code
Required: Yes
Type: string

The support level code

name
Required: Yes
Type: string

The support level name

Task

Description

Represents a backlog task with all its properties and metadata

Members
agentSpaceId
Required: Yes
Type: string

The unique identifier for the agent space containing this task

createdAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

Timestamp when this task was created

description
Type: string

Optional detailed description of the task

executionId
Type: string

The execution ID associated with this task, if any

hasLinkedTasks
Type: boolean

Indicates if this task has other tasks linked to it

metadata
Type: document (null|bool|string|numeric) or an (array|associative array) whose members are all valid documents

Optional metadata for the task

primaryTaskId
Type: string

The task ID of the primary investigation this task is linked to

priority
Required: Yes
Type: string

The priority level of this task

reference
Type: ReferenceOutput structure

Optional reference information linking this task to external systems

status
Required: Yes
Type: string

The current status of this task

statusReason
Type: string

Explanation for why the task status was changed (e.g., linked reason)

supportMetadata
Type: document (null|bool|string|numeric) or an (array|associative array) whose members are all valid documents

Optional support metadata for the task

taskId
Required: Yes
Type: string

The unique identifier for this task

taskType
Required: Yes
Type: string

The type of this task

title
Required: Yes
Type: string

The title of the task

updatedAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

Timestamp when this task was last updated

version
Required: Yes
Type: int

Version number for optimistic locking

TaskFilter

Description

Filter criteria for listing backlog tasks, supporting time range, priority, status, and type filters.

Members
createdAfter
Type: timestamp (string|DateTime or anything parsable by strtotime)

Filter for tasks created after this timestamp inclusive

createdBefore
Type: timestamp (string|DateTime or anything parsable by strtotime)

Filter for tasks created before this timestamp exclusive

primaryTaskId
Type: string

Filter by primary task ID to get linked tasks

priority
Type: Array of strings

Filter by priority (single value only)

status
Type: Array of strings

Filter by status (single value only)

taskType
Type: Array of strings

Filter by task type (single value only)

ThrottlingException

Description

The request was throttled due to too many requests. Please slow down and try again.

Members
message
Required: Yes
Type: string

Detailed error message describing the throttling condition.

UsageMetric

Description

Represents a usage metric with its configured limit and current usage value.

Members
limit
Required: Yes
Type: int

Configured limit for this metric.

usage
Required: Yes
Type: double

Current usage for this metric

UserMessageBlock

Description

A block of content in a user message.

Members
text
Type: string

Text content from the user.

toolResult
Type: document (null|bool|string|numeric) or an (array|associative array) whose members are all valid documents

Tool execution result provided by the user.

UserReference

Description

Reference to a user in the system

Members
userId
Required: Yes
Type: string

The unique identifier for the user

userType
Required: Yes
Type: string

The type of user

ValidationException

Description

A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.

Members
fieldList
Type: Array of ValidationExceptionField structures

A list of specific failures encountered while validating the input. A member can appear in this list more than once if it failed to satisfy multiple constraints.

message
Required: Yes
Type: string

A summary of the validation failure.

ValidationExceptionField

Description

Describes one specific validation failure for an input member.

Members
message
Required: Yes
Type: string

A detailed description of the validation failure.

path
Required: Yes
Type: string

A JSONPointer expression to the structure member whose value failed to satisfy the modeled constraints.

Webhook

Description

Represents a complete Webhook with all its properties, and unique identifier.

Members
webhookId
Required: Yes
Type: string

The unique identifier of the Webhook

webhookType
Type: string

Webhook authentication type.

webhookUrl
Required: Yes
Type: string

Webhook endpoint URL.