v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-14108906717.7 KB

Returns a list of the custom models that you have created with the CreateModelCustomizationJob operation.

For more information, see Custom models in the Amazon Bedrock User Guide.

get/custom-models

Query parameters

creationTimeBeforestring date-time

Return custom models created before the specified time.

creationTimeAfterstring date-time

Return custom models created after the specified time.

nameContainsstring

Return custom models only if the job name contains these characters.

baseModelArnEqualsstring

Return custom models only if the base model Amazon Resource Name (ARN) matches this parameter.

foundationModelArnEqualsstring

Return custom models only if the foundation model Amazon Resource Name (ARN) matches this parameter.

maxResultsinteger

The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the <code>nextToken</code> field when making another request to return the next batch of results.

nextTokenstring

If the total number of results is greater than the <code>maxResults</code> value provided in the request, enter the token returned in the <code>nextToken</code> field in the response in this field to return the next batch of results.

sortBy'CreationTime'

The field to sort by in the returned list of models.

sortOrder'Ascending' | 'Descending'

The sort order of the results.

isOwnedboolean

Return custom models depending on if the current account owns them (<code>true</code>) or if they were shared with the current account (<code>false</code>).

modelStatus'Active' | 'Creating' | 'Failed'
<p>The status of them model to filter results by. Possible values include:</p> <ul> <li> <p> <code>Creating</code> - Include only models that are currently being created and validated.</p> </li> <li> <p> <code>Active</code> - Include only models that have been successfully created and are ready for use.</p> </li> <li> <p> <code>Failed</code> - Include only models where the creation process failed.</p> </li> </ul> <p>If you don't specify a status, the API returns models in all states.</p>

Response

Success

nextTokenstring

If the total number of results is greater than the <code>maxResults</code> value provided in the request, use this token when making another request in the <code>nextToken</code> field to return the next batch of results.