---
title: "ai.provider-manage-result@1 · OpenVibe.Services"
canonical: "https://openvibe.services/docs/contracts/ai.provider-manage-result"
updated: null
---

# ai.provider-manage-result@1 · OpenVibe.Services

HTML: [ai.provider-manage-result@1 · OpenVibe.Services](https://openvibe.services/docs/contracts/ai.provider-manage-result)

# AiProviderManageResult `ai.provider-manage-result@1`

Generated at 2026-12-01 05:42:00 UTC from [`openvibe-contracts v0.454.0`](https://github.com/OpenVibers/OpenVibe.Contracts/tree/v0.454.0) and [`openvibe-sdk v0.193.0`](https://github.com/OpenVibers/OpenVibe.SDK/tree/v0.193.0).

- Version: 1.0.0
- Owner: ai
- Visibility: first-party
- Status: active
- Compatibility: backward
- Schema: [`https://openvibe.network/contracts/ai/provider-manage-result.v1.json`](/docs/contracts/ai.provider-manage-result.json)

ai.provider-manage-result@1: answers of ai.provider.manage on OpenVibe.AI. Provider create/update/disable/enable → { provider } (201 on POST); POST …/reset → { health } (the circuit breaker, closed again); model upserts → { model }; POST /api/v1/quotas → 201 { quota } (the stored row); DELETE /api/v1/cache → { removed } (entries purged). Every change is audited.

## Fields

This schema has no named fields.

## Examples

From the contract's own test fixtures: valid ones validate, rejected ones must fail.

 Valid: cache-purged

~~~~
{
  "removed": 42
}
~~~~

Valid: provider

~~~~
{
  "provider": {
    "key": "anthropic",
    "display_name": "Anthropic",
    "kind": "anthropic",
    "status": "active",
    "base_url": null,
    "auth_mode": "x-api-key",
    "secret_ref": "env:ANTHROPIC_API_KEY",
    "default_model": "claude-sonnet-4-5",
    "capabilities": [
      "chat",
      "generate",
      "summarize",
      "json"
    ],
    "timeout_ms": 30000,
    "priority": 10,
    "metadata": {},
    "origin": "admin",
    "created_at": "2026-09-20T10:00:00.000Z",
    "updated_at": "2026-09-25T18:00:00.000Z",
    "credentials": "configured",
    "health": {
      "provider_key": "anthropic",
      "state": "closed",
      "consecutive_failures": 0,
      "opened_at": null,
      "last_error": null
    }
  }
}
~~~~

Rejected: negative

~~~~
{
  "removed": -1
}
~~~~

## Validate

~~~~
const contracts = require('openvibe-contracts');
contracts.validate('ai.provider-manage-result@1', value);   // { valid, errors: [{ path, message }] }
~~~~
