Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55239,7 +55239,6 @@ components:
type: string
required:
- name
- project_id
type: object
LLMObsAnnotationQueueDataAttributesResponse:
description: Attributes of an LLM Observability annotation queue.
Expand Down Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -725,10 +725,11 @@ public CompletableFuture<LLMObsAnnotationQueueResponse> createLLMObsAnnotationQu
}

/**
* Create an annotation queue. The <code>name</code> and <code>project_id</code> fields are
* required. An optional <code>annotation_schema</code> can be provided to define the labels for
* the queue. Fields such as <code>created_by</code>, <code>owned_by</code>, <code>created_at
* </code>, <code>modified_by</code>, and <code>modified_at</code> are inferred by the backend.
* Create an annotation queue. The <code>name</code> field is required. Optionally associate the
* queue with a project by providing <code>project_id</code>. An optional <code>annotation_schema
* </code> can be provided to define the labels for the queue. Fields such as <code>created_by
* </code>, <code>owned_by</code>, <code>created_at</code>, <code>modified_by</code>, and <code>
* modified_at</code> are inferred by the backend.
*
* @param body Create annotation queue payload. (required)
* @return ApiResponse&lt;LLMObsAnnotationQueueResponse&gt;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,8 @@ public LLMObsAnnotationQueueDataAttributesRequest() {}

@JsonCreator
public LLMObsAnnotationQueueDataAttributesRequest(
@JsonProperty(required = true, value = JSON_PROPERTY_NAME) String name,
@JsonProperty(required = true, value = JSON_PROPERTY_PROJECT_ID) String projectId) {
@JsonProperty(required = true, value = JSON_PROPERTY_NAME) String name) {
this.name = name;
this.projectId = projectId;
}

public LLMObsAnnotationQueueDataAttributesRequest annotationSchema(
Expand Down Expand Up @@ -127,8 +125,9 @@ public LLMObsAnnotationQueueDataAttributesRequest projectId(String projectId) {
*
* @return projectId
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_PROJECT_ID)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getProjectId() {
return projectId;
}
Expand Down
Loading