Waiting for engine...
Skip to main content

aiAgentTasks

Retrieve a paginated list of AI Agent Tasks for a specific provider account.

Description: This query returns a paginated list of AI Agent Tasks that belong to the specified provider account and are accessible for the logged-in IDP account.

Input Parameters (AiAgentTasksQueryInput):

  • providerAccountId: ID! - Required. The unique identifier of the AI Agent Provider account.
  • pageIndex: Int - Optional. Page index for pagination (must not be negative). Default is 0.
  • pageSize: Int - Optional. Number of items per page (must be greater than 0). Default is 10.

Response (AiAgentTasksQueryResponse):

  • numberOfResults: Long - Total number of tasks available for the specified provider account.
  • pageIndex: Int - Page index for pagination.
  • currentPageSize: Int - Number of tasks in the current page.
  • aiAgentTasks: [AiAgentTask!] - Array of AI Agent Tasks.

Example Request:

query {
aiAgentTasks(input: {
providerAccountId: "ai-registry-account-12345",
pageIndex: 0,
pageSize: 10
}) {
numberOfResults
pageIndex
currentPageSize
aiAgentTasks {
id
externalId
name
description
version
taskStatus
metaData
}
agentVersions {
id
name
version
}
tags {
id
key
value
}
tools {
id
name
description
toolType
status
}
syncData {
lastSyncStatus
lastSyncStartDate
lastSyncEndDate
}
auditData {
createdByUserId
createdTime
modifiedByUserId
modifiedTime
updatedByOrigin
updatedAtProviderTime
}
}
}
}

aiAgentTasks(
input: AiAgentTasksQueryInput!
): AiAgentTasksQueryResponse

Arguments

aiAgentTasks.input ● AiAgentTasksQueryInput! non-null input agent-control-tower

Type

AiAgentTasksQueryResponse object agent-control-tower

Response type for tasks list with pagination.

On this Page