diff options
Diffstat (limited to 'doc/api')
-rw-r--r-- | doc/api/graphql/reference/index.md | 68 | ||||
-rw-r--r-- | doc/api/plan_limits.md | 10 |
2 files changed, 73 insertions, 5 deletions
diff --git a/doc/api/graphql/reference/index.md b/doc/api/graphql/reference/index.md index c27075a9a53..4bed7bcd634 100644 --- a/doc/api/graphql/reference/index.md +++ b/doc/api/graphql/reference/index.md @@ -36,6 +36,27 @@ in [Removed Items](../removed_items.md). The `Query` type contains the API's top-level entry points for all executable queries. +### `Query.aiMessages` + +Find AI messages. + +WARNING: +**Introduced** in 16.1. +This feature is an Experiment. It can be changed or removed at any time. + +Returns [`AiCachedMessageTypeConnection!`](#aicachedmessagetypeconnection). + +This field returns a [connection](#connections). It accepts the +four standard [pagination arguments](#connection-pagination-arguments): +`before: String`, `after: String`, `first: Int`, `last: Int`. + +#### Arguments + +| Name | Type | Description | +| ---- | ---- | ----------- | +| <a id="queryaimessagesrequestids"></a>`requestIds` | [`[ID!]`](#id) | Array of request IDs to fetch. | +| <a id="queryaimessagesroles"></a>`roles` | [`[AiCachedMessageRole!]`](#aicachedmessagerole) | Array of request IDs to fetch. | + ### `Query.boardList` Find an issue board list. @@ -7244,6 +7265,29 @@ The edge type for [`AgentConfiguration`](#agentconfiguration). | <a id="agentconfigurationedgecursor"></a>`cursor` | [`String!`](#string) | A cursor for use in pagination. | | <a id="agentconfigurationedgenode"></a>`node` | [`AgentConfiguration`](#agentconfiguration) | The item at the end of the edge. | +#### `AiCachedMessageTypeConnection` + +The connection type for [`AiCachedMessageType`](#aicachedmessagetype). + +##### Fields + +| Name | Type | Description | +| ---- | ---- | ----------- | +| <a id="aicachedmessagetypeconnectionedges"></a>`edges` | [`[AiCachedMessageTypeEdge]`](#aicachedmessagetypeedge) | A list of edges. | +| <a id="aicachedmessagetypeconnectionnodes"></a>`nodes` | [`[AiCachedMessageType]`](#aicachedmessagetype) | A list of nodes. | +| <a id="aicachedmessagetypeconnectionpageinfo"></a>`pageInfo` | [`PageInfo!`](#pageinfo) | Information to aid in pagination. | + +#### `AiCachedMessageTypeEdge` + +The edge type for [`AiCachedMessageType`](#aicachedmessagetype). + +##### Fields + +| Name | Type | Description | +| ---- | ---- | ----------- | +| <a id="aicachedmessagetypeedgecursor"></a>`cursor` | [`String!`](#string) | A cursor for use in pagination. | +| <a id="aicachedmessagetypeedgenode"></a>`node` | [`AiCachedMessageType`](#aicachedmessagetype) | The item at the end of the edge. | + #### `AiMessageTypeConnection` The connection type for [`AiMessageType`](#aimessagetype). @@ -11686,6 +11730,19 @@ 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. | +### `AiCachedMessageType` + +#### Fields + +| Name | Type | Description | +| ---- | ---- | ----------- | +| <a id="aicachedmessagetypecontent"></a>`content` | [`String`](#string) | Content of the message. Can be null for user requests or failed responses. | +| <a id="aicachedmessagetypeerrors"></a>`errors` | [`[String!]!`](#string) | Errors that occurred while asynchronously fetching an AI(assistant) response. | +| <a id="aicachedmessagetypeid"></a>`id` | [`ID`](#id) | UUID of the message. | +| <a id="aicachedmessagetyperequestid"></a>`requestId` | [`ID`](#id) | UUID of the original request message. | +| <a id="aicachedmessagetyperole"></a>`role` | [`AiCachedMessageRole!`](#aicachedmessagerole) | Message role. | +| <a id="aicachedmessagetypetimestamp"></a>`timestamp` | [`Time!`](#time) | Message timestamp. | + ### `AiMessageType` #### Fields @@ -12591,7 +12648,7 @@ CI/CD variables for a GitLab instance. | <a id="cijobartifactfiletype"></a>`fileType` | [`JobArtifactFileType`](#jobartifactfiletype) | File type of the artifact. | | <a id="cijobartifactid"></a>`id` | [`CiJobArtifactID!`](#cijobartifactid) | ID of the artifact. | | <a id="cijobartifactname"></a>`name` | [`String`](#string) | File name of the artifact. | -| <a id="cijobartifactsize"></a>`size` | [`Int!`](#int) | Size of the artifact in bytes. | +| <a id="cijobartifactsize"></a>`size` | [`BigInt!`](#bigint) | Size of the artifact in bytes. | ### `CiJobTokenScopeType` @@ -23859,6 +23916,15 @@ Agent token statuses. | <a id="agenttokenstatusactive"></a>`ACTIVE` | Active agent token. | | <a id="agenttokenstatusrevoked"></a>`REVOKED` | Revoked agent token. | +### `AiCachedMessageRole` + +Roles to filter in chat message. + +| Value | Description | +| ----- | ----------- | +| <a id="aicachedmessageroleassistant"></a>`ASSISTANT` | Filter only AI responses. | +| <a id="aicachedmessageroleuser"></a>`USER` | Filter only user messages. | + ### `AlertManagementAlertSort` Values for sorting alerts. diff --git a/doc/api/plan_limits.md b/doc/api/plan_limits.md index 09d96bb0534..53dedca3312 100644 --- a/doc/api/plan_limits.md +++ b/doc/api/plan_limits.md @@ -43,15 +43,16 @@ Example response: "ci_registered_group_runners": 1000, "ci_registered_project_runners": 1000, "conan_max_file_size": 3221225472, + "enforcement_limit": 10000, "generic_packages_max_file_size": 5368709120, "helm_max_file_size": 5242880, + "notification_limit": 10000, "maven_max_file_size": 3221225472, "npm_max_file_size": 524288000, "nuget_max_file_size": 524288000, "pypi_max_file_size": 3221225472, "terraform_module_max_file_size": 1073741824, - "storage_size_limit": 15000, - "notification_limit": 10000 + "storage_size_limit": 15000 } ``` @@ -74,15 +75,16 @@ PUT /application/plan_limits | `ci_registered_group_runners` | integer | no | Maximum number of runners registered per group. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/85895) in GitLab 15.0. | | `ci_registered_project_runners` | integer | no | Maximum number of runners registered per project. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/85895) in GitLab 15.0. | | `conan_max_file_size` | integer | no | Maximum Conan package file size in bytes. | +| `enforcement_limit` | integer | no | Maximum storage size for root namespace limit enforcement in MiB. | | `generic_packages_max_file_size` | integer | no | Maximum generic package file size in bytes. | | `helm_max_file_size` | integer | no | Maximum Helm chart file size in bytes. | | `maven_max_file_size` | integer | no | Maximum Maven package file size in bytes. | +| `notification_limit` | integer | no | Maximum storage size for root namespace limit notifications in MiB. | | `npm_max_file_size` | integer | no | Maximum NPM package file size in bytes. | | `nuget_max_file_size` | integer | no | Maximum NuGet package file size in bytes. | | `pypi_max_file_size` | integer | no | Maximum PyPI package file size in bytes. | | `terraform_module_max_file_size` | integer | no | Maximum Terraform Module package file size in bytes. | -| `storage_size_limit` | integer | no | Maximum storage size for the root namespace in megabytes. | -| `notification_limit` | integer | no | Maximum storage size for root namespace limit notifications in megabytes. | +| `storage_size_limit` | integer | no | Maximum storage size for the root namespace in MiB. | ```shell curl --request PUT --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.example.com/api/v4/application/plan_limits?plan_name=default&conan_max_file_size=3221225472" |