Get Agent Session trace for a given message key
get
/20260430/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/agents/{agentKey}/sessions/{sessionId}/traces/{traceKey}
Returns trace details for a given message key.
Request
Path Parameters
-
agentKey(required): string
The UUID of the Agent
-
aiDataPlatformId(required): string
Minimum Length:
1Maximum Length:500The [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the AI Data Platform (Data Lake) instance. -
sessionId(required): string
The UUID of the Agent Session
-
traceKey(required): string
A filter to return only resources that match the given display trace key exactly.
-
workspaceKey(required): string
Minimum Length:
1Maximum Length:200The key of the Workspace
Header Parameters
-
opc-request-id: string
Maximum Length:
255Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. The only valid characters for request IDs are letters, numbers, underscore, and dash.
Response
Supported Media Types
- application/json
200 Response
Successful operation
Headers
-
opc-next-page: string
For pagination of a list of items. When paging through a list, if this header appears in the response, then a partial list might have been returned. Include this value as the `page` parameter for the subsequent GET request to get the next batch of items.
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : TraceDetails
Type:
objectTrace object
Show Source
-
endTime(required):
integer(int64)
endTime
-
parentSessionId(required):
string
session id
-
resources:
object resources
Additional Properties Allowed: additionalPropertiesMap of properties
-
spans(required):
array spans
collections of spans
-
startTime(required):
integer(int64)
startTime
-
traceId(required):
string
trace id
Nested Schema : spans
Type:
arraycollections of spans
Show Source
-
Array of:
object SpanDetails
Span details
Nested Schema : additionalProperties
Type:
objectNested Schema : SpanDetails
Type:
objectSpan details
Show Source
-
attributes(required):
object attributes
Additional Properties Allowed: additionalPropertiesspan attributes
-
endTime(required):
integer(int64)
end time
-
events(required):
array events
collections of trace objects
-
kind(required):
string
type of span
-
parentSpanId:
string
parent span id
-
parentTraceId(required):
string
trace id
-
spanId(required):
string
span id
-
spanName(required):
string
span name
-
startTime(required):
integer(int64)
start time
-
status(required):
object SpanStatus
span status
Nested Schema : events
Type:
arraycollections of trace objects
Show Source
-
Array of:
object TraceEvent
event object details
Nested Schema : SpanStatus
Type:
objectspan status
Show Source
-
code:
string
span status code
-
message:
string
span message
Nested Schema : additionalProperties
Type:
objectNested Schema : TraceEvent
Type:
objectevent object details
Show Source
-
attributes:
object attributes
Additional Properties Allowed: additionalPropertiesevent attributes
-
name:
string
event name
-
timestamp:
string(date-time)
event start time
Nested Schema : additionalProperties
Type:
object400 Response
Bad Request (invalid query parameters, malformed headers, and so on).
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.
401 Response
Unauthorized (missing or expired credentials, and so on).
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.
404 Response
Not Found. The requested resource was not found.
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.
429 Response
Too Many Requests. Too many requests sent to the server in a short period.
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.
500 Response
Internal Server Error. The server encountered an unexpected condition preventing fulfilment of the request.
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.
Default Response
Unknown Error. Error is not recognized by the system.
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.