diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2024-01-12 21:08:59 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2024-01-12 21:08:59 +0300 |
commit | bb5a73d8962c28abeef59ea3d6e90f4b2e370f36 (patch) | |
tree | f83de42bc46951514a3bda5f9b221a1be3acd72b /doc/api | |
parent | 8b5595e9f1b9e46c97a69bfc0dc109658d5dbea2 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/api')
-rw-r--r-- | doc/api/graphql/reference/index.md | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/doc/api/graphql/reference/index.md b/doc/api/graphql/reference/index.md index 22cb7531a87..fd7ff91c6eb 100644 --- a/doc/api/graphql/reference/index.md +++ b/doc/api/graphql/reference/index.md @@ -1393,6 +1393,31 @@ Input type: `AiActionInput` | <a id="mutationaiactionerrors"></a>`errors` | [`[String!]!`](#string) | Errors encountered during execution of the mutation. | | <a id="mutationaiactionrequestid"></a>`requestId` | [`String`](#string) | ID of the request. | +### `Mutation.aiAgentCreate` + +WARNING: +**Introduced** in 16.8. +This feature is an Experiment. It can be changed or removed at any time. + +Input type: `AiAgentCreateInput` + +#### Arguments + +| Name | Type | Description | +| ---- | ---- | ----------- | +| <a id="mutationaiagentcreateclientmutationid"></a>`clientMutationId` | [`String`](#string) | A unique identifier for the client performing the mutation. | +| <a id="mutationaiagentcreatename"></a>`name` | [`String!`](#string) | Name of the agent. | +| <a id="mutationaiagentcreateprojectpath"></a>`projectPath` | [`ID!`](#id) | Project to which the agent belongs. | +| <a id="mutationaiagentcreateprompt"></a>`prompt` | [`String!`](#string) | Prompt for the agent. | + +#### Fields + +| Name | Type | Description | +| ---- | ---- | ----------- | +| <a id="mutationaiagentcreateagent"></a>`agent` | [`AiAgent`](#aiagent) | Agent after mutation. | +| <a id="mutationaiagentcreateclientmutationid"></a>`clientMutationId` | [`String`](#string) | A unique identifier for the client performing the mutation. | +| <a id="mutationaiagentcreateerrors"></a>`errors` | [`[String!]!`](#string) | Errors encountered during execution of the mutation. | + ### `Mutation.alertSetAssignees` Input type: `AlertSetAssigneesInput` @@ -14412,6 +14437,43 @@ Information about a connected Agent. | <a id="agentmetadatapodnamespace"></a>`podNamespace` | [`String`](#string) | Namespace of the pod running the Agent. | | <a id="agentmetadataversion"></a>`version` | [`String`](#string) | Agent version tag. | +### `AiAgent` + +An AI agent. + +#### Fields + +| Name | Type | Description | +| ---- | ---- | ----------- | +| <a id="aiagent_links"></a>`_links` | [`AiAgentLinks!`](#aiagentlinks) | Map of links to perform actions on the agent. | +| <a id="aiagentcreatedat"></a>`createdAt` | [`Time!`](#time) | Date of creation. | +| <a id="aiagentid"></a>`id` | [`ID!`](#id) | ID of the agent. | +| <a id="aiagentname"></a>`name` | [`String!`](#string) | Name of the agent. | +| <a id="aiagentversions"></a>`versions` | [`[AiAgentVersion!]`](#aiagentversion) | Versions of the agent. | + +### `AiAgentLinks` + +Represents links to perform actions on the agent. + +#### Fields + +| Name | Type | Description | +| ---- | ---- | ----------- | +| <a id="aiagentlinksshowpath"></a>`showPath` | [`String`](#string) | Path to the details page of the agent. | + +### `AiAgentVersion` + +Version of an AI Agent. + +#### Fields + +| Name | Type | Description | +| ---- | ---- | ----------- | +| <a id="aiagentversioncreatedat"></a>`createdAt` | [`Time!`](#time) | Timestamp when the agent version was created. | +| <a id="aiagentversionid"></a>`id` | [`ID!`](#id) | ID of the agent version. | +| <a id="aiagentversionmodel"></a>`model` | [`String!`](#string) | Model of the agent. | +| <a id="aiagentversionprompt"></a>`prompt` | [`String!`](#string) | Prompt of the agent. | + ### `AiMessage` AI features communication message. |