# 24K Labs Session Summarizer

> 24K Labs Session Summarizer is a paid API for AI agents from api.24klabs.ai, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-15).

Summarizes a support or chat session transcript using Claude AI, returning a concise text summary and token usage metadata.

## Facts

- Endpoint: POST https://api.24klabs.ai/api/summarize-session
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/24k-labs-session-summarizer-b486f53c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hQAxDwy5q5QVkzXs_DX8t

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 24k-labs-session-summarizer-b486f53c -d '<json body>'
```

Example prompt: Can you summarize this customer support session transcript for me? Here's the full conversation: 'Agent: Hi, how can I help you today? Customer: I forgot my password. Agent: No problem, I've sent a reset link. Customer: Got it, worked perfectly, thanks!' Context: this was a password reset support session.

## When to prefer this

Choose this endpoint when you need a fast, pay-per-use AI summarization of a support or chat session transcript without committing to a subscription or managing API keys. Ideal for low-frequency or burst summarization workloads where per-request USDC billing on Base L2 is preferable. Best when you have raw session text and want a concise human-readable summary with token usage visibility.

## Known failure modes

- Missing or empty 'code' field returns an error — the primary session content must be provided
- Payment not received or insufficient USDC balance causes a 402 Payment Required response
- Excessively long session transcript may exceed token limits and fail
- Invalid or malformed request body may return a 400 Bad Request
- Service unavailability or upstream Claude API errors return a 5xx response

## How this service works

A curated directory of x402 services — each one on the list on purpose, with the health, uptime, and independent trust grades from across the ecosystem gathered in one place.

## Output

A JSON object containing the AI model used (e.g. 'claude-haiku-4-5'), a markdown-formatted summary string (e.g. '**Summary:** Password reset support session resolved successfully.'), and the number of tokens consumed by the request.

## Example request

```json
{
 "code": "Agent: Hello, thank you for contacting support. How can I assist you today? Customer: Hi, I'm having trouble accessing my account. Agent: I understand. Let me help you with that. Can you provide your username? Customer: It's john_doe_123. Agent: Thank you. I've sent a password reset link to your registered email. Customer: Great, I received it and reset my password successfully. Agent: Excellent! Your account should now be accessible. Is there anything else I can help you with? Customer: No, that's all. Thanks for your help! Agent: You're welcome. Have a great day!",
 "context": "Customer support session for account access and password reset issue",
 "language": "english"
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "code": {
   "type": "string",
   "description": "Primary input content"
  },
  "context": {
   "type": "string",
   "description": "Optional context or instructions"
  },
  "language": {
   "type": "string",
   "description": "Programming language (code services)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "model": "claude-haiku-4-5",
  "result": "**Summary:** Password reset support session resolved successfully.",
  "tokens_used": 130
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/24k-labs-session-summarizer-b486f53c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.24klabs.ai](https://www.zero.xyz/host/api.24klabs.ai/llms.txt)
