Model Create
curl --request POST \
--url https://api.example.com/v2/{entity}/{project}/models \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"source_code": "<string>",
"description": "<string>",
"attributes": {}
}
'{
"digest": "<string>",
"object_id": "<string>",
"version_index": 123,
"model_ref": "<string>"
}Model Create
Create a model object.
POST
/
v2
/
{entity}
/
{project}
/
models
Model Create
curl --request POST \
--url https://api.example.com/v2/{entity}/{project}/models \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"source_code": "<string>",
"description": "<string>",
"attributes": {}
}
'{
"digest": "<string>",
"object_id": "<string>",
"version_index": 123,
"model_ref": "<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.
Authorizations
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Body
application/json
The name of this model. Models with the same name will be versioned together.
Complete source code for the Model class including imports
A description of this model
Additional attributes to be stored with the model
Was this page helpful?
⌘I