Bedrock Integration

Retrieve batch inference job (Bedrock format)

Retrieves a batch inference job using AWS Bedrock format.

GET
/bedrock/model-invocation-job/{job_arn}
AuthorizationBearer <token>

Bearer token authentication. Use your MPilot virtual-key JWT or admin JWT. Virtual keys (prefixed with sk-bf-) can also be passed here.

In: header

Path Parameters

job_arnstring

Bedrock job ARN (URL-encoded). For non-Bedrock providers, the arn:aws:bedrock:us-east-1:444444444444:batch: prefix is stripped automatically before routing.

Header Parameters

x-model-provider?string

Optional provider override for cross-provider batch routing.

Response Body

curl -X GET "https://loading/{AI_GATEWAY_URL}/bedrock/model-invocation-job/string" \  -H "x-model-provider: string"
{
  "jobArn": "string",
  "status": "Submitted",
  "jobName": "string",
  "modelId": "string",
  "roleArn": "string",
  "inputDataConfig": {},
  "outputDataConfig": {},
  "vpcConfig": {
    "securityGroupIds": [
      "string"
    ],
    "subnetIds": [
      "string"
    ]
  },
  "submitTime": "2019-08-24T14:15:22Z",
  "lastModifiedTime": "2019-08-24T14:15:22Z",
  "endTime": "2019-08-24T14:15:22Z",
  "message": "string",
  "clientRequestToken": "string",
  "jobExpirationTime": "2019-08-24T14:15:22Z",
  "timeoutDurationInHours": 0
}
{
  "message": "string",
  "type": "string"
}
{
  "message": "string",
  "type": "string"
}
On this page

On this page

No Headings