# AiSpace Responses API

> AiSpace Responses API is a paid API for AI agents from x402.aispace.bot, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-10).

Executes HTTP GET, HEAD, or DELETE requests through AiSpace's Venice.ai-powered backend to retrieve AI responses or resource status

## Facts

- Endpoint: POST https://x402.aispace.bot/api/v1/responses?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/aispace-responses-api-5261c99e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rNr4KK64Rqf2_AEmJPpqR

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 aispace-responses-api-5261c99e -d '<json body>'
```

Example prompt: Use AiSpace to fetch the latest AI response — send a GET request with my query parameters to check what the Venice.ai-powered backend returns.

## When to prefer this

Choose this endpoint when you need to retrieve or check resources on the AiSpace platform using safe, read-only HTTP methods (GET, HEAD) or remove resources (DELETE), and when privacy-preserving AI interaction via Venice.ai is a priority. Not suitable for creating or updating resources.

## Known failure modes

- Invalid or missing 'input' object returns validation error
- Unsupported HTTP method (e.g. POST, PUT) rejected by enum constraint
- Malformed queryParams object causes bad request
- Payment not fulfilled via x402 results in 402 Payment Required
- Resource not found returns ok: false or 404 error

## How this service works

Venice Responses API (alpha) — OpenAI-compatible structured agent outputs with typed blocks (reasoning, message, tool calls), paid per request in USDC on Base via x402, no API key. Resolve a model id from GET /api/v1/models?type=text.

## Output

Returns a JSON object with an 'ok' boolean indicating whether the request succeeded, along with any relevant response data from the AiSpace/Venice.ai backend.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "description": "String prompt or OpenAI Responses-style input array. May include additional_tools items, custom tool outputs, tool_search items, and image_url.detail auto|low|high|original."
  },
  "model": {
   "type": "string",
   "description": "Venice text model id. See GET /api/v1/models?type=text."
  },
  "tools": {
   "type": "array",
   "items": {
    "type": "object"
   },
   "description": "Optional tool list (function, custom with namespace, tool_search, hosted). Custom tool outputs are valid in the output array."
  },
  "reasoning": {
   "type": "object",
   "properties": {
    "effort": {
     "type": "string"
    },
    "enabled": {
     "type": "boolean"
    },
    "summary": {
     "enum": [
      "auto",
      "concise",
      "detailed"
     ],
     "type": "string"
    }
   },
   "description": "Reasoning controls. summary: auto | concise | detailed."
  },
  "tool_choice": {
   "description": "auto | none | required, or { type, name, namespace? } to force a named tool."
  },
  "instructions": {
   "type": "string",
   "description": "System instructions for the model, applied before input."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "id": "resp_gcp-1788177693065",
  "model": "gemini-3-6-flash",
  "usage": {
   "input_tokens": 1780,
   "total_tokens": 1808,
   "output_tokens": 28
  },
  "object": "response",
  "output": [
   {
    "id": "rs_XrMtQ4zPQVL2",
    "type": "reasoning",
    "summary": [
     "**My Thought Process on Receiving \"hi\"**\n\nAh, a greeting! The user has initiated contact with a simple \"hi.\" My immediat"
    ]
   }
  ],
  "status": "completed",
  "created_at": 1788177693
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/aispace-responses-api-5261c99e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.aispace.bot](https://www.zero.xyz/host/x402.aispace.bot/llms.txt)
