Skip to content

Commit 33113c7

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 76bbcbf of spec repo
1 parent 80a160e commit 33113c7

20 files changed

Lines changed: 1682 additions & 0 deletions

.generator/schemas/v2/openapi.yaml

Lines changed: 399 additions & 0 deletions
Large diffs are not rendered by default.

features/v2/llm_observability.feature

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -417,6 +417,13 @@ Feature: LLM Observability
417417
When the request is sent
418418
Then the response status is 404 Not Found
419419

420+
@generated @skip @team:DataDog/ml-observability
421+
Scenario: Get LLM Observability org configuration returns "OK" response
422+
Given operation "GetLLMObsOrgConfig" enabled
423+
And new "GetLLMObsOrgConfig" request
424+
When the request is sent
425+
Then the response status is 200 OK
426+
420427
@generated @skip @team:DataDog/ml-observability
421428
Scenario: Get a custom evaluator configuration returns "Bad Request" response
422429
Given operation "GetLLMObsCustomEvalConfig" enabled
@@ -441,6 +448,22 @@ Feature: LLM Observability
441448
When the request is sent
442449
Then the response status is 200 OK
443450

451+
@generated @skip @team:DataDog/ml-observability
452+
Scenario: Get annotated interactions by content IDs returns "Bad Request" response
453+
Given operation "GetLLMObsAnnotatedInteractionsByTraceIDs" enabled
454+
And new "GetLLMObsAnnotatedInteractionsByTraceIDs" request
455+
And request contains "contentIds" parameter from "REPLACE.ME"
456+
When the request is sent
457+
Then the response status is 400 Bad Request
458+
459+
@generated @skip @team:DataDog/ml-observability
460+
Scenario: Get annotated interactions by content IDs returns "OK" response
461+
Given operation "GetLLMObsAnnotatedInteractionsByTraceIDs" enabled
462+
And new "GetLLMObsAnnotatedInteractionsByTraceIDs" request
463+
And request contains "contentIds" parameter from "REPLACE.ME"
464+
When the request is sent
465+
Then the response status is 200 OK
466+
444467
@generated @skip @team:DataDog/ml-observability
445468
Scenario: Get annotated queue interactions returns "Bad Request" response
446469
Given operation "GetLLMObsAnnotatedInteractions" enabled
@@ -779,6 +802,22 @@ Feature: LLM Observability
779802
When the request is sent
780803
Then the response status is 200 OK
781804

805+
@generated @skip @team:DataDog/ml-observability
806+
Scenario: Update LLM Observability org configuration returns "Bad Request" response
807+
Given operation "UpdateLLMObsOrgConfig" enabled
808+
And new "UpdateLLMObsOrgConfig" request
809+
And body with value {"data": {"attributes": {"trace_idle_timer_s": 30}, "id": "12345", "type": "org_config"}}
810+
When the request is sent
811+
Then the response status is 400 Bad Request
812+
813+
@generated @skip @team:DataDog/ml-observability
814+
Scenario: Update LLM Observability org configuration returns "No Content" response
815+
Given operation "UpdateLLMObsOrgConfig" enabled
816+
And new "UpdateLLMObsOrgConfig" request
817+
And body with value {"data": {"attributes": {"trace_idle_timer_s": 30}, "id": "12345", "type": "org_config"}}
818+
When the request is sent
819+
Then the response status is 204 No Content
820+
782821
@generated @skip @team:DataDog/ml-observability
783822
Scenario: Update an LLM Observability annotation queue returns "Bad Request" response
784823
Given operation "UpdateLLMObsAnnotationQueue" enabled

features/v2/undo.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3704,6 +3704,24 @@
37043704
"type": "unsafe"
37053705
}
37063706
},
3707+
"GetLLMObsOrgConfig": {
3708+
"tag": "LLM Observability",
3709+
"undo": {
3710+
"type": "safe"
3711+
}
3712+
},
3713+
"UpdateLLMObsOrgConfig": {
3714+
"tag": "LLM Observability",
3715+
"undo": {
3716+
"type": "idempotent"
3717+
}
3718+
},
3719+
"GetLLMObsAnnotatedInteractionsByTraceIDs": {
3720+
"tag": "LLM Observability",
3721+
"undo": {
3722+
"type": "safe"
3723+
}
3724+
},
37073725
"ListLLMObsAnnotationQueues": {
37083726
"tag": "LLM Observability",
37093727
"undo": {

private/bdd_runner/src/support/scenarios_model_mapping.ts

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2592,6 +2592,31 @@ export const ScenariosModelMappings: { [key: string]: OperationMapping } = {
25922592
},
25932593
operationResponseType: "LLMObsDataDeletionResponse",
25942594
},
2595+
"LLMObservabilityApi.V2.GetLLMObsOrgConfig": {
2596+
operationResponseType: "LLMObsOrgConfigResponse",
2597+
},
2598+
"LLMObservabilityApi.V2.UpdateLLMObsOrgConfig": {
2599+
body: {
2600+
type: "LLMObsOrgConfigUpdateRequest",
2601+
format: "",
2602+
},
2603+
operationResponseType: "{}",
2604+
},
2605+
"LLMObservabilityApi.V2.GetLLMObsAnnotatedInteractionsByTraceIDs": {
2606+
contentIds: {
2607+
type: "Array<string>",
2608+
format: "",
2609+
},
2610+
offset: {
2611+
type: "number",
2612+
format: "int32",
2613+
},
2614+
limit: {
2615+
type: "number",
2616+
format: "int32",
2617+
},
2618+
operationResponseType: "LLMObsAnnotatedInteractionsByTraceResponse",
2619+
},
25952620
"LLMObservabilityApi.V2.ListLLMObsAnnotationQueues": {
25962621
projectId: {
25972622
type: "string",

0 commit comments

Comments
 (0)