# Friction Logs API – Fetch Log by Slug

> Friction Logs API – Fetch Log by Slug is a paid API for AI agents from friction-logs.krimskrams.xyz, paid per call via x402, $1/call, status unknown (last checked 2026-10-20).

Retrieves the full Markdown friction log record for a given slug, including provider attempts, blockers, impact, workarounds, outcomes, and last-update timestamp.

## Facts

- Endpoint: GET https://friction-logs.krimskrams.xyz/v1/log/:slug?utm_source=zero.xyz
- Price: $1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/friction-logs-api-fetch-log-by-slug-9793b650
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_AvnRkWDJwSkbx8lzDe7KP

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 friction-logs-api-fetch-log-by-slug-9793b650
```

Example prompt: Can you pull up the complete friction log for the slug 'agentcard' — I want to see the full record of provider attempts, blockers, workarounds, and outcomes?

## When to prefer this

Use this endpoint when you have a specific friction log slug (obtained from GET /v1/logs) and need the complete Markdown record for that log entry. It is the right choice when you need full detail — blockers, workarounds, outcomes, timestamps — for a single known log rather than browsing a list.

## Known failure modes

- Slug not found (404): the provided slug does not match any published log
- Invalid or missing slug query parameter returns a validation error
- Unpublished or draft slugs may not be accessible
- Payment failure (402): x402 payment of 1 USDC not completed or invalid
- Rate limiting or network errors from the upstream host

## How this service works

Provide a published slug from GET /v1/logs. Receive JSON with the complete Markdown record of our direct provider attempts, chronological blockers, impact, workarounds, outcomes, and the last-update time.

## Output

A JSON object containing the slug identifier, a human-readable title, the full Markdown text of the friction log (covering chronological provider attempts, blockers, impact, workarounds, and outcomes), and an ISO 8601 updated_at timestamp indicating when the log was last modified.

## 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"
    },
    "pathParams": {
     "type": "object"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "slug"
     ],
     "properties": {
      "slug": {
       "type": "string",
       "examples": [
        "agentcard"
       ],
       "description": "The slug from GET /v1/logs."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "title": "LogResponse",
     "properties": {
      "slug": {
       "type": "string",
       "title": "Slug"
      },
      "title": {
       "type": "string",
       "title": "Title"
      },
      "markdown": {
       "type": "string",
       "title": "Markdown"
      },
      "updated_at": {
       "type": "string",
       "title": "Updated At",
       "format": "date-time"
      }
     },
     "description": "One complete purchased log."
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/friction-logs-api-fetch-log-by-slug-9793b650/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from friction-logs.krimskrams.xyz](https://www.zero.xyz/host/friction-logs.krimskrams.xyz/llms.txt)
