(Preview) Search deployment lifecycle logs
post
/20260430/aiDataPlatforms/{aiDataPlatformId}/mlops/api/2.0/model-deployments/{deploymentId}/monitoring/logs/search
(Preview) Returns one page of deployment lifecycle log events for the model deployment, newest first, read live from OCI Logging. No log content is persisted by the platform.
Request
Path Parameters
-
aiDataPlatformId(required): string
Minimum Length:
1Maximum Length:500The [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the AI Data Platform (Data Lake) instance. -
deploymentId(required): string
Minimum Length:
32Maximum Length:32Pattern:^[0-9a-f]{32}$The unique 32-character hexadecimal ID of the model deployment.
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.
Window, filters, and pagination for the log search.
Root Schema : SearchDeploymentLogsDetails
Type:
objectFilters and pagination for searching deployment lifecycle logs.
Show Source
-
levels:
array levels
Maximum Number of Items:
6Optional severity filter. Allowed values: DEBUG, INFO, WARNING, ERROR, CRITICAL, UNKNOWN; any other value is rejected with 400. An empty or absent array means all levels. -
limit:
integer(int32)
Minimum Value:
1Maximum Value:20Default Value:20Maximum rows per page. -
opcRequestId:
string
Maximum Length:
1024Optional exact match on the original request identifier of a log event. Only events that carry a request identifier can match. Model deployment lifecycle events are not emitted per request and carry none, so this filter excludes them. -
pageToken:
string
Maximum Length:
4096Opaque continuation token from a previous page. Bound to the platform, deployment, and query; expires. -
replicaId:
string
Maximum Length:
255Optional exact match on the emitting replica or source scope. -
sortBy:
string
Allowed Values:
[ "TIMESTAMP" ]Sort column. Only TIMESTAMP is supported. -
sortOrder:
string
Allowed Values:
[ "DESC" ]Sort order. Only DESC is supported. -
timeEnd(required):
string(date-time)
End of the requested publish-time window (RFC 3339, exclusive). Must not be in the future.
-
timeStart(required):
string(date-time)
Start of the requested publish-time window (RFC 3339, inclusive).
Nested Schema : levels
Type:
arrayMaximum Number of Items:
6Optional severity filter. Allowed values: DEBUG, INFO, WARNING, ERROR, CRITICAL, UNKNOWN; any other value is rejected with 400. An empty or absent array means all levels.
Show Source
-
Array of:
string
Maximum Length:
16
Response
Supported Media Types
- application/json
200 Response
Successful operation. A page of deployment log events is returned.
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 : DeploymentLogCollection
Type:
objectResult of searching deployment lifecycle logs.
Show Source
-
coverage(required):
object DeploymentLogCoverage
How completely the underlying log source can serve the requested window.
-
deploymentId(required):
string
The model deployment the logs belong to.
-
logs(required):
object DeploymentLogPage
One page of deployment log events.
-
query(required):
object DeploymentLogQueryEcho
Echo of the executed query and its consistency.
Nested Schema : DeploymentLogCoverage
Type:
objectHow completely the underlying log source can serve the requested window.
Show Source
-
reasons:
array reasons
Machine-readable reasons explaining why coverage is not complete, when applicable.
-
retentionDays:
integer(int32)
Configured retention of the current log object, when readable.
-
state(required):
string
Allowed Values:
[ "UNKNOWN", "PARTIAL", "COMPLETE_WITHIN_RETENTION" ]COMPLETE_WITHIN_RETENTION only when the window lies inside verified retention and the scan was not truncated. PARTIAL only with an affirmatively known gap. Otherwise UNKNOWN.
Nested Schema : DeploymentLogPage
Type:
objectOne page of deployment log events.
Show Source
-
items(required):
array items
Log events for this page, newest first. May be empty while nextPageToken is set.
-
nextPageToken:
string
Maximum Length:
4096Continuation token. Absent when the traversal is complete. An empty page with a token means the scan quota ended before matches were found; continue.
Nested Schema : DeploymentLogQueryEcho
Type:
objectEcho of the executed query and its consistency.
Show Source
-
consistency(required):
string
Allowed Values:
[ "BEST_EFFORT" ]Consistency of the returned page. Always BEST_EFFORT for a live read of the log source. -
sortBy:
string
Sort column applied to the results. Only TIMESTAMP is supported.
-
sortOrder:
string
Sort order applied to the results. Only DESC is supported.
-
timeEnd(required):
string(date-time)
End of the publish-time window the query was evaluated against (RFC 3339, exclusive).
-
timeEvaluated(required):
string(date-time)
Retrieval time. Not a claim that ingestion is complete through this instant.
-
timeStart(required):
string(date-time)
Start of the publish-time window the query was evaluated against (RFC 3339, inclusive).
Nested Schema : reasons
Type:
arrayMachine-readable reasons explaining why coverage is not complete, when applicable.
Show Source
-
Array of:
string
Maximum Length:
255
Nested Schema : items
Type:
arrayLog events for this page, newest first. May be empty while nextPageToken is set.
Show Source
-
Array of:
object DeploymentLogSummary
One deployment lifecycle log event.
Nested Schema : DeploymentLogSummary
Type:
objectOne deployment lifecycle log event.
Show Source
-
isDetailAvailable(required):
boolean
Whether the log detail operation can resolve this record.
-
latencyMs:
number(double)
Latency in milliseconds, when the event carries one. Zero is a real value, distinct from absent.
-
level(required):
string
Allowed Values:
[ "DEBUG", "INFO", "WARNING", "ERROR", "CRITICAL", "UNKNOWN" ]Normalized severity. Unrecognized producer values are returned as UNKNOWN. -
logId(required):
string
Maximum Length:
4096Opaque, expiring locator usable with the log detail operation. -
opcRequestId:
string
Maximum Length:
1024Original request identifier. Absent when the event carries none. Model deployment lifecycle events are not emitted per request and never carry one. -
recordId(required):
string
Maximum Length:
128Stable identity of the ingested log record. -
replicaId:
string
Maximum Length:
255Emitting replica or source scope, when the event carries one. -
timestamp(required):
string(date-time)
Displayed event time (RFC 3339 UTC). Producer event time when available; otherwise the publish time, per timestampSource.
-
timestampSource(required):
string
Allowed Values:
[ "EVENT_TIME", "PUBLISH_TIME" ]EVENT_TIME when the producer timestamp was valid; PUBLISH_TIME when the displayed value fell back to the provider publish time.
400 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.