ListModels

GET {{baseUrl}}/models?compartmentId={{compartment_ocid}}&id=cillum consectetur labore dolor&projectId=cillum consectetur labore dolor&displayName=cillum consectetur labore dolor&lifecycleState=DELETED&createdBy=cillum consectetur labore dolor&limit=10&sortOrder=ASC&sortBy=displayName

Lists models in the specified compartment.

Request Params

KeyDatatypeRequiredDescription
compartmentIdstring(Required) <b>Filter</b> results by the OCID of the compartment.
idstring<b>Filter</b> results by OCID. Must be an OCID of the correct type for the resource type.
projectIdstring<b>Filter</b> results by the OCID of the project.
displayNamestring<b>Filter</b> results by its user-friendly name.
lifecycleStatestring<b>Filter</b> results by the specified lifecycle state. Must be a valid
state for the resource type.
createdBystring<b>Filter</b> results by the OCID of the user who created the resource.
limitnumberFor 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, the results are shown in descending order. All other fields default to ascending order. Sort order for the displayName field is case sensitive. |

HEADERS

KeyDatatypeRequiredDescription
opc-request-idstringUnique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID.
Datestring(Required) Current Date
Authorizationstring(Required) Signature Authentication on Authorization header

RESPONSES

status: OK

[{&quot;compartmentId&quot;:&quot;ex id mollit non&quot;,&quot;projectId&quot;:&quot;minim reprehenderit&quot;,&quot;id&quot;:&quot;in non&quot;,&quot;displayName&quot;:&quot;est&quot;,&quot;lifecycleState&quot;:&quot;ACTIVE&quot;,&quot;timeCreated&quot;:&quot;1986-01-13T21:49:37.708Z&quot;,&quot;createdBy&quot;:&quot;voluptate&quot;,&quot;definedTags&quot;:{},&quot;freeformTags&quot;:{}},{&quot;compartmentId&quot;:&quot;aliquip dolor&quot;,&quot;projectId&quot;:&quot;exercitation in amet et&quot;,&quot;id&quot;:&quot;sunt aliquip sed&quot;,&quot;displayName&quot;:&quot;Lorem aute&quot;,&quot;lifecycleState&quot;:&quot;ACTIVE&quot;,&quot;timeCreated&quot;:&quot;1960-09-12T08:21:08.490Z&quot;,&quot;createdBy&quot;:&quot;eu in adipisicing veniam&quot;,&quot;definedTags&quot;:{},&quot;freeformTags&quot;:{}}]