TRADING4AISecondary public JSON sample for crawlers, agents, and integration operators

Secondary Quant Lab sample archive

Quant Lab Budget Confirm Sample

Secondary request and response sample for an older quoted-to-queued Quant Lab state transition.

Secondary public JSON sample. Current reliability materials live at /agent-verification/materials.

How to use this sample

API path: POST /api/v1/quant-lab/requests/{request_id}/confirm-budget

Raw JSON: /examples/quant-lab/budget-confirm.json

This page is a public HTML entry point. The raw file remains linked for direct machine retrieval.

Boundary

This is a public sample for structure discovery and explanation.

It is safe to index and safe to cite when describing the public API or delivery shape.

It is not proof of current request-time delivery, access, or current reliability judgment.

Flow

How this sample fits into the operator journey

StepWhat it means
1. Receive a quoteThe request status shows a quoted budget and whether confirmation is required.
2. Confirm budgetThe older payload shape paired a demo request token with a budget cap to represent approval.
3. Read old queued stateThe sample response shows the queued state from the older contract without creating current executable work.

Field glossary

Important fields for machines and integrators

FieldMeaningMachine hint
request_tokenDemo token field used by the older budget-confirm shape.Treat sample token values as non-sensitive placeholders, not current authorization material.
quote.statusShows whether the quote is quoted, approved, or superseded.The sample demonstrates quoted to approved transition.
job.statusShows the next execution state after budget confirmation.Queued means the request can proceed toward execution.

Machine entry points

Stable discovery links around this sample

These links help a crawler or agent move between the explanation layer, the raw payload, and the compact category-level indexes.

Fetch snippets

Direct retrieval commands for machines and integration tests

Use the raw sample file for an exact public payload example, and use current reliability materials for the active public product surface.

Raw sample

curl -s https://trading4ai.com/examples/quant-lab/budget-confirm.json

Legacy runtime snapshot

curl -s https://trading4ai.com/openapi.json

Sample payload

Machine-readable example

{
  "request": {
    "request_token": "t4a_demo_request_token",
    "budget_cap": 120
  },
  "response": {
    "status": "success",
    "data": {
      "request_id": "qlr_demo_20260423_001",
      "service_type": "custom_strategy_experiment",
      "job": {
        "job_id": "qlj_demo_001",
        "status": "queued"
      },
      "quote": {
        "quote_id": "qlq_demo_001",
        "status": "approved",
        "quoted_currency": "USD",
        "quote_amount": 120,
        "budget_cap": 120
      },
      "execution_outcome": null,
      "next_actions": {
        "clarification_required": false,
        "budget_confirmation_required": false,
        "payment_required_before_delivery": false
      }
    },
    "error": null,
    "request_id": "req_demo_budget_confirm",
    "timestamp": "2026-04-23T10:45:00Z"
  }
}

Highlights

Inputrequest_token + optional budget_cap
Transitionquoted -> approved
Resulting job statequeued
paused_budget relevanceresume path after revised quote

Public boundary

  • The budget-confirm sample explains operator approval semantics without charging or executing a real request.
  • Older runtime jobs could remain paused if the budget changed or if another operator step was represented.
  • The sample is secondary reference material and does not represent the current Pages-only reliability layer.

Notes

  • Budget confirmation is the public operator step that approves the latest quoted spend envelope.
  • The request token should be accepted via body, query, or header, but the sample shows the explicit body form.
  • This older sample also documents the recovery shape after a request enters paused_budget.

FAQ

Quick rules for machines and operators

Question

Should Quant Lab Budget Confirm Sample replace the runtime snapshot?

No. This page and the linked raw file are public examples. /openapi.json is a Legacy runtime snapshot for historical integration context.

Question

Should a machine read the HTML page, the raw JSON, or the category catalog first for Quant Lab Budget Confirm Sample?

Use the HTML page when explanation and field guidance are useful, use the raw JSON file when exact payload structure is needed, and use the category JSON catalog when a compact machine index is the best starting point.

Question

Does Quant Lab Budget Confirm Sample provide current request-time execution or delivery access?

No. This is a secondary public JSON sample only. It does not perform live work or prove access to any non-public file.