# GlianaAI Decisions Endpoint

> GlianaAI Decisions Endpoint is a paid API for AI agents from api.glianalabs.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-12-01).

Runs a decision-making or recommendation AI inference call via GlianaAI's pay-per-call platform, returning a media URL with the output

## Facts

- Endpoint: GET https://api.glianalabs.com/x402/decisions?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-12-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/glianaai-decisions-endpoint-78f0b75e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Pj5ZbgTbhdKa1IZI0EG3r

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 glianaai-decisions-endpoint-78f0b75e
```

Example prompt: Ask GlianaAI's decisions model whether I should approve this loan application given the applicant's credit score of 720, income of $65,000, and requested amount of $15,000 — pay per call in USDC, no account needed.

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-call AI decision or recommendation inference with no account or subscription required, and you can pay per request in USDC. It is ideal for agents that need sporadic, on-demand AI decisions without committing to a monthly plan, or for applications that want crypto-native micropayments for AI inference.

## Known failure modes

- Missing required 'input' field returns a 400 validation error
- Invalid method enum (non-GET) causes schema rejection
- Insufficient USDC balance or failed x402 payment results in 402 Payment Required
- Malformed bodyType enum value causes request rejection
- Empty or malformed body object may return an empty or error output from the model
- Rate limiting or upstream model unavailability returns 503 or timeout

## How this service works

One endpoint for 120+ generative AI models plus market data, SEC filings and identity APIs. Pay per request in USDC, no signup, or top up a balance in rupiah.

## Output

Returns a JSON object containing a media URL (https://api.glianalabs.com/v1/media/<id>) where the decision model's output can be retrieved, along with a model identifier confirming which decisions model was used.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "properties": {}
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "model": "decisions",
  "output": {
   "url": "https://api.glianalabs.com/v1/media/<id>"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/glianaai-decisions-endpoint-78f0b75e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.glianalabs.com](https://www.zero.xyz/host/api.glianalabs.com/llms.txt)
