ActorModelManageResult actor.model-manage-result@1
Generated at from
openvibe-contracts v0.419.0 and
openvibe-sdk v0.161.0.
- Version
- 1.0.0
- Owner
- actor
- Visibility
- public
- Status
- active
- Compatibility
- backward
- Schema
https://openvibe.network/contracts/actor/model-manage-result.v1.json
actor.model-manage-result@1: what GET /api/v1/me/model answers, and what PUT /api/v1/me/model answers: { choice, provider, model, updated_at, keys }. choice is what you chose; provider is the provider your own key is for (or nothing); model is the model id you picked (or nothing); updated_at is when you last changed it; keys are the providers you hold a key for in OpenVibe.AI (names only, never key material), or null when OpenVibe.AI does not tell a service.
Fields
| Field | Type | Required | Description | Constraints |
|---|---|---|---|---|
choice | enum | yes |
| |
provider | enum | yes |
| |
model | string | null | yes |
| |
updated_at | string | null | yes | ISO 8601, or nothing when you never changed it. | |
keys | array | null | yes | The providers you hold a key for, names only. Null when OpenVibe.AI does not tell a service. |
Examples
From the contract's own test fixtures: valid ones validate, rejected ones must fail.
Valid: default
{
"choice": "auto",
"provider": null,
"model": null,
"updated_at": null,
"keys": null
}Valid: own
{
"choice": "own:openai",
"provider": "openai",
"model": "gpt-5.1",
"updated_at": "2026-11-01T00:00:00.000Z",
"keys": [
"openai",
"anthropic"
]
}Rejected: without-keys
{
"choice": "auto",
"provider": null,
"model": null,
"updated_at": null
}Validate
const contracts = require('openvibe-contracts');
contracts.validate('actor.model-manage-result@1', value); // { valid, errors: [{ path, message }] }