Skip to content
Skip to Content
DalalOSdocs

Tool reference

How fresh is the Indian stock data in DalalOS

get_data_freshness — Per-data-domain freshness and job status. This is a read-only research or operational tool. It does not place trades or issue investment recommendations.

What you can ask

Connect DalalOS to Claude or ChatGPT and ask in plain English; the assistant calls get_data_freshness for you and answers from the figures it returns.

EXAMPLE PROMPTS

  • How fresh is the underlying data right now?
  • When was price data last refreshed?
  • Which data domains are delayed right now?

Parameters and response fields

get_data_freshness

Per-data-domain freshness and job status

USE WHEN

See exactly when each data domain (prices, financials, shareholding, ...) last refreshed, and whether it's stale.

PARAMETERS

No parameters.

RESPONSE DATA

  • Per-job status, age and staleness; an overall status.
Also available via REST: /freshness

See the same data on DalalOS

Public pages that need no sign-in and show data from the same source.

The same data over REST, run on 2026-11-27

This tool reads the same data as GET /freshness. The call and the answer below were run against the live API.

Cache freshness
curl -H "Authorization: Bearer $DALALOS_API_KEY" "https://mcp.dalalos.in/v1/freshness"
{
  "status": "success",
  "data": {
    "status": "ok",
    "db": "ok",
    "jobs": {
      "backfill_announcements_history": {
        "last_status": "success",
        "last_success_at": "2026-07-24T02:57:34+00:00",
        "age_hours": 3036.99,
        "…": "11 more keys"
      },
      "backup_cache_db": {
        "last_status": "success",
        "last_success_at": "2026-11-27T01:32:05+00:00",
        "age_hours": 14.42,
        "…": "11 more keys"
      },
      "check_capture_continuity": {
        "last_status": "success",
        "last_success_at": "2026-11-27T15:05:00+00:00",
        "age_hours": 0.87,
        "…": "11 more keys"
      },
      "…": "133 more keys"
    },
    "datasets": {
      "cdsl_sector_flow": {
        "status": "healthy",
        "checks": {
          "cdsl.sector_flow_global_nonempty": {
            "dimension": "coverage",
            "status": "pass",
            "expected": {
              "classified_row_count": "> 0"
            },
            "…": "4 more keys"
          }
        },
        "failing_checks": [],
        "…": "6 more keys"
      },
      "cdsl_stock_flow": {
        "status": "healthy",
        "checks": {
          "cdsl.stock_flow_global_nonempty": {
            "dimension": "coverage",
            "status": "pass",
            "expected": {
              "row_count": "> 0"
            },
            "…": "4 more keys"
          },
          "cdsl.stock_flow_latest_period": {
            "dimension": "coverage",
            "status": "pass",
            "expected": {
              "discontinued_after": "2025-03-31"
            },
            "…": "4 more keys"
          }
        },
        "failing_checks": [],
        "…": "6 more keys"
      },
      "fo_bhavcopy": {
        "status": "healthy",
        "checks": {
          "fo_bhavcopy.instrument_type_known": {
            "dimension": "semantic",
            "status": "pass",
            "expected": {
              "known_types": [
                "IDF"
              ],
              "rows_without_known_type": 0
            },
            "…": "4 more keys"
          },
          "fo_bhavcopy.recent_sessions_covered": {
            "dimension": "coverage",
            "status": "pass",
            "expected": {
              "sessions_without_rows": 0,
              "window_sessions": 30
            },
            "…": "4 more keys"
          },
          "fo_bhavcopy.stock_futures_underlyings": {
            "dimension": "coverage",
            "status": "pass",
            "expected": {
              "at_least": 109
            },
            "…": "4 more keys"
          }
        },
        "failing_checks": [],
        "…": "6 more keys"
      },
      "…": "20 more keys"
    },
    "stale": [],
    "stuck": [],
    "extraction_queue": {
      "running": 0,
      "oldest_running_at": null,
      "oldest_running_hours": null,
      "max_running_hours": 6,
      "stuck": false
    },
    "extraction_projections": {
      "filing_index": {
        "pending": 0,
        "success": 78743,
        "failed": 28,
        "not_applicable": 27226
      },
      "canonical_event": {
        "pending": 0,
        "success": 105973,
        "failed": 8,
        "not_applicable": 16
      },
      "periodic_metrics": {
        "pending": 1,
        "success": 78770,
        "failed": 0,
        "not_applicable": 27226
      }
    },
    "extraction_outbox": {
      "available": true,
      "pending": 3,
      "pending_backing_off": 0,
      "…": "8 more keys"
    },
    "warnings": [
      "extraction_projection:canonical_event:failed_older_than_6h"
    ],
    "disk": {
      "free_bytes": 13177868288,
      "free_pct": 32.97,
      "min_free_pct": 5,
      "low": false
    },
    "checked_at": "2026-11-27T15:57:03.934107+00:00",
    "scheduler_started_at": "2026-11-27T05:59:28+00:00",
    "company_freshness": {
      "scope": "This reports the health of background refresh jobs, not of one company. The e…",
      "for_a_company": "To know whether one company's figures are current, read the `freshness` block…",
      "jobs": {
        "refresh_financials_delta": {
          "reason_code": "source_check_old",
          "surfaces": [
            "get_financials"
          ]
        },
        "refresh_shareholding_sweep": {
          "reason_code": "source_check_old",
          "surfaces": [
            "get_shareholding"
          ]
        },
        "refresh_quotes": {
          "reason_code": "price_feed_behind",
          "surfaces": [
            "get_stock_quote"
          ]
        },
        "…": "5 more keys"
      }
    }
  },
  "cached_at": "2026-11-27T15:57:03.934107+00:00",
  "source": "job_runs",
  "stale": false,
  "error": null,
  "reason_code": null,
  "data_age_seconds": 0.578
}

Saved answer. Run on 2026-11-27, answered 200. Lists show their first item in full; the other items and long text are shortened. A call you make now gets the current answer.

KEEP EXPLORING

Connect your AI to Indian stock market data

Sign in to DalalOS and connect your AI in one line of config. Free to start; paid plans when you need more.

Account holders get product-update emails about every two weeks. Turn them off any time.