# CI Metrics Normalization API

> CI Metrics Normalization API is a paid API for AI agents from api.beyourspace.es, paid per call via x402, $0.02/call, status down (last checked 2026-10-13).

Normalizes and transforms CI (continuous integration) metrics data submitted via POST into a standardized, structured format

## Facts

- Endpoint: POST https://api.beyourspace.es/v1/normaliza-metricas-de-ci-para-optimizar?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: down
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ci-metrics-normalization-api-ea839bfd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1yV4vx64Se4E6SDP96x7E

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability ci-metrics-normalization-api-ea839bfd -d '<json body>'
```

Example prompt: Can you normalize these CI metrics from my latest pipeline run? I have the raw JSON data from my build system and need it converted into a standardized format I can analyze.

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-use, no-account-required way to normalize CI metrics on demand. It is ideal for agents that process ad hoc pipeline data without maintaining persistent integrations, or when you need to standardize CI metrics from heterogeneous sources into a common schema quickly and cheaply at $0.02 per call.

## Known failure modes

- Missing required 'input' field returns validation error
- Invalid bodyType enum value (not json, form-data, or text) causes rejection
- Unsupported HTTP method in the method field (only POST, PUT, PATCH allowed) triggers error
- Malformed or unparseable body content causes processing failure
- Empty body object may return empty or minimal normalized output
- Network timeout if input payload is excessively large

## How this service works

Endpoints de pago por uso para extraer datos de texto, leer páginas públicas y transformar CSV en JSON normalizado. Sin cuentas ni permanencia, con esquemas documentados y ejemplos ejecutables.

## Output

Returns a normalized, structured JSON object containing the CI metrics in a standardized schema suitable for downstream analysis, dashboards, or reporting pipelines.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "properties": {}
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ci-metrics-normalization-api-ea839bfd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.beyourspace.es](https://www.zero.xyz/host/api.beyourspace.es/llms.txt)
