Lists the model deployments.
GET {{baseUrl}}/modelDeployments?compartmentId={{compartment_ocid}}&id=cillum consectetur labore dolor&projectId=cillum consectetur labore dolor&displayName=cillum consectetur labore dolor&lifecycleState=NEEDS_ATTENTION&createdBy=cillum consectetur labore dolor&limit=10&sortOrder=ASC&sortBy=timeCreated
Lists all model deployments in the specified compartment. Only one parameter other than compartmentId may also be included in a query. The query must include compartmentId. If the query does not include compartmentId, or includes compartmentId but two or more other parameters an error is returned.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
compartmentId | string | (Required) <b>Filter</b> results by the OCID of the compartment. | |
id | string | <b>Filter</b> results by OCID. Must be an OCID of the correct type for the resource type. | |
projectId | string | <b>Filter</b> results by the OCID of the project. | |
displayName | string | <b>Filter</b> results by its user-friendly name. | |
lifecycleState | string | <b>Filter</b> results by the specified lifecycle state. Must be a valid | |
state for the resource type. | |||
createdBy | string | <b>Filter</b> results by the OCID of the user who created the resource. | |
limit | number | For list pagination. The maximum number of results per page, | |
or items to return in a paginated "List" call. | |||
1 is the minimum, 1000 is the maximum. | |||
See List Pagination. |
Example: 500
|
| page
| string | | For list pagination. The value of the opc-next-page
response
header from the previous "List" call.
See List Pagination.
|
| sortOrder
| string | | Specifies sort order to use, either ASC
(ascending) or DESC
(descending).
|
| sortBy
| string | | Specifies the field to sort by. Accepts only one field.
By default, when you sort by timeCreated
, results are shown
in descending order. When you sort by displayName
, results are
shown in ascending order. Sort order for the displayName
field is case sensitive.
|
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
opc-request-id | string | Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. | |
Date | string | (Required) Current Date | |
Authorization | string | (Required) Signature Authentication on Authorization header |
RESPONSES
status: OK
[{"id":"dolore","timeCreated":"1956-08-10T19:28:43.240Z","displayName":"occaecat mollit do magna","projectId":"dolor dolore i","createdBy":"in aliquip non esse","compartmentId":"elit in in id adipisicing","modelDeploymentUrl":"consequat ea","lifecycleState":"CREATING","categoryLogDetails":{"access":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"predict":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"definedTags":{},"description":"reprehenderit dolore cillum magna dolore","freeformTags":{},"modelDeploymentConfigurationDetails":{"deploymentType":"SINGLE_MODEL"}},{"id":"adipisicing labore laboris Lorem do","timeCreated":"2019-03-30T00:20:18.046Z","displayName":"in Ut aliquip sit","projectId":"in fugiat aute exercitation reprehende","createdBy":"anim laborum magna est","compartmentId":"mol","modelDeploymentUrl":"ut irure cupidatat","lifecycleState":"CREATING","categoryLogDetails":{"access":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"predict":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"definedTags":{},"description":"adipisicing aliqua","freeformTags":{},"modelDeploymentConfigurationDetails":{"deploymentType":"SINGLE_MODEL"}}]