diff --git a/config/_default/menus/api.en.yaml b/config/_default/menus/api.en.yaml index 1a51f78bd69..d04b4f2a654 100644 --- a/config/_default/menus/api.en.yaml +++ b/config/_default/menus/api.en.yaml @@ -12395,6 +12395,19 @@ menu: unstable: - v2 order: 18 + - name: Get annotated interactions by content IDs + url: '#get-annotated-interactions-by-content-ids' + identifier: llm-observability-get-annotated-interactions-by-content-ids + parent: llm-observability + generated: true + params: + versions: + - v2 + operationids: + - GetLLMObsAnnotatedInteractionsByTraceIDs + unstable: + - v2 + order: 40 - name: Delete LLM Observability data url: '#delete-llm-observability-data' identifier: llm-observability-delete-llm-observability-data diff --git a/content/en/api/v2/llm-observability/examples.json b/content/en/api/v2/llm-observability/examples.json index 487ef0de994..d9bac2e4380 100644 --- a/content/en/api/v2/llm-observability/examples.json +++ b/content/en/api/v2/llm-observability/examples.json @@ -586,6 +586,164 @@ "html": "
data [required]
\nobject
Data object for an LLM Observability data deletion request.
attributes [required]
\nobject
Attributes for an LLM Observability data deletion request.
delay
\nint64
Optional delay in seconds before the deletion is executed.
from [required]
\nint64
Start of the deletion time range in milliseconds since Unix epoch.
query [required]
\nobject
Query filters selecting the data to delete. Must include a query key with an @trace_id filter.
<any-key>
\nstring
to [required]
\nint64
End of the deletion time range in milliseconds since Unix epoch.
type [required]
\nenum
Resource type for an LLM Observability data deletion request. \nAllowed enum values: create_deletion_req
data [required]
\nobject
Data object for the cross-queue annotated interactions response.
attributes [required]
\nobject
Attributes of the cross-queue annotated interactions response.
annotated_interactions [required]
\n[object]
List of annotated interactions across all queues for the requested content IDs.
annotations [required]
\n[object]
List of annotations for this interaction.
created_at [required]
\ndate-time
Timestamp when the annotation was created.
created_by [required]
\nstring
Identifier of the user who created the annotation.
id [required]
\nstring
Unique identifier of the annotation.
interaction_id [required]
\nstring
Identifier of the interaction this annotation belongs to.
label_values [required]
\nobject
The label values for this annotation.
modified_at [required]
\ndate-time
Timestamp when the annotation was last modified.
modified_by [required]
\nstring
Identifier of the user who last modified the annotation.
content_id [required]
\nstring
Upstream entity identifier (trace ID, session ID, or deterministic display_block ID).
created_at [required]
\ndate-time
Timestamp when the interaction was added to the queue.
display_block
\n[object]
List of content blocks that make up a display_block interaction.\nMust contain at least one block.
alt
\nstring
Alternative text for an image block.
content
\nBlock payload. A string for markdown, header, and text; an\narbitrary JSON value (object, array, or scalar) for json. Omitted\nfor image, widget, and llmobs_trace.
height
\nint64
Optional rendered height. Must be positive when set.
interactionType
\nenum
Upstream interaction type referenced by an llmobs_trace block.\nRestricted to trace or experiment_trace. \nAllowed enum values: trace,experiment_trace
label
\nstring
Optional label rendered alongside the block.
level
\nenum
Visual size for a header block. \nAllowed enum values: sm,md,lg,xl
tileDef
\nTile definition for a widget block. Required for widget. The\nschema is owned by the frontend renderer.
timeFrame
\nobject
Unix-millis time range used by chart blocks.
end [required]
\nint64
End of the range, in Unix milliseconds.
start [required]
\nint64
Start of the range, in Unix milliseconds.
traceId
\nstring
Trace identifier. Required for llmobs_trace blocks.
type [required]
\nenum
Discriminator for a single display_block content block. Adding a\nvariant requires coordinated changes in the frontend renderer. \nAllowed enum values: markdown,header,text,json,image,widget,llmobs_trace
url
\nstring
URL of the image. Required for image blocks.
id [required]
\nstring
Unique identifier of the interaction.
modified_at [required]
\ndate-time
Timestamp when the interaction was last updated.
queue_id [required]
\nstring
Identifier of the annotation queue this interaction belongs to.
queue_name [required]
\nstring
Name of the annotation queue this interaction belongs to.
type [required]
\nenum
Type of an annotated interaction. \nAllowed enum values: trace,experiment_trace,session,display_block
total_count [required]
\nint32
Total number of annotated interactions matching the query.
id [required]
\nstring
Opaque identifier for the response object.
type [required]
\nenum
Resource type for cross-queue annotated interactions lookup. \nAllowed enum values: annotated_interactions_by_trace
errors [required]
\n[object]
A list of errors.
detail
\nstring
A human-readable explanation specific to this occurrence of the error.
meta
\nobject
Non-standard meta-information about the error
source
\nobject
References to the source of the error.
header
\nstring
A string indicating the name of a single request header which caused the error.
parameter
\nstring
A string indicating which URI query parameter caused the error.
pointer
\nstring
A JSON pointer to the value in the request document that caused the error.
status
\nstring
Status code of the response.
title
\nstring
Short human-readable summary of the error.
errors [required]
\n[object]
A list of errors.
detail
\nstring
A human-readable explanation specific to this occurrence of the error.
meta
\nobject
Non-standard meta-information about the error
source
\nobject
References to the source of the error.
header
\nstring
A string indicating the name of a single request header which caused the error.
parameter
\nstring
A string indicating which URI query parameter caused the error.
pointer
\nstring
A JSON pointer to the value in the request document that caused the error.
status
\nstring
Status code of the response.
title
\nstring
Short human-readable summary of the error.
errors [required]
\n[object]
A list of errors.
detail
\nstring
A human-readable explanation specific to this occurrence of the error.
meta
\nobject
Non-standard meta-information about the error
source
\nobject
References to the source of the error.
header
\nstring
A string indicating the name of a single request header which caused the error.
parameter
\nstring
A string indicating which URI query parameter caused the error.
pointer
\nstring
A JSON pointer to the value in the request document that caused the error.
status
\nstring
Status code of the response.
title
\nstring
Short human-readable summary of the error.
errors [required]
\n[string]
A list of errors.
errors [required]
\n[object]
A list of errors.
detail
\nstring
A human-readable explanation specific to this occurrence of the error.
meta
\nobject
Non-standard meta-information about the error
source
\nobject
References to the source of the error.
header
\nstring
A string indicating the name of a single request header which caused the error.
parameter
\nstring
A string indicating which URI query parameter caused the error.
pointer
\nstring
A JSON pointer to the value in the request document that caused the error.
status
\nstring
Status code of the response.
title
\nstring
Short human-readable summary of the error.