Saltar al contenido
BeryxTechBeryxTech

Developers

La calidad de tus datos, por API.

Lee scores, issues, contratos y veredictos de BeryX (antes llamado DataVault) desde tus pipelines, el CI o un agente. REST, JSON, OpenAPI 3.1 — y tokens que solo leen.

261 endpoints · versión 1.178.0 · actualizada el 25 de noviembre de 2026

Empezar

De la cuenta a la primera petición en tres pasos.

  1. Crea un token

    Un admin del workspace lo crea en Ajustes → Tokens de API (planes Team y superiores). El valor dvk_… se muestra una sola vez — guárdalo en un gestor de secretos.

  2. Llama a la API

    Envía el token en la cabecera Authorization: Bearer. Todas las respuestas son JSON (excepto las exportaciones .yml, .sql y .md).

  3. Automatiza

    Conecta el veredicto de un dataset a tu CI, alimenta dashboards o genera un cliente tipado a partir del contrato OpenAPI.

export BERYX_TOKEN="dvk_…"

curl -s "https://api.beryx.tech/api/v1/datasets?limit=20" \
  -H "Authorization: Bearer $BERYX_TOKEN"

Autenticación

Tokens de API: solo lectura, por diseño.

Cada token pertenece a un workspace y hereda sus permisos de lectura. No abre la Consola, no modifica datos y no ve las credenciales de las fuentes.

  • Formato dvk_ seguido de 48 caracteres hexadecimales. Solo guardamos el hash SHA-256 — si lo pierdes, crea otro.
  • Solo GET, HEAD y OPTIONS, más las pocas escrituras marcadas en la referencia (gate RAG, lanzar scans, runs de orquestadores, data-diff y decisión de confianza por lotes). Cualquier otro método devuelve 403, aunque el endpoint exista.
  • Revocación inmediata en Ajustes → Tokens de API; el último uso queda visible para auditoría.
  • La creación y la revocación quedan en el registro de actividad del workspace.

Paginación

Las listas aceptan limit y offset. El catálogo (GET /datasets) devuelve el total en la cabecera X-Total-Count.

Cabecera de autenticación

Authorization: Bearer dvk_3f9c…

Códigos de error

401
Token ausente, inválido o revocado.
402
La funcionalidad no está incluida en el plan del workspace (p. ej., el dosier del AI Act).
403
Método de escritura con un token, o workspace suspendido.
404
El recurso no existe o pertenece a otro workspace.
422
Parámetros inválidos — el cuerpo indica el campo y el motivo.

Todas las respuestas incluyen la cabecera X-Request-ID. Los errores 4xx incluyen detail (el motivo, en portugués), code (estable, para decidir en tu código; null si el error no tiene uno) y request_id, igual a la cabecera. Cita el request_id al soporte para que encontremos la petición en los registros.

HTTP/1.1 403 Forbidden
Content-Type: application/json
X-Request-ID: 7b0c1e4e-3f7a-4c1b-9a51-2d0f7f1e9c11

{
  "detail": "Tokens de API são read-only — usa uma sessão de utilizador para mutações.",
  "code": "token_read_only",
  "request_id": "7b0c1e4e-3f7a-4c1b-9a51-2d0f7f1e9c11"
}

Caso de uso

Un gate de calidad en tu CI.

GET /datasets/{id}/verdict devuelve pass, warn, fail o unknown con las reglas que han fallado. Bloquea el deploy cuando falla una regla crítica o el contrato de datos deja de ser válido.

Migrar las suites de Great Expectations

SDK oficial de Python y clientes generados a partir del contrato

En Python, usa el SDK oficial, beryx-sdk: un cliente tipado para el catálogo, los issues, los veredictos y el gate de CI, que reintenta con backoff las peticiones que fallan. En los demás lenguajes, genera un cliente a partir del openapi.json, que sale del código en cada release y por eso no diverge de la API: el ejemplo de TypeScript usa openapi-typescript, y cualquier generador OpenAPI 3.1 sirve.

Antes del commit: CLI y hook de pre-commit

El SDK de Python instala el comando beryx con verdict, contract check, diff y policy check, en texto o en JSON, con los códigos de salida 0, 1 y 2 del gate. Un hook de pre-commit ejecuta contract check y policy check en los contratos ODCS y en los schema.yml de dbt que cambia el commit. El commit se detiene cuando falta en el dataset una columna del contrato o cuando hay una infracción crítica de la política de datos.

Guía del CLI y del hook (en portugués)
# .github/workflows/data-gate.yml → passo antes do deploy
verdict=$(curl -sf "https://api.beryx.tech/api/v1/datasets/$DATASET_ID/verdict" \
  -H "Authorization: Bearer $BERYX_TOKEN" | jq -r .verdict)

echo "BeryX: $verdict"
[ "$verdict" != "fail" ] || exit 1
# .pre-commit-config.yaml → contract check e policy check antes do commit
repos:
  - repo: local
    hooks:
      - id: beryx-contract-check
        entry: beryx contract check
        language: python
        additional_dependencies: ["beryx-sdk>=0.1.0"]
        files: '(\.odcs|\.datacontracts?)\.ya?ml$|(^|/)models/.+\.ya?ml$'
      - id: beryx-policy-check
        entry: beryx policy check
        language: python
        additional_dependencies: ["beryx-sdk>=0.1.0"]
        files: '(\.odcs|\.datacontracts?)\.ya?ml$|(^|/)models/.+\.ya?ml$'

Estabilidad

Qué le pasa a tu integración cuando cambia la API.

El contrato es lo que muestra este portal. Una versión minor solo añade; un cambio incompatible solo sale en una major, después de una deprecación anunciada. Resumen de la política de versionado — la versión vigente es la 1.178.0.

  • 180 días

    de aviso mínimo antes de que una operación obsoleta deje de responder

  • 30 días

    de aviso antes de reducir los rate limits o las cuotas

  • 2 minor

    del SDK de Python con soporte a la vez, con correcciones

  • What the contract is

    Everything in this portal: the /api/v1 operations an API token can call, with their parameters, fields and status codes. The rest of the API (the web app, account and token management, internal areas) is not covered and may change without notice.

  • Compatible changes (minor)

    A minor version only adds: operations, optional parameters, response fields, new enum values and new codes. Your client should ignore fields it does not know and handle unknown enum values. The code of reasons and blockers (trust decision, readiness) are stable; envelopes with schema_version (trust facts, BI feeds) only change schema_version in a breaking change.

  • What a breaking change is (major)

    Removing or renaming an operation, a parameter or a field; changing its type or format; making something optional required or rejecting a request that used to be accepted; changing the meaning of a field, a code or an HTTP status. A breaking change only ships in one of two ways: under a new path version (/api/v2), leaving /api/v1 unchanged, or in a major version announced in the changelog after a deprecation. Our CI compares every change with the published contract and rejects a breaking change that is not announced.

  • Deprecation

    Announced in the changelog (type deprecated) at least 180 days before the end, with direct communication to the admins of workspaces with active API tokens. During the window the operation keeps responding, with the Deprecation (RFC 9745 — since when), Sunset (RFC 8594 — when it stops responding) and Link with rel="deprecation" (the migration note) headers. Exception: a security fix may shorten the window and is logged in the changelog with type security.

  • SDK

    The Python SDK (beryx-sdk) has its own versions. We support the two most recent minors (N and N-1): they get fixes and track the API. Older versions keep working while the API has no breaking changes, but get no fixes.

  • Rate limits and quotas

    Request limits (per token and per IP) and plan quotas may change; a reduction is announced at least 30 days in advance, except anti-abuse measures. The values in force come with the responses (X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset); above the limit the API responds 429 with Retry-After and, above a plan quota, 402.

  • Reporting a problem

    A response that contradicts this contract is our bug. Write to support@beryx.tech with the method and path, the HTTP status, the time (UTC), the X-Request-ID of the response (errors also carry it in request_id) and the response of GET /version (version, build_sha, api_version) — never the token. Vulnerabilities: the contact in /.well-known/security.txt.

Cómo sabes que algo va a desaparecer

Una operación obsoleta sigue respondiendo durante la ventana, pero empieza a enviar estas cabeceras — y aparece en el changelog de abajo con el tipo «Descontinuado». Vigílalas en tus clientes: CORS también las expone en el navegador.

Leer la política completa

La política está en portugués, con una versión en inglés al final.

Ejemplo de respuesta de una operación obsoleta

HTTP/1.1 200 OK
Deprecation: @1790812800
Sunset: Thu, 01 Apr 2027 00:00:00 GMT
Link: <https://beryx.tech/developers#estabilidade>; rel="deprecation"; type="text/html"

Changelog de la API

Qué ha cambiado en el contrato.

Los cambios que rompen compatibilidad se anuncian aquí antes de llegar a producción. Novedades del producto en general: ver el changelog de BeryX.

  1. v1.178.0

    • Modificado

      The public contract's servers (openapi.json) becomes https://api.beryx.tech, the main domain, and the developer portal https://beryx.tech/developers. The https://api.beryxtech.com from 1.88.0 never answered and goes away. The address your installation uses today keeps answering, until the end date announced in the domain change guide. The contact for a contract error becomes support@beryx.tech. Identifiers do not change: the producer of the OpenLineage events and the MCP _meta key beryxtech.com/provenance stay as they are. Card #1413.

  2. v1.177.0

    • Seguridad

      The drill-down of volume and null anomalies no longer carries the value of the segment. In impact.drilldown of GET /issues (and in the other responses with the issue), segment is null in the drill-down and in each of segments (or __null__/__other__, the empty dimension and the rest, which are not values), and segment_id carries the hash of the value, with the installation's key, the workspace and the dataset; the counts and the shares stay. The description names the dimension. The value is read in GET /issues/{issue_id}/explanation, from the scan's profile, and comes masked on a sensitive column for anyone without clearance; before, the explanation did not mask it. If the profile no longer has it, segments[].segment carries the hash and label only the dimension. The issues that already existed change with the migration. Card #1379.

    • Seguridad

      A distribution_shift no longer carries values of the column. In impact of GET /issues (and in the other responses with the issue), the drift by categories now has categories, with the before and after shares (0–1) and the segment_id (the hash of the value, with the installation's key, the workspace and the dataset) of the three largest, and segment only with __other__ (the rest, which is not a value); the one of the quantiles now has change_pct, the change of each one as a percentage (null when the previous one is zero). before and after are gone in both, and before_min and before_max in the quantiles one; in the hour of day and the other drifts they stay. The description states the shares or the change. GET /issues/{issue_id}/explanation now also answers for these issues (it returned 422 before), with distribution: the categories or the quantiles, before and after, read from the profile of the two compared scans and masked on a sensitive column for anyone without clearance (masked); of the quantiles, only the change stays. If the profile no longer has them, categories[].segment carries the hash and the quantiles come null. The issues that already existed change with the migration. Card #1399.

    • Seguridad

      The rules proposed on a sensitive column (classified pii or confidential, or with personal data detected) no longer carry the observed values. In GET /suggestions and in suggestions of GET /datasets/{dataset_id}, the title, description_md and text_params do not state the minimum, the maximum, the categories, the sentinels, the delay or the means (reason ends in _withheld), and proposed_rule carries from_profile (the family) and params without min, max, regex, treat_as_null or expression. Accepting the suggestion reads them from the latest profile; if the profile no longer yields the rule, PATCH /suggestions/{suggestion_id} answers 409. Classifying the column takes them out of the suggestions that already existed, and no new interval is proposed for a range of a sensitive column.

    28 cambios más en la v1.177.0
  3. v1.176.0

    • Nuevo

      GET /compliance/ai-agents/{agent_id}/model-version: the model version the cloud serves against the one the record declares (declared_version, observed), with the upgrade option (upgrade: OnceNewDefaultVersionAvailable, OnceCurrentVersionExpired, NoAutoUpgrade or pinned), the lifecycle (lifecycle, end_of_life_at), what was left unread (unread), the findings (version_mismatch, end_of_life_passed, end_of_life_soon, model_legacy, auto_upgrade, version_undeclared; the fix only for admins), the last change seen (previous_version, changed_at) and the drills and impact assessment from before it (drills_other_version, impact_assessment_other_version). POST …/model-version/collect (admin): «Read now», queued with the who-can-invoke read (202). GET /compliance/ai-model-versions (admin): the list of Azure OpenAI and Bedrock records. New task kind ai_model_version and audit action ai_agent_model_version_changed. In the posture report (GET /workspace/data-posture), each agent in ai_security.model_access.items carries version_status (read, not_read or not_supported), version_declared, version_observed, version_end_of_life_at and version_findings. Card #1339.

    • Nuevo

      GET /compliance/ai-agents/{agent_id}/mcp-servers: the agent's other MCP servers, besides BeryX's, as the record declares them (servers: name, version, package_sha256, remote_url, reads_private_data, receives_untrusted_content, communicates_externally and, in registry, the last check in the official MCP registry: status active, deprecated, deleted or unchecked, with the reason in reason, hash_state match, mismatch or absent, the hashes of the version's packages, latest, message and checked_at), the tools fingerprint (tools_fingerprint), the tools_enforced option, the open divergence (tools_mismatch_at, tools_mismatch_hash, blocks_classified) and the three capabilities added up (capabilities). With the "AI & Data Security" add-on (without it, 404) and in the plan with compliance. Card #1275.

    • Nuevo

      X-Beryx-Tools-Fingerprint header: the SHA-256 of the tool definitions of all the MCP servers on the record, with the canonicalisation of the BeryX tool manifest. GET /compliance/ai-agents/usage carries tools_state (match, mismatch or absent; null when the request was not compared) and tools_hash, and filters by tools_state. With the tools_enforced option, a divergence refuses classified data with 403 agent_tools_mismatch. GET /tasks: the ai_agent_tools_mismatch kind, for the agent owner (or the admins). Card #1275.

    37 cambios más en la v1.176.0
Ver todas las versiones (179)

¿Todavía no tienes workspace?

Empieza en el plan gratuito y pasa a Team cuando necesites tokens de API.