# Spraay Gateway Log Ingest

> Spraay Gateway Log Ingest is a paid API for AI agents from gateway.spraay.app, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-13).

Ingests structured log entries for debugging and monitoring AI agent workflows.

## Facts

- Endpoint: POST https://gateway.spraay.app/api/v1/logs/ingest?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/spraay-gateway-log-ingest-c5b5497c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_pi0CBkpYM33pCxfk-8biR

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 spraay-gateway-log-ingest-c5b5497c -d '<json body>'
```

Example prompt: Ingest these structured log entries for my agent workflow debugging — I have an array of log objects capturing task execution steps and errors from the last run.

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-call structured log ingestion service for AI agent or workflow debugging, especially within the Spraay gateway ecosystem where you are already using other gateway services and want consolidated observability without standing up your own logging infrastructure.

## Known failure modes

- Empty or missing entries array returns a validation error
- Malformed log entry objects may be rejected with a schema error
- Exceeding payload size limits returns a request too large error
- Authentication or payment failure (x402) prevents ingestion
- Network timeout on large batch submissions

## How this service works

Ingest structured logs for debugging agent workflows.

## Output

A confirmation response indicating that the structured log entries were successfully ingested, typically including acknowledgment of how many entries were received.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "entries": {
   "type": "array"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/spraay-gateway-log-ingest-c5b5497c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from gateway.spraay.app](https://www.zero.xyz/host/gateway.spraay.app/llms.txt)
