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>"
}予測を作成する。
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>"
}Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
成功時のレスポンス
予測 ID