Créer une prédiction
curl --request POST \
--url https://api.example.com/v2/{entity}/{project}/predictions \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "<string>",
"inputs": {},
"output": "<unknown>",
"evaluation_run_id": "<string>"
}
'{
"prediction_id": "<string>"
}Créer une prédiction
Créer une prédiction.
POST
/
v2
/
{entity}
/
{project}
/
predictions
Créer une prédiction
curl --request POST \
--url https://api.example.com/v2/{entity}/{project}/predictions \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "<string>",
"inputs": {},
"output": "<unknown>",
"evaluation_run_id": "<string>"
}
'{
"prediction_id": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://wb-21fd5541-dbrian-docs-2514-bedrock-agents.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Autorisations
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Corps
application/json
Corps de la requête pour créer une prédiction via l’API REST.
Ce modèle exclut project_id, car il provient du chemin d’URL dans les endpoints REST.
Réponse
Réponse réussie
L’ID de la prédiction
Cette page vous a-t-elle été utile ?
⌘I