Skip to content

models module route (requires models:registry:write)

POST
/v1/m/models/agent-artifacts
curl --request POST \
--url https://example.com/v1/m/models/agent-artifacts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '"example"'

Registers one agent artifact from the posted document.

X-Olivares-Tenant
string format: uuid

Target tenant id; required when the principal can act in more than one tenant.

Media type application/json
object
artifact_class
required
string
Allowed values: skill mcpb_extension mcp_app_template agents_md
attested_at

Accepted by the reused DTO; the server timestamp is authoritative.

string
attested_by

Accepted by the reused DTO; the authenticated actor is authoritative.

string
content_alg

Empty defaults to sha256 when content_hash is non-empty.

string
content_hash
string
id
string
name
required
string
>= 1 characters /\S/
note
string
posture_grade
string
Allowed values: "" A B C D F
posture_issues
integer format: int64
posture_scanned
boolean
provenance
string
source_ref
string
verified
boolean
version
string

OK

Media type application/json
object
Example generated
{}

Bad request

Media type application/json
object
Example generated
{}

Unauthenticated

Media type application/json
object
Example generated
{}

Forbidden

Media type application/json
object
Example generated
{}

Not found

Media type application/json
object
Example generated
{}

Conflict / setup required

Media type application/json
object
Example generated
{}

Rate limited

Media type application/json
object
Example generated
{}