GetEvaluationJob
Gets information about an evaluation job, such as the status of the job.
Request Syntax
GET /evaluation-jobs/jobIdentifier
HTTP/1.1
URI Request Parameters
The request uses the following URI parameters.
- jobIdentifier
-
The Amazon Resource Name (ARN) of the evaluation job you want get information on.
Length Constraints: Minimum length of 0. Maximum length of 1011.
Pattern:
^(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:evaluation-job/[a-z0-9]{12})$
Required: Yes
Request Body
The request does not have a request body.
Response Syntax
HTTP/1.1 200
Content-type: application/json
{
"applicationType": "string",
"creationTime": "string",
"customerEncryptionKeyId": "string",
"evaluationConfig": { ... },
"failureMessages": [ "string" ],
"inferenceConfig": { ... },
"jobArn": "string",
"jobDescription": "string",
"jobName": "string",
"jobType": "string",
"lastModifiedTime": "string",
"outputDataConfig": {
"s3Uri": "string"
},
"roleArn": "string",
"status": "string"
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
- applicationType
-
Specifies whether the evaluation job is for evaluating a model or evaluating a knowledge base (retrieval and response generation).
Type: String
Valid Values:
ModelEvaluation | RagEvaluation
- creationTime
-
The time the evaluation job was created.
Type: Timestamp
- customerEncryptionKeyId
-
The Amazon Resource Name (ARN) of the customer managed encryption key specified when the evaluation job was created.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 2048.
Pattern:
^(arn:aws(-[^:]+)?:kms:[a-zA-Z0-9-]*:[0-9]{12}:((key/[a-zA-Z0-9-]{36})|(alias/[a-zA-Z0-9-_/]+)))|([a-zA-Z0-9-]{36})|(alias/[a-zA-Z0-9-_/]+)$
- evaluationConfig
-
Contains the configuration details of either an automated or human-based evaluation job.
Type: EvaluationConfig object
Note: This object is a Union. Only one member of this object can be specified or returned.
- failureMessages
-
A list of strings that specify why the evaluation job failed to create.
Type: Array of strings
Array Members: Minimum number of 0 items. Maximum number of 20 items.
Length Constraints: Minimum length of 0. Maximum length of 2048.
- inferenceConfig
-
Contains the configuration details of the inference model used for the evaluation job.
Type: EvaluationInferenceConfig object
Note: This object is a Union. Only one member of this object can be specified or returned.
- jobArn
-
The Amazon Resource Name (ARN) of the evaluation job.
Type: String
Length Constraints: Minimum length of 0. Maximum length of 1011.
Pattern:
^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:evaluation-job/[a-z0-9]{12}$
- jobDescription
-
The description of the evaluation job.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 200.
Pattern:
^.+$
- jobName
-
The name for the evaluation job.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 63.
Pattern:
^[a-z0-9](-*[a-z0-9]){0,62}$
- jobType
-
Specifies whether the evaluation job is automated or human-based.
Type: String
Valid Values:
Human | Automated
- lastModifiedTime
-
The time the evaluation job was last modified.
Type: Timestamp
- outputDataConfig
-
Contains the configuration details of the Amazon S3 bucket for storing the results of the evaluation job.
Type: EvaluationOutputDataConfig object
- roleArn
-
The Amazon Resource Name (ARN) of the IAM service role used in the evaluation job.
Type: String
Length Constraints: Minimum length of 0. Maximum length of 2048.
Pattern:
^arn:aws(-[^:]+)?:iam::([0-9]{12})?:role/.+$
- status
-
The current status of the evaluation job.
Type: String
Valid Values:
InProgress | Completed | Failed | Stopping | Stopped | Deleting
Errors
For information about the errors that are common to all actions, see Common Errors.
- AccessDeniedException
-
The request is denied because of missing access permissions.
HTTP Status Code: 403
- InternalServerException
-
An internal server error occurred. Retry your request.
HTTP Status Code: 500
- ResourceNotFoundException
-
The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.
HTTP Status Code: 404
- ThrottlingException
-
The number of requests exceeds the limit. Resubmit your request later.
HTTP Status Code: 429
- ValidationException
-
Input validation failed. Check your request parameters and retry the request.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: