diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index fcf5fd48e2c3..ee9db84ef411 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -55239,7 +55239,6 @@ components: type: string required: - name - - project_id type: object LLMObsAnnotationQueueDataAttributesResponse: description: Attributes of an LLM Observability annotation queue. @@ -158838,7 +158837,8 @@ paths: If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). post: description: |- - Create an annotation queue. The `name` and `project_id` fields are required. + Create an annotation queue. The `name` field is required. + Optionally associate the queue with a project by providing `project_id`. An optional `annotation_schema` can be provided to define the labels for the queue. Fields such as `created_by`, `owned_by`, `created_at`, `modified_by`, and `modified_at` are inferred by the backend. diff --git a/packages/datadog-api-client-v2/apis/LLMObservabilityApi.ts b/packages/datadog-api-client-v2/apis/LLMObservabilityApi.ts index 436ee10a0fcb..32e4effd7bb3 100644 --- a/packages/datadog-api-client-v2/apis/LLMObservabilityApi.ts +++ b/packages/datadog-api-client-v2/apis/LLMObservabilityApi.ts @@ -11437,7 +11437,8 @@ export class LLMObservabilityApi { } /** - * Create an annotation queue. The `name` and `project_id` fields are required. + * Create an annotation queue. The `name` field is required. + * Optionally associate the queue with a project by providing `project_id`. * An optional `annotation_schema` can be provided to define the labels for the queue. * Fields such as `created_by`, `owned_by`, `created_at`, `modified_by`, * and `modified_at` are inferred by the backend. diff --git a/packages/datadog-api-client-v2/models/LLMObsAnnotationQueueDataAttributesRequest.ts b/packages/datadog-api-client-v2/models/LLMObsAnnotationQueueDataAttributesRequest.ts index 126c5bae3df2..113bdeb2b6a1 100644 --- a/packages/datadog-api-client-v2/models/LLMObsAnnotationQueueDataAttributesRequest.ts +++ b/packages/datadog-api-client-v2/models/LLMObsAnnotationQueueDataAttributesRequest.ts @@ -26,7 +26,7 @@ export class LLMObsAnnotationQueueDataAttributesRequest { /** * Identifier of the project this queue belongs to. */ - "projectId": string; + "projectId"?: string; /** * A container for additional, undeclared properties. @@ -60,7 +60,6 @@ export class LLMObsAnnotationQueueDataAttributesRequest { projectId: { baseName: "project_id", type: "string", - required: true, }, additionalProperties: { baseName: "additionalProperties",