# agente-jefe Text Summarization

> agente-jefe Text Summarization is a paid API for AI agents from agente.revenuerecoveryai.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Summarizes Spanish or multilingual text into a concise summary with key points, entities, and sentiment, billed per call in USDC via x402.

## Facts

- Endpoint: GET https://agente.revenuerecoveryai.app/v1/resumen
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agente-jefe-text-summarization-74957b6b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_DuXsb-Z0T-r81_r2cDrKY

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 agente-jefe-text-summarization-74957b6b
```

Example prompt: Can you summarize this Spanish news article for me, pull out up to 5 key points, and tell me the sentiment? Here's the text: 'El banco central subió las tasas de interés 25 puntos base en su reunión de julio, ante la persistencia de la inflación en el sector servicios.'

## When to prefer this

Choose this endpoint when you need fast, pay-per-call text summarization with simultaneous entity extraction, sentiment analysis, and language detection — all in one response — without needing to sign up for an account or manage API keys. It is especially well-suited for Spanish-language content but handles multilingual input. Prefer it over general-purpose LLM calls when you want a structured, schema-guaranteed JSON response with cost transparency per call, and when micropayment via USDC on Base is acceptable.

## Known failure modes

- Missing required 'texto' query parameter returns a 400 error
- Payment not received or x402 handshake failure returns 402 Payment Required
- Text too long for model context window may produce truncated or failed summaries
- Invalid 'profundo' or 'max_puntos_clave' values outside schema constraints return validation errors
- Network timeout on upstream DeepSeek model call may return 503 or gateway error

## How this service works

Resume texto y extrae estructura (resumen, puntos clave, entidades, sentimiento, idioma). Variante con parámetros en la URL, para textos cortos; usa POST para textos largos.

## Output

Returns a JSON object with: a prose summary (resumen), an array of key bullet points (puntos_clave, up to 15), named entities with type and name (entidades), an overall sentiment label (sentimiento), the detected input language (idioma_detectado), and a usage block showing model name, token counts, cached tokens, and estimated USD cost.

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "texto"
     ],
     "properties": {
      "texto": {
       "type": "string",
       "description": "Texto a resumir."
      },
      "idioma": {
       "type": "string",
       "description": "Idioma de salida, ej. 'es'."
      },
      "profundo": {
       "type": "boolean",
       "description": "Modelo grande."
      },
      "max_puntos_clave": {
       "type": "integer",
       "maximum": 15,
       "minimum": 1
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "uso": {
   "modelo": "deepseek-v4-flash",
   "tokens_salida": 180,
   "tokens_entrada": 236,
   "coste_estimado_usd": 0.00016856,
   "tokens_entrada_cacheados": 128
  },
  "resumen": "El banco central subió las tasas 25 puntos base en julio por la inflación persistente en servicios.",
  "entidades": [
   {
    "tipo": "organizacion",
    "nombre": "banco central"
   }
  ],
  "sentimiento": "neutral",
  "puntos_clave": [
   "Subida de 25 pb",
   "Reunión de julio",
   "Inflación en servicios"
  ],
  "idioma_detectado": "es",
  "palabras_entrada": 24
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agente-jefe-text-summarization-74957b6b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agente.revenuerecoveryai.app](https://www.zero.xyz/host/agente.revenuerecoveryai.app/llms.txt)
