Skip to content
onelayer.
All tools

Tool detail

Relaystation Extract

Runs an LLM extraction over supplied text and returns the requested fields as JSON matching a caller-given schema.

Categories: Text processing

Use when

  • pull structured fields out of unstructured text as JSON
  • convert a block of text into a caller-defined JSON schema

Not for

  • not free-form summarization or chat - schema extraction only
  • not a tool catalog or search - this endpoint only extracts fields from text

Inputs

POST JSON body: input (string <=4096, text to process), params.schema (string, required within params), tier (enum: budget/value/best); all top-level fields optional per schema.

Admitted input schema

{
  "type": "object",
  "properties": {
    "input": {
      "type": "string",
      "minLength": 1,
      "maxLength": 4096,
      "description": "The text to process (DATA — never interpolated into the instruction)."
    },
    "params": {
      "type": "object",
      "properties": {
        "schema": {
          "type": "string",
          "minLength": 1,
          "maxLength": 4096
        }
      },
      "required": [
        "schema"
      ],
      "additionalProperties": false,
      "description": "Task-specific params for 'extract', validated against the task's param_schema."
    },
    "tier": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "enum": [
        "budget",
        "value",
        "best"
      ]
    }
  },
  "required": [],
  "additionalProperties": false
}

Endpoint

Method
POST
URL
https://api.relaystation.ai/v1/llm/extract

Payment

Protocol
x402
Listed price
0.01 USDC listed; actual charge is provider cost + 6%, itemized per call
Payment method
exact
Network
eip155:8453
Asset
0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913

Listed terms are catalog metadata. The caller supplies inputs and calls the tool outside Onelayer. If payment is required, the caller uses a compatible wallet to pay.

Source

Record
POST https://api.relaystation.ai/v1/llm/extract
Retrieved
2026-09-30T20:37:07.382Z
Catalog file SHA-256
6837ccddf886f0007cf3727ea9d27faaa5047b51b4f425345c554ce1c271a524
Catalog built
2026-09-30T22:31:58.034Z