{"components":{"schemas":{"ApiError":{"properties":{"code":{"type":"string"},"message":{"type":"string"},"request_id":{"type":["string","null"]}},"required":["code","message"],"type":"object"},"BidStats":{"properties":{"committed_next_block":{"format":"int64","minimum":0,"type":"integer"},"count":{"description":"Distinct bids the monitor saw, and the parent blocks they were made on.","format":"int64","minimum":0,"type":"integer"},"last_parent_height":{"format":"int32","type":["integer","null"]},"last_sats":{"type":["string","null"]},"max_sats":{"type":["string","null"]},"median_sats":{"type":["string","null"]},"next_block_observed":{"description":"Bids whose next block was observed, and how many of those committed to the bid's critical hash.","format":"int64","minimum":0,"type":"integer"},"parent_blocks":{"format":"int64","minimum":0,"type":"integer"}},"required":["count","parent_blocks","next_block_observed","committed_next_block"],"type":"object"},"BlockFact":{"properties":{"contract":{"format":"int32","type":"integer"},"event_id":{"type":"string"},"ingested_at":{"format":"date-time","type":"string"},"instance_id":{"type":["string","null"]},"interpretation_error":{"type":["string","null"]},"kind":{"type":"string"},"observed_at":{"format":"date-time","type":"string"},"slot":{"format":"int32","type":["integer","null"]}},"required":["event_id","kind","contract","observed_at","ingested_at"],"type":"object"},"BlockObservation":{"properties":{"capture_method":{"type":"string"},"capture_seq":{"type":"string"},"event_id":{"type":"string"},"kind":{"type":"string"},"observation_id":{"type":"string"},"observed_at":{"format":"date-time","type":"string"},"run_id":{"format":"uuid","type":"string"},"slot":{"format":"int32","type":["integer","null"]}},"required":["observation_id","event_id","kind","run_id","capture_seq","capture_method","observed_at"],"type":"object"},"BlockResponse":{"properties":{"block":{"$ref":"#/components/schemas/BlockSummary"},"branch":{"$ref":"#/components/schemas/BranchState"},"facts":{"items":{"$ref":"#/components/schemas/BlockFact"},"type":"array"},"facts_truncated":{"type":"boolean"},"meta":{"$ref":"#/components/schemas/ResponseMeta"},"observations":{"items":{"$ref":"#/components/schemas/BlockObservation"},"type":"array"},"observations_truncated":{"type":"boolean"}},"required":["meta","branch","block","facts","observations","facts_truncated","observations_truncated"],"type":"object"},"BlockSummary":{"properties":{"block_time":{"format":"date-time","type":"string"},"block_work":{"type":["string","null"]},"chain_work":{"type":"string"},"conflicted":{"type":"boolean"},"first_observed_at":{"format":"date-time","type":"string"},"hash":{"type":"string"},"height":{"format":"int32","type":"integer"},"last_observed_at":{"format":"date-time","type":"string"},"membership":{"type":"string"},"parent_hash":{"type":"string"}},"required":["hash","parent_hash","height","chain_work","block_time","first_observed_at","last_observed_at","membership","conflicted"],"type":"object"},"BlocksResponse":{"properties":{"blocks":{"items":{"$ref":"#/components/schemas/BlockSummary"},"type":"array"},"branch":{"$ref":"#/components/schemas/BranchState"},"meta":{"$ref":"#/components/schemas/ResponseMeta"},"next_cursor":{"type":["string","null"]}},"required":["meta","branch","blocks"],"type":"object"},"BmmAuctionsResponse":{"properties":{"bid_coverage":{"type":"string"},"evidence_url":{"type":["string","null"]},"mempool_readiness":{"description":"Official GetSeenBmmRequests exposes neither readiness nor total mempool coverage.","type":"string"},"meta":{"$ref":"#/components/schemas/ResponseMeta"},"observation_id":{"type":["string","null"]},"observed_at":{"format":"date-time","type":["string","null"]},"parent_hash":{"type":["string","null"]},"requests":{"items":{"$ref":"#/components/schemas/BmmBid"},"type":"array"},"run_id":{"format":"uuid","type":["string","null"]},"source_event_id":{"type":["string","null"]},"state":{"description":"available, no_observed_bids, stale, unavailable, awaiting_observation, rpc_error,\ninterpretation_error, or awaiting_current_parent.","type":"string"}},"required":["mempool_readiness","bid_coverage","meta","state","requests"],"type":"object"},"BmmBid":{"properties":{"bid_sats":{"type":"string"},"critical_hash":{"type":"string"},"slot":{"format":"int32","minimum":0,"type":"integer"},"txid":{"type":"string"}},"required":["slot","txid","critical_hash","bid_sats"],"type":"object"},"BmmCell":{"properties":{"commitment":{"type":["string","null"]},"evidence":{"items":{"$ref":"#/components/schemas/ProtocolEvidence"},"type":"array"},"hash":{"type":["string","null"]},"height":{"format":"int32","type":"integer"},"state":{"description":"present, observed_absent, uncovered, inactive, unknown_eligibility.","type":"string"}},"required":["height","state","evidence"],"type":"object"},"BmmGap":{"properties":{"blocks":{"format":"int32","minimum":0,"type":"integer"},"from_height":{"format":"int32","type":"integer"},"to_height":{"format":"int32","type":"integer"}},"required":["from_height","to_height","blocks"],"type":"object"},"BmmMetricsResponse":{"properties":{"context":{"$ref":"#/components/schemas/ProtocolContext"},"next_slot":{"format":"int32","type":["integer","null"]},"slots":{"items":{"$ref":"#/components/schemas/BmmSlotMetrics"},"type":"array"},"window_blocks":{"format":"int32","minimum":0,"type":"integer"}},"required":["context","window_blocks","slots"],"type":"object"},"BmmSlotMetrics":{"properties":{"cells":{"items":{"$ref":"#/components/schemas/BmmCell"},"type":"array"},"consecutive_present":{"format":"int32","minimum":0,"type":"integer"},"coverage":{"format":"double","type":["number","null"]},"covered":{"format":"int32","minimum":0,"type":"integer"},"eligible":{"format":"int32","minimum":0,"type":["integer","null"]},"present":{"format":"int32","minimum":0,"type":"integer"},"rate":{"format":"double","type":["number","null"]},"slot":{"format":"int32","type":"integer"}},"required":["slot","present","covered","consecutive_present","cells"],"type":"object"},"BmmStats":{"properties":{"blocks_since_last_commit":{"format":"int32","type":["integer","null"]},"last_commit_height":{"format":"int32","type":["integer","null"]},"longest_gap":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/BmmGap","description":"The longest run of observed blocks without a commitment since activation."}]},"since_activation":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/BmmWindowStats"}]},"streak":{"description":"Consecutive committing blocks ending at the anchor.","format":"int32","minimum":0,"type":"integer"},"windows":{"description":"24, 144 and 1008 blocks.","items":{"$ref":"#/components/schemas/BmmWindowStats"},"type":"array"}},"required":["windows","streak"],"type":"object"},"BmmWindowStats":{"properties":{"blocks":{"description":"Newest L1 blocks counted; for `since_activation`, the blocks from activation through the anchor.","format":"int32","minimum":0,"type":"integer"},"covered":{"description":"Blocks whose merged-mining facts for this slot were observed.","format":"int32","minimum":0,"type":"integer"},"present":{"description":"Observed blocks that committed to a block of this sidechain.","format":"int32","minimum":0,"type":"integer"}},"required":["blocks","covered","present"],"type":"object"},"BranchCoverage":{"properties":{"branch_revision":{"type":"string"},"covered_blocks":{"type":"string"},"first_gap_height":{"format":"int32","type":["integer","null"]},"status":{"type":"string"},"verified_from_height":{"format":"int32","type":["integer","null"]},"verified_through_height":{"format":"int32","type":["integer","null"]}},"required":["status","covered_blocks","branch_revision"],"type":"object"},"BranchState":{"description":"A branch verdict is bounded by its verified lower boundary, not consensus finality.","properties":{"basis":{"type":"string"},"capture_seq":{"type":"string"},"checkpoint_status":{"type":"string"},"evidence_id":{"type":["string","null"]},"evidence_type":{"type":["string","null"]},"joint_source_status":{"description":"matched, different_tips, or unknown. Does not change the selected enforcer branch.","type":"string"},"missing_parent":{"type":["string","null"]},"node_tip_hash":{"type":["string","null"]},"node_tip_height":{"format":"int32","type":["integer","null"]},"observed_at":{"format":"date-time","type":["string","null"]},"processed_coverage":{"type":"string"},"processed_events":{"type":"string"},"processed_observations":{"type":"string"},"processed_tips":{"type":"string"},"processing":{"type":"boolean"},"revision":{"type":"string"},"run_id":{"format":"uuid","type":["string","null"]},"status":{"type":"string"},"tip_hash":{"type":["string","null"]},"tip_height":{"format":"int32","type":["integer","null"]},"verified_from_height":{"format":"int32","type":["integer","null"]}},"required":["processing","status","basis","revision","capture_seq","checkpoint_status","processed_events","processed_observations","processed_tips","processed_coverage"],"type":"object"},"BundleProjection":{"description":"Where a pending withdrawal bundle stands against the threshold, at the pace votes have come so far.","properties":{"age":{"format":"int64","type":["integer","null"]},"blocks_left":{"format":"int64","type":["integer","null"]},"blocks_to_pass_at_rate":{"format":"int64","type":["integer","null"]},"can_still_pass":{"description":"At most one vote per block: false when even every remaining block cannot reach the threshold.","type":["boolean","null"]},"confirmed_at_tip_height":{"description":"The tip of the latest complete reading that still found this vote count; `age`,\n`blocks_left` and the rates are measured at this tip.","format":"int32","type":["integer","null"]},"expires_after_height":{"format":"int64","type":["integer","null"]},"m6id_onchain":{"type":["string","null"]},"m6id_txid_order":{"type":["string","null"]},"max_age":{"format":"int64","type":["integer","null"]},"needed":{"format":"int64","type":["integer","null"]},"passes_at_rate":{"type":["boolean","null"]},"proposal_height":{"format":"int32","type":["integer","null"]},"quality":{"type":"string"},"rate_recent":{"description":"Change in votes over the readings of about the last 144 blocks, per block.","format":"double","type":["number","null"]},"rate_since_proposal":{"description":"Votes divided by age.","format":"double","type":["number","null"]},"read_at_tip_height":{"description":"The tip where this vote count was first read.","format":"int32","type":["integer","null"]},"threshold":{"description":"Votes must exceed the threshold, so `needed` is threshold + 1 - votes.","format":"int64","type":["integer","null"]},"votes":{"format":"int64","type":["integer","null"]}},"required":["quality"],"type":"object"},"CoverageResponse":{"properties":{"branch":{"$ref":"#/components/schemas/BranchState"},"local_status":{"type":"string"},"meta":{"$ref":"#/components/schemas/ResponseMeta"},"observation_quality":{},"snapshot_history":{"type":"string"},"streams":{"items":{"$ref":"#/components/schemas/CoverageScope"},"type":"array"},"transition_gaps":{"description":"Subscription boundaries of the global transition stream, newest first:\neach bounds an interval whose connects and disconnects are unknown."}},"required":["branch","meta","streams","local_status","snapshot_history","observation_quality","transition_gaps"],"type":"object"},"CoverageScope":{"properties":{"changed_at":{"format":"date-time","type":"string"},"covered_height":{"format":"int32","type":["integer","null"]},"event_contract_version":{"format":"int32","type":"integer"},"instance_id":{"type":["string","null"]},"revision_id":{"type":"string"},"slot":{"format":"int32","type":["integer","null"]},"source_status":{"type":"string"},"start_height":{"format":"int32","type":["integer","null"]},"stream":{"type":"string"},"target_height":{"format":"int32","type":["integer","null"]},"verification":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/BranchCoverage"}]}},"required":["revision_id","stream","event_contract_version","source_status","changed_at"],"type":"object"},"Dataset":{"properties":{"activation_block_hash":{"type":"string"},"activation_height":{"format":"int32","type":"integer"},"capabilities":{},"created_at":{"format":"date-time","type":"string"},"dataset_id":{"format":"uuid","type":"string"},"network_id":{"type":"string"}},"required":["dataset_id","network_id","activation_height","activation_block_hash","capabilities","created_at"],"type":"object"},"DatasetColumn":{"description":"One column of a dataset table and what it means.","properties":{"description":{"type":"string"},"name":{"type":"string"}},"required":["name","description"],"type":"object"},"DatasetTable":{"description":"Records of one kind as typed columns, oldest first.","properties":{"columns":{"items":{"$ref":"#/components/schemas/DatasetColumn"},"type":"array"},"description":{"type":"string"},"name":{"description":"File name without extension, such as `deposits`.","type":"string"},"rows":{"description":"One cell per column, as text; null when unknown. Satoshi amounts are exact integers.","items":{"items":{"type":["string","null"]},"type":"array"},"type":"array"},"truncated":{"description":"More records exist than the table holds: narrow the height range.","type":"boolean"}},"required":["name","description","columns","rows","truncated"],"type":"object"},"DepositStats":{"properties":{"count":{"format":"int64","minimum":0,"type":"integer"},"first_height":{"format":"int32","type":["integer","null"]},"last_24h":{"description":"Deposits whose miner-set block time is within the last 1, 7 and 30 days of `generated_at`.","format":"int64","minimum":0,"type":"integer"},"last_30d":{"format":"int64","minimum":0,"type":"integer"},"last_7d":{"format":"int64","minimum":0,"type":"integer"},"last_block_time":{"format":"date-time","type":["string","null"]},"last_height":{"format":"int32","type":["integer","null"]},"max_sats":{"type":["string","null"]},"median_sats":{"type":["string","null"]},"total_sats":{"type":"string"}},"required":["count","total_sats","last_24h","last_7d","last_30d"],"type":"object"},"EpochPace":{"properties":{"blocks":{"description":"Blocks of the window inside the epoch.","format":"int32","minimum":0,"type":"integer"},"difficulty_change":{"description":"Difficulty of the epoch divided by the difficulty before it.","format":"double","type":["number","null"]},"from_height":{"description":"The epoch's first block.","format":"int32","type":"integer"},"hashrate_hps":{"format":"double","type":["number","null"]},"interval_mean_seconds":{"format":"double","type":["number","null"]},"interval_median_seconds":{"format":"double","type":["number","null"]}},"required":["from_height","blocks"],"type":"object"},"EvidenceOccurrence":{"properties":{"capture_method":{"type":"string"},"capture_seq":{"type":"string"},"observation_id":{"type":"string"},"observed_at":{"format":"date-time","type":"string"},"run_id":{"format":"uuid","type":"string"},"snapshot_group_id":{"format":"uuid","type":["string","null"]}},"required":["observation_id","run_id","capture_seq","capture_method","observed_at"],"type":"object"},"EvidenceResponse":{"properties":{"envelope_hex":{"type":"string"},"event_contract_version":{"format":"int32","type":"integer"},"fact_sha256":{"type":["string","null"]},"interpretation_error":{"type":["string","null"]},"kind":{"type":"string"},"meta":{"$ref":"#/components/schemas/ResponseMeta"},"occurrences":{"items":{"$ref":"#/components/schemas/EvidenceOccurrence"},"type":"array"},"occurrences_truncated":{"type":"boolean"},"payload_json":{"description":"JSON text, deliberately not a JS-number-bearing object. Copy verbatim.","type":"string"},"raw_block_omitted":{"description":"True for a node raw block imported without its body: `envelope_hex` is\nempty and `payload_json` lacks `raw_block`. `fact_sha256` still hashes\nthe full source block.","type":"boolean"},"source_event_id":{"type":"string"}},"required":["meta","source_event_id","event_contract_version","kind","envelope_hex","payload_json","raw_block_omitted","occurrences","occurrences_truncated"],"type":"object"},"ExtractorStatus":{"properties":{"last_error":{"type":["string","null"]},"last_tip_hash":{"type":["string","null"]},"last_tip_height":{"format":"int32","type":["integer","null"]},"run_id":{"format":"uuid","type":"string"},"source":{"type":"string"},"source_updated_at":{"format":"date-time","type":"string"},"workers":{"items":{"$ref":"#/components/schemas/WorkerStatus"},"type":"array"}},"required":["source","run_id","source_updated_at","workers"],"type":"object"},"FamilyProgress":{"properties":{"family":{"type":"string"},"first_error_event_id":{"type":["string","null"]},"processed_event_id":{"type":["string","null"]}},"required":["family"],"type":"object"},"MetaResponse":{"properties":{"current_run":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/RunInfo"}]},"dataset":{"$ref":"#/components/schemas/Dataset"},"meta":{"$ref":"#/components/schemas/ResponseMeta"},"native_asset":{"$ref":"#/components/schemas/NativeAsset"},"source_schema_version":{"format":"int32","type":["integer","null"]}},"required":["meta","dataset","native_asset"],"type":"object"},"NativeAsset":{"properties":{"decimals":{"format":"int32","minimum":0,"type":"integer"},"symbol":{"type":"string"}},"required":["symbol","decimals"],"type":"object"},"NetworkBlock":{"properties":{"bid_slots":{"format":"int32","minimum":0,"type":["integer","null"]},"bid_total_sats":{"type":["string","null"]},"bids":{"description":"Merged-mining bids the monitor saw for this block (made on its parent), across slots; null when it saw none.","format":"int32","minimum":0,"type":["integer","null"]},"block_time":{"format":"date-time","type":["string","null"]},"block_work":{"type":["string","null"]},"chain_work":{"type":["string","null"]},"difficulty":{"description":"block_work × 65535 / 2^48, the usual difficulty scale.","format":"double","type":["number","null"]},"hash":{"type":"string"},"height":{"format":"int32","type":"integer"},"interval_seconds":{"description":"Seconds since the previous block by miner-set timestamps; can be negative.","format":"int64","type":["integer","null"]},"top_bid_sats":{"type":["string","null"]}},"required":["height","hash"],"type":"object"},"NetworkResponse":{"description":"L1 block pace, difficulty and estimated hashrate from the selected chain's headers.","properties":{"blocks":{"description":"Selected headers in the window; fewer than `window_blocks` when the chain is shorter or headers are missing.","format":"int32","minimum":0,"type":"integer"},"branch":{"$ref":"#/components/schemas/BranchState"},"current_epoch":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/EpochPace","description":"The same pace measured only over the window's blocks of the current epoch; set when the\nwindow reaches back past a retarget that changed difficulty, so the window figures mix two\ndifficulties and describe neither."}]},"hashrate_hps":{"description":"Work of the window's blocks after the first, divided by the time between the first and the last.","format":"double","type":["number","null"]},"interval_mean_seconds":{"format":"double","type":["number","null"]},"interval_median_seconds":{"format":"double","type":["number","null"]},"meta":{"$ref":"#/components/schemas/ResponseMeta"},"notes":{"items":{"type":"string"},"type":"array"},"retarget":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/RetargetEpoch"}]},"series":{"description":"Newest first.","items":{"$ref":"#/components/schemas/NetworkBlock"},"type":"array"},"tip":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/NetworkBlock"}]},"window_blocks":{"format":"int32","minimum":0,"type":"integer"}},"required":["meta","branch","window_blocks","blocks","series","notes"],"type":"object"},"ObservatoryResponse":{"properties":{"context":{"$ref":"#/components/schemas/ProtocolContext"},"observations":{"description":"Latest occurrence for each snapshot kind/slot in the current run, including\ninconsistent observations. A bad latest snapshot never falls back silently.","items":{"$ref":"#/components/schemas/ProtocolItem"},"type":"array"},"state":{"description":"Separate latest official responses. These are not atomic state at the selected block;\nabsence from an incomplete map does not mean zero or inactive."}},"required":["context","state","observations"],"type":"object"},"ObservedBlock":{"properties":{"branch_status":{"type":"string"},"hash":{"type":"string"},"height":{"format":"int32","type":"integer"},"observed_at":{"format":"date-time","type":"string"}},"required":["hash","height","observed_at","branch_status"],"type":"object"},"OverviewResponse":{"properties":{"active_sidechains":{"format":"int64","type":["integer","null"]},"branch":{"$ref":"#/components/schemas/BranchState"},"latest_observed_block":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/ObservedBlock"}]},"meta":{"$ref":"#/components/schemas/ResponseMeta"},"pending_proposals":{"format":"int64","type":["integer","null"]},"pending_withdrawal_bundles":{"format":"int64","type":["integer","null"]},"source_events_imported":{"type":"string"},"source_observations_imported":{"type":"string"}},"required":["branch","meta","source_events_imported","source_observations_imported"],"type":"object"},"ProjectionProgress":{"properties":{"error_event_id":{"type":["string","null"]},"name":{"type":"string"},"processed_event_id":{"type":["string","null"]}},"required":["name"],"type":"object"},"ProtocolContext":{"properties":{"anchor_hash":{"type":["string","null"]},"anchor_height":{"format":"int32","type":["integer","null"]},"branch":{"$ref":"#/components/schemas/BranchState"},"build_id":{"type":["string","null"]},"families":{"items":{"$ref":"#/components/schemas/FamilyProgress"},"type":"array"},"meta":{"$ref":"#/components/schemas/ResponseMeta"},"semantics_issue":{"description":"Explanation when the reviewed semantic adapter cannot be applied.","type":["string","null"]},"semantics_supported":{"type":"boolean"},"semantics_version":{"type":"string"},"source_event_cut":{"description":"Immutable imported-event cut of this build, distinct from completeness.","type":["string","null"]},"state":{"description":"awaiting_data, catching_up, available, partial, or ambiguous.","type":"string"}},"required":["meta","branch","state","semantics_version","semantics_supported","families"],"type":"object"},"ProtocolEvidence":{"properties":{"event_id":{"type":"string"},"observation_id":{"type":["string","null"]},"ordinal":{"format":"int32","type":"integer"}},"required":["event_id","ordinal"],"type":"object"},"ProtocolItem":{"properties":{"block_time":{"format":"date-time","type":["string","null"]},"data":{"description":"Typed monitor interpretation; monetary amounts and u64 values are strings."},"entity_id":{"type":["string","null"]},"evidence":{"items":{"$ref":"#/components/schemas/ProtocolEvidence"},"type":"array"},"first_observed_at":{"description":"When the immutable fact was first recorded, if the list reports it.","format":"date-time","type":["string","null"]},"hash":{"type":["string","null"]},"height":{"format":"int32","type":["integer","null"]},"id":{"type":"string"},"is_current":{"description":"Whether this entity is established at the published anchor; null if unknown.","type":["boolean","null"]},"issue":{"type":["string","null"]},"kind":{"type":"string"},"membership":{"description":"selected, alternative, unknown, or not_applicable.","type":"string"},"observed_at":{"description":"The latest occurrence of this item (when it was last read).","format":"date-time","type":["string","null"]},"quality":{"description":"observed, tip_matched, unknown. Raw evidence is available separately.","type":"string"},"slot":{"format":"int32","type":["integer","null"]}},"required":["id","kind","quality","membership","evidence","data"],"type":"object"},"ProtocolPage":{"properties":{"context":{"$ref":"#/components/schemas/ProtocolContext"},"items":{"items":{"$ref":"#/components/schemas/ProtocolItem"},"type":"array"},"next_cursor":{"type":["string","null"]}},"required":["context","items"],"type":"object"},"ResponseMeta":{"properties":{"data_as_of_event_id":{"type":["string","null"]},"dataset_id":{"format":"uuid","type":"string"},"network_id":{"type":"string"},"projection_generation":{"type":"string"},"projection_version":{"format":"int32","type":"integer"},"pulse_revision":{"type":"string"}},"required":["network_id","dataset_id","projection_version","projection_generation","pulse_revision"],"type":"object"},"RetargetEpoch":{"properties":{"blocks_into_epoch":{"format":"int32","type":"integer"},"blocks_remaining":{"format":"int32","type":"integer"},"epoch_start_height":{"format":"int32","type":"integer"},"epoch_start_time":{"format":"date-time","type":["string","null"]},"estimated_adjustment":{"description":"The difficulty factor the next retarget would apply at this epoch's pace so far: target spacing / mean\nspacing, limited to 0.25–4 like the retarget rule, and on eCash mainnet from its fork dampened to\n7r / (6r + 1); noisy early in an epoch.","format":"double","type":["number","null"]},"interval_blocks":{"format":"int32","type":"integer"},"mean_spacing_seconds":{"description":"Mean seconds per block in this epoch so far.","format":"double","type":["number","null"]},"next_retarget_height":{"format":"int32","type":"integer"},"target_spacing_seconds":{"format":"int64","type":"integer"}},"required":["interval_blocks","target_spacing_seconds","epoch_start_height","next_retarget_height","blocks_into_epoch","blocks_remaining"],"type":"object"},"RunInfo":{"properties":{"capabilities":{},"enforcer_commit":{"type":"string"},"event_contract_version":{"format":"int32","type":"integer"},"monitor_commit":{"type":"string"},"node_commit":{"type":"string"},"run_id":{"format":"uuid","type":"string"},"status":{"type":"string"}},"required":["run_id","event_contract_version","capabilities","monitor_commit","node_commit","enforcer_commit","status"],"type":"object"},"SidechainDataset":{"description":"Everything the Observatory holds about one sidechain slot, read from a single build.","properties":{"context":{"$ref":"#/components/schemas/ProtocolContext"},"from_height":{"format":"int32","type":["integer","null"]},"generated_at":{"format":"date-time","type":"string"},"notes":{"description":"Limits a reader must know before drawing conclusions from the tables.","items":{"type":"string"},"type":"array"},"slot":{"format":"int32","type":"integer"},"tables":{"items":{"$ref":"#/components/schemas/DatasetTable"},"type":"array"},"to_height":{"format":"int32","type":["integer","null"]}},"required":["context","slot","generated_at","notes","tables"],"type":"object"},"SidechainStats":{"description":"Figures about one sidechain slot, all computed from the records of a single build.","properties":{"activation_height":{"description":"Activation height of the sidechain now in the slot, if one is active.","format":"int32","type":["integer","null"]},"bids":{"$ref":"#/components/schemas/BidStats"},"bmm":{"$ref":"#/components/schemas/BmmStats"},"context":{"$ref":"#/components/schemas/ProtocolContext"},"deposits":{"$ref":"#/components/schemas/DepositStats"},"generated_at":{"format":"date-time","type":"string"},"notes":{"description":"Limits a reader must know before drawing conclusions from these figures.","items":{"type":"string"},"type":"array"},"series":{"items":{"$ref":"#/components/schemas/StatsBlock"},"type":"array"},"slot":{"format":"int32","type":"integer"},"treasury":{"$ref":"#/components/schemas/TreasuryStats"},"truncated":{"description":"More records exist than one computation reads; counts are lower bounds.","type":"boolean"},"window_blocks":{"description":"The `window_blocks` newest L1 blocks, newest first.","format":"int32","minimum":0,"type":"integer"},"withdrawals":{"$ref":"#/components/schemas/WithdrawalStats"}},"required":["context","slot","generated_at","deposits","treasury","bmm","bids","withdrawals","window_blocks","series","notes","truncated"],"type":"object"},"SidechainSummary":{"properties":{"activation_height":{"format":"int32","type":"integer"},"description":{"type":["string","null"]},"instance_id":{"type":"string"},"is_current":{"type":"boolean"},"proposal_height":{"format":"int32","type":"integer"},"slot":{"format":"int32","type":"integer"},"title":{"type":["string","null"]}},"required":["slot","instance_id","proposal_height","activation_height","is_current"],"type":"object"},"SidechainsResponse":{"properties":{"complete":{"type":"boolean"},"meta":{"$ref":"#/components/schemas/ResponseMeta"},"sidechains":{"items":{"$ref":"#/components/schemas/SidechainSummary"},"type":"array"},"state":{"type":"string"}},"required":["meta","state","complete","sidechains"],"type":"object"},"StatsBlock":{"description":"One L1 block for one slot.","properties":{"bid_committed":{"description":"Whether this block committed to the critical hash of one of those bids.","type":["boolean","null"]},"bids":{"description":"Bids seen on the parent block, that is, offered for this block.","format":"int32","minimum":0,"type":"integer"},"committed":{"description":"null when the block's merged-mining facts were not observed.","type":["boolean","null"]},"hash":{"type":["string","null"]},"height":{"format":"int32","type":"integer"},"top_bid_sats":{"type":["string","null"]}},"required":["height","bids"],"type":"object"},"StatusResponse":{"properties":{"branch":{"$ref":"#/components/schemas/BranchState"},"cursors":{"items":{"$ref":"#/components/schemas/StreamProgress"},"type":"array"},"extractors":{"items":{"$ref":"#/components/schemas/ExtractorStatus"},"type":"array"},"last_cycle_at":{"format":"date-time","type":["string","null"]},"last_projection_update_at":{"format":"date-time","type":["string","null"]},"last_source_contact_at":{"format":"date-time","type":["string","null"]},"latest_observed_block":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/ObservedBlock"}]},"meta":{"$ref":"#/components/schemas/ResponseMeta"},"progress":{"items":{"$ref":"#/components/schemas/ProjectionProgress"},"type":"array"},"source_reachable":{"type":"boolean"},"stale_after_seconds":{"format":"int64","type":"integer"},"sync_mode":{"$ref":"#/components/schemas/SyncMode"},"sync_stale":{"type":"boolean"}},"required":["branch","meta","sync_mode","source_reachable","extractors","sync_stale","stale_after_seconds","progress","cursors"],"type":"object"},"StreamProgress":{"properties":{"imported_through":{"type":"string"},"source_high_water":{"type":["string","null"]},"stream":{"type":"string"}},"required":["stream","imported_through"],"type":"object"},"SummaryResponse":{"description":"What L1 blocks of one recent period recorded, every figure counted over the same heights.","properties":{"context":{"$ref":"#/components/schemas/ProtocolContext"},"window":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/SummaryWindow","description":"Absent while the projection catches up with a new block: nothing is counted then, which is not zero."}]}},"required":["context"],"type":"object"},"SummaryWindow":{"properties":{"blocks":{"description":"Heights in the range, and how many of them are on the selected branch the Observatory holds.","format":"int64","type":"integer"},"blocks_on_branch":{"format":"int64","type":"integer"},"bmm_committed_blocks":{"format":"int64","type":"integer"},"bmm_observed_blocks":{"description":"Blocks whose merged-mining facts the enforcer reported, and how many of those committed to a sidechain block.","format":"int64","type":"integer"},"deposit_quality":{"description":"The weakest quality among the deposits counted, or none when there are none.","type":["string","null"]},"deposited_sats":{"type":"string"},"deposits":{"format":"int64","type":"integer"},"from_block_time":{"format":"date-time","type":["string","null"]},"from_height":{"description":"The first selected block whose miner-set timestamp is inside the period, through the anchor. Block times are\nnot monotonic, so a block in this range may carry an earlier timestamp.","format":"int32","type":"integer"},"hours":{"format":"int32","minimum":0,"type":"integer"},"payouts_failed":{"format":"int64","type":"integer"},"payouts_succeeded":{"format":"int64","type":"integer"},"since":{"description":"Start of the period, by the database clock.","format":"date-time","type":"string"},"to_block_time":{"format":"date-time","type":["string","null"]},"to_height":{"format":"int32","type":"integer"},"truncated":{"description":"More records than one response holds: counts are lower bounds.","type":"boolean"}},"required":["hours","since","from_height","to_height","blocks","blocks_on_branch","deposits","deposited_sats","payouts_succeeded","payouts_failed","bmm_observed_blocks","bmm_committed_blocks","truncated"],"type":"object"},"SyncMode":{"enum":["bootstrap","catching_up","following","interrupted","incompatible"],"type":"string"},"TreasuryStats":{"properties":{"confirmed_at_tip_height":{"description":"The tip of the latest complete reading that still found this value.","format":"int32","type":["integer","null"]},"quality":{"type":["string","null"]},"read_at_tip_height":{"description":"The tip where this treasury value was first read.","format":"int32","type":["integer","null"]},"sequence":{"type":["string","null"]},"steps":{"description":"Each deposit and paid withdrawal replaced the treasury output; oldest first.","items":{"$ref":"#/components/schemas/TreasuryStep"},"type":"array"},"value_sats":{"description":"The latest treasury reading; null when no reading exists or the treasury is empty.","type":["string","null"]}},"required":["steps"],"type":"object"},"TreasuryStep":{"properties":{"change":{"description":"deposit or withdrawal.","type":"string"},"delta_sats":{"description":"The deposited amount; null for a withdrawal, whose amount L1 records do not state here.","type":["string","null"]},"height":{"format":"int32","type":["integer","null"]},"sequence":{"type":["string","null"]},"txid":{"type":["string","null"]},"value_after_sats":{"description":"From a treasury reading of this output, or from the previous known value plus a deposit; null when unknown.","type":["string","null"]}},"required":["change"],"type":"object"},"WithdrawalStats":{"properties":{"failed":{"format":"int64","minimum":0,"type":"integer"},"pending":{"items":{"$ref":"#/components/schemas/BundleProjection"},"type":"array"},"submitted":{"format":"int64","minimum":0,"type":"integer"},"succeeded":{"format":"int64","minimum":0,"type":"integer"}},"required":["pending","submitted","succeeded","failed"],"type":"object"},"WorkerStatus":{"properties":{"consecutive_failures":{"format":"int32","type":"integer"},"last_error":{"type":["string","null"]},"last_failure_at":{"format":"date-time","type":["string","null"]},"last_success_at":{"format":"date-time","type":["string","null"]},"source_updated_at":{"format":"date-time","type":"string"},"state":{"type":"string"},"worker":{"type":"string"}},"required":["worker","state","consecutive_failures","source_updated_at"],"type":"object"}}},"info":{"description":"","license":{"identifier":"MIT","name":"MIT"},"title":"Drivechain - Observatory API","version":"0.1.0"},"openapi":"3.1.0","paths":{"/api/v1/activity":{"get":{"operationId":"activity","parameters":[{"in":"query","name":"dataset","required":false,"schema":{"format":"uuid","type":"string"}},{"in":"query","name":"scope","required":false,"schema":{"type":"string"}},{"in":"query","name":"slot","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"kind","required":false,"schema":{"type":"string"}},{"in":"query","name":"hash","required":false,"schema":{"type":"string"}},{"in":"query","name":"key","required":false,"schema":{"type":"string"}},{"description":"Exact instance identity recorded when capturing an observation.","in":"query","name":"instance_id","required":false,"schema":{"type":"string"}},{"in":"query","name":"from_height","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"to_height","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"from_time","required":false,"schema":{"format":"date-time","type":"string"}},{"in":"query","name":"to_time","required":false,"schema":{"format":"date-time","type":"string"}},{"description":"observation (history default), block (facts default), or ingestion.","in":"query","name":"time_basis","required":false,"schema":{"type":"string"}},{"in":"query","name":"q","required":false,"schema":{"type":"string"}},{"description":"History order: `observed` (latest occurrence first) or `block` (block\nheight first; unanchored state uses the tip of its first read). Deposits\ndefault to `block`, other histories to `observed`.","in":"query","name":"order","required":false,"schema":{"type":"string"}},{"description":"History only: omit a reading whose content equals the previous reading\nof the same entity, such as a re-read after a monitor restart.","in":"query","name":"changes","required":false,"schema":{"type":"boolean"}},{"in":"query","name":"limit","required":false,"schema":{"format":"int32","minimum":0,"type":"integer"}},{"in":"query","name":"cursor","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProtocolPage"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":""},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":""}},"summary":"Read activity from the local Observatory dataset","tags":["pulse"]}},"/api/v1/blocks":{"get":{"operationId":"blocks","parameters":[{"in":"query","name":"dataset","required":false,"schema":{"format":"uuid","type":"string"}},{"description":"selected (default) or all observations.","in":"query","name":"scope","required":false,"schema":{"type":"string"}},{"in":"query","name":"height","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"slot","required":false,"schema":{"format":"int32","type":"integer"}},{"description":"Default 50, maximum 200.","in":"query","name":"limit","required":false,"schema":{"format":"int32","minimum":0,"type":"integer"}},{"in":"query","name":"cursor","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BlocksResponse"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":""},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":""}},"tags":["pulse"]}},"/api/v1/blocks/{hash}":{"get":{"operationId":"block","parameters":[{"in":"path","name":"hash","required":true,"schema":{"type":"string"}},{"in":"query","name":"dataset","required":false,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BlockResponse"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":""},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":""}},"tags":["pulse"]}},"/api/v1/bmm":{"get":{"operationId":"bmm","parameters":[{"in":"query","name":"dataset","required":false,"schema":{"format":"uuid","type":"string"}},{"in":"query","name":"window_blocks","required":false,"schema":{"format":"int32","minimum":0,"type":"integer"}},{"in":"query","name":"slot","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"start_slot","required":false,"schema":{"format":"int32","type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BmmMetricsResponse"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":""}},"tags":["pulse"]}},"/api/v1/bmm/auctions":{"get":{"operationId":"auctions","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BmmAuctionsResponse"}}},"description":""},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":""}},"tags":["pulse"]}},"/api/v1/bmm/commitments":{"get":{"operationId":"bmm_commitments","parameters":[{"in":"query","name":"dataset","required":false,"schema":{"format":"uuid","type":"string"}},{"in":"query","name":"scope","required":false,"schema":{"type":"string"}},{"in":"query","name":"slot","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"kind","required":false,"schema":{"type":"string"}},{"in":"query","name":"hash","required":false,"schema":{"type":"string"}},{"in":"query","name":"key","required":false,"schema":{"type":"string"}},{"description":"Exact instance identity recorded when capturing an observation.","in":"query","name":"instance_id","required":false,"schema":{"type":"string"}},{"in":"query","name":"from_height","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"to_height","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"from_time","required":false,"schema":{"format":"date-time","type":"string"}},{"in":"query","name":"to_time","required":false,"schema":{"format":"date-time","type":"string"}},{"description":"observation (history default), block (facts default), or ingestion.","in":"query","name":"time_basis","required":false,"schema":{"type":"string"}},{"in":"query","name":"q","required":false,"schema":{"type":"string"}},{"description":"History order: `observed` (latest occurrence first) or `block` (block\nheight first; unanchored state uses the tip of its first read). Deposits\ndefault to `block`, other histories to `observed`.","in":"query","name":"order","required":false,"schema":{"type":"string"}},{"description":"History only: omit a reading whose content equals the previous reading\nof the same entity, such as a re-read after a monitor restart.","in":"query","name":"changes","required":false,"schema":{"type":"boolean"}},{"in":"query","name":"limit","required":false,"schema":{"format":"int32","minimum":0,"type":"integer"}},{"in":"query","name":"cursor","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProtocolPage"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":""},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":""}},"summary":"Read bmm/commitments from the local Observatory dataset","tags":["pulse"]}},"/api/v1/bmm/confirmed":{"get":{"operationId":"bmm_confirmed","parameters":[{"in":"query","name":"dataset","required":false,"schema":{"format":"uuid","type":"string"}},{"in":"query","name":"scope","required":false,"schema":{"type":"string"}},{"in":"query","name":"slot","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"kind","required":false,"schema":{"type":"string"}},{"in":"query","name":"hash","required":false,"schema":{"type":"string"}},{"in":"query","name":"key","required":false,"schema":{"type":"string"}},{"description":"Exact instance identity recorded when capturing an observation.","in":"query","name":"instance_id","required":false,"schema":{"type":"string"}},{"in":"query","name":"from_height","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"to_height","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"from_time","required":false,"schema":{"format":"date-time","type":"string"}},{"in":"query","name":"to_time","required":false,"schema":{"format":"date-time","type":"string"}},{"description":"observation (history default), block (facts default), or ingestion.","in":"query","name":"time_basis","required":false,"schema":{"type":"string"}},{"in":"query","name":"q","required":false,"schema":{"type":"string"}},{"description":"History order: `observed` (latest occurrence first) or `block` (block\nheight first; unanchored state uses the tip of its first read). Deposits\ndefault to `block`, other histories to `observed`.","in":"query","name":"order","required":false,"schema":{"type":"string"}},{"description":"History only: omit a reading whose content equals the previous reading\nof the same entity, such as a re-read after a monitor restart.","in":"query","name":"changes","required":false,"schema":{"type":"boolean"}},{"in":"query","name":"limit","required":false,"schema":{"format":"int32","minimum":0,"type":"integer"}},{"in":"query","name":"cursor","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProtocolPage"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":""},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":""}},"summary":"Read bmm/confirmed from the local Observatory dataset","tags":["pulse"]}},"/api/v1/bmm/history":{"get":{"operationId":"bmm_history","parameters":[{"in":"query","name":"dataset","required":false,"schema":{"format":"uuid","type":"string"}},{"in":"query","name":"scope","required":false,"schema":{"type":"string"}},{"in":"query","name":"slot","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"kind","required":false,"schema":{"type":"string"}},{"in":"query","name":"hash","required":false,"schema":{"type":"string"}},{"in":"query","name":"key","required":false,"schema":{"type":"string"}},{"description":"Exact instance identity recorded when capturing an observation.","in":"query","name":"instance_id","required":false,"schema":{"type":"string"}},{"in":"query","name":"from_height","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"to_height","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"from_time","required":false,"schema":{"format":"date-time","type":"string"}},{"in":"query","name":"to_time","required":false,"schema":{"format":"date-time","type":"string"}},{"description":"observation (history default), block (facts default), or ingestion.","in":"query","name":"time_basis","required":false,"schema":{"type":"string"}},{"in":"query","name":"q","required":false,"schema":{"type":"string"}},{"description":"History order: `observed` (latest occurrence first) or `block` (block\nheight first; unanchored state uses the tip of its first read). Deposits\ndefault to `block`, other histories to `observed`.","in":"query","name":"order","required":false,"schema":{"type":"string"}},{"description":"History only: omit a reading whose content equals the previous reading\nof the same entity, such as a re-read after a monitor restart.","in":"query","name":"changes","required":false,"schema":{"type":"boolean"}},{"in":"query","name":"limit","required":false,"schema":{"format":"int32","minimum":0,"type":"integer"}},{"in":"query","name":"cursor","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProtocolPage"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":""},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":""}},"summary":"Read bmm/history from the local Observatory dataset","tags":["pulse"]}},"/api/v1/bundle-attempts":{"get":{"operationId":"bundleattempts","parameters":[{"in":"query","name":"dataset","required":false,"schema":{"format":"uuid","type":"string"}},{"in":"query","name":"scope","required":false,"schema":{"type":"string"}},{"in":"query","name":"slot","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"kind","required":false,"schema":{"type":"string"}},{"in":"query","name":"hash","required":false,"schema":{"type":"string"}},{"in":"query","name":"key","required":false,"schema":{"type":"string"}},{"description":"Exact instance identity recorded when capturing an observation.","in":"query","name":"instance_id","required":false,"schema":{"type":"string"}},{"in":"query","name":"from_height","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"to_height","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"from_time","required":false,"schema":{"format":"date-time","type":"string"}},{"in":"query","name":"to_time","required":false,"schema":{"format":"date-time","type":"string"}},{"description":"observation (history default), block (facts default), or ingestion.","in":"query","name":"time_basis","required":false,"schema":{"type":"string"}},{"in":"query","name":"q","required":false,"schema":{"type":"string"}},{"description":"History order: `observed` (latest occurrence first) or `block` (block\nheight first; unanchored state uses the tip of its first read). Deposits\ndefault to `block`, other histories to `observed`.","in":"query","name":"order","required":false,"schema":{"type":"string"}},{"description":"History only: omit a reading whose content equals the previous reading\nof the same entity, such as a re-read after a monitor restart.","in":"query","name":"changes","required":false,"schema":{"type":"boolean"}},{"in":"query","name":"limit","required":false,"schema":{"format":"int32","minimum":0,"type":"integer"}},{"in":"query","name":"cursor","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProtocolPage"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":""},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":""}},"summary":"Read bundle-attempts from the local Observatory dataset","tags":["pulse"]}},"/api/v1/bundle-attempts/{id}":{"get":{"operationId":"bundleattempts_id","parameters":[{"in":"query","name":"dataset","required":false,"schema":{"format":"uuid","type":"string"}},{"in":"query","name":"scope","required":false,"schema":{"type":"string"}},{"in":"query","name":"slot","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"kind","required":false,"schema":{"type":"string"}},{"in":"query","name":"hash","required":false,"schema":{"type":"string"}},{"in":"query","name":"key","required":false,"schema":{"type":"string"}},{"description":"Exact instance identity recorded when capturing an observation.","in":"query","name":"instance_id","required":false,"schema":{"type":"string"}},{"in":"query","name":"from_height","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"to_height","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"from_time","required":false,"schema":{"format":"date-time","type":"string"}},{"in":"query","name":"to_time","required":false,"schema":{"format":"date-time","type":"string"}},{"description":"observation (history default), block (facts default), or ingestion.","in":"query","name":"time_basis","required":false,"schema":{"type":"string"}},{"in":"query","name":"q","required":false,"schema":{"type":"string"}},{"description":"History order: `observed` (latest occurrence first) or `block` (block\nheight first; unanchored state uses the tip of its first read). Deposits\ndefault to `block`, other histories to `observed`.","in":"query","name":"order","required":false,"schema":{"type":"string"}},{"description":"History only: omit a reading whose content equals the previous reading\nof the same entity, such as a re-read after a monitor restart.","in":"query","name":"changes","required":false,"schema":{"type":"boolean"}},{"in":"query","name":"limit","required":false,"schema":{"format":"int32","minimum":0,"type":"integer"}},{"in":"query","name":"cursor","required":false,"schema":{"type":"string"}},{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProtocolPage"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":""},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":""}},"summary":"Read bundle-attempts/{id} from the local Observatory dataset","tags":["pulse"]}},"/api/v1/chain-info":{"get":{"operationId":"chaininfo","parameters":[{"in":"query","name":"dataset","required":false,"schema":{"format":"uuid","type":"string"}},{"in":"query","name":"scope","required":false,"schema":{"type":"string"}},{"in":"query","name":"slot","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"kind","required":false,"schema":{"type":"string"}},{"in":"query","name":"hash","required":false,"schema":{"type":"string"}},{"in":"query","name":"key","required":false,"schema":{"type":"string"}},{"description":"Exact instance identity recorded when capturing an observation.","in":"query","name":"instance_id","required":false,"schema":{"type":"string"}},{"in":"query","name":"from_height","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"to_height","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"from_time","required":false,"schema":{"format":"date-time","type":"string"}},{"in":"query","name":"to_time","required":false,"schema":{"format":"date-time","type":"string"}},{"description":"observation (history default), block (facts default), or ingestion.","in":"query","name":"time_basis","required":false,"schema":{"type":"string"}},{"in":"query","name":"q","required":false,"schema":{"type":"string"}},{"description":"History order: `observed` (latest occurrence first) or `block` (block\nheight first; unanchored state uses the tip of its first read). Deposits\ndefault to `block`, other histories to `observed`.","in":"query","name":"order","required":false,"schema":{"type":"string"}},{"description":"History only: omit a reading whose content equals the previous reading\nof the same entity, such as a re-read after a monitor restart.","in":"query","name":"changes","required":false,"schema":{"type":"boolean"}},{"in":"query","name":"limit","required":false,"schema":{"format":"int32","minimum":0,"type":"integer"}},{"in":"query","name":"cursor","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProtocolPage"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":""},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":""}},"summary":"Read chain-info from the local Observatory dataset","tags":["pulse"]}},"/api/v1/coverage":{"get":{"operationId":"coverage","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CoverageResponse"}}},"description":""},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":""}},"tags":["pulse"]}},"/api/v1/ctip/history":{"get":{"operationId":"ctip_history","parameters":[{"in":"query","name":"dataset","required":false,"schema":{"format":"uuid","type":"string"}},{"in":"query","name":"scope","required":false,"schema":{"type":"string"}},{"in":"query","name":"slot","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"kind","required":false,"schema":{"type":"string"}},{"in":"query","name":"hash","required":false,"schema":{"type":"string"}},{"in":"query","name":"key","required":false,"schema":{"type":"string"}},{"description":"Exact instance identity recorded when capturing an observation.","in":"query","name":"instance_id","required":false,"schema":{"type":"string"}},{"in":"query","name":"from_height","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"to_height","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"from_time","required":false,"schema":{"format":"date-time","type":"string"}},{"in":"query","name":"to_time","required":false,"schema":{"format":"date-time","type":"string"}},{"description":"observation (history default), block (facts default), or ingestion.","in":"query","name":"time_basis","required":false,"schema":{"type":"string"}},{"in":"query","name":"q","required":false,"schema":{"type":"string"}},{"description":"History order: `observed` (latest occurrence first) or `block` (block\nheight first; unanchored state uses the tip of its first read). Deposits\ndefault to `block`, other histories to `observed`.","in":"query","name":"order","required":false,"schema":{"type":"string"}},{"description":"History only: omit a reading whose content equals the previous reading\nof the same entity, such as a re-read after a monitor restart.","in":"query","name":"changes","required":false,"schema":{"type":"boolean"}},{"in":"query","name":"limit","required":false,"schema":{"format":"int32","minimum":0,"type":"integer"}},{"in":"query","name":"cursor","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProtocolPage"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":""},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":""}},"summary":"Read ctip/history from the local Observatory dataset","tags":["pulse"]}},"/api/v1/datasets/{dataset_id}/events/{event_id}":{"get":{"operationId":"evidence","parameters":[{"in":"path","name":"dataset_id","required":true,"schema":{"format":"uuid","type":"string"}},{"in":"path","name":"event_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvidenceResponse"}}},"description":""},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":""}},"tags":["pulse"]}},"/api/v1/datasets/{dataset_id}/events/{event_id}/raw":{"get":{"operationId":"raw_evidence","parameters":[{"in":"path","name":"dataset_id","required":true,"schema":{"format":"uuid","type":"string"}},{"in":"path","name":"event_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"string"}}},"description":""},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":""}},"tags":["pulse"]}},"/api/v1/datasets/{dataset}/events/{id}/occurrences":{"get":{"operationId":"datasets_dataset_events_id_occurrences","parameters":[{"in":"query","name":"dataset","required":false,"schema":{"format":"uuid","type":"string"}},{"in":"query","name":"scope","required":false,"schema":{"type":"string"}},{"in":"query","name":"slot","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"kind","required":false,"schema":{"type":"string"}},{"in":"query","name":"hash","required":false,"schema":{"type":"string"}},{"in":"query","name":"key","required":false,"schema":{"type":"string"}},{"description":"Exact instance identity recorded when capturing an observation.","in":"query","name":"instance_id","required":false,"schema":{"type":"string"}},{"in":"query","name":"from_height","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"to_height","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"from_time","required":false,"schema":{"format":"date-time","type":"string"}},{"in":"query","name":"to_time","required":false,"schema":{"format":"date-time","type":"string"}},{"description":"observation (history default), block (facts default), or ingestion.","in":"query","name":"time_basis","required":false,"schema":{"type":"string"}},{"in":"query","name":"q","required":false,"schema":{"type":"string"}},{"description":"History order: `observed` (latest occurrence first) or `block` (block\nheight first; unanchored state uses the tip of its first read). Deposits\ndefault to `block`, other histories to `observed`.","in":"query","name":"order","required":false,"schema":{"type":"string"}},{"description":"History only: omit a reading whose content equals the previous reading\nof the same entity, such as a re-read after a monitor restart.","in":"query","name":"changes","required":false,"schema":{"type":"boolean"}},{"in":"query","name":"limit","required":false,"schema":{"format":"int32","minimum":0,"type":"integer"}},{"in":"query","name":"cursor","required":false,"schema":{"type":"string"}},{"in":"path","name":"id","required":true,"schema":{"type":"string"}},{"in":"path","name":"dataset","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProtocolPage"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":""},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":""}},"summary":"Read datasets/{dataset}/events/{id}/occurrences from the local Observatory dataset","tags":["pulse"]}},"/api/v1/deposits":{"get":{"operationId":"deposits","parameters":[{"in":"query","name":"dataset","required":false,"schema":{"format":"uuid","type":"string"}},{"in":"query","name":"scope","required":false,"schema":{"type":"string"}},{"in":"query","name":"slot","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"kind","required":false,"schema":{"type":"string"}},{"in":"query","name":"hash","required":false,"schema":{"type":"string"}},{"in":"query","name":"key","required":false,"schema":{"type":"string"}},{"description":"Exact instance identity recorded when capturing an observation.","in":"query","name":"instance_id","required":false,"schema":{"type":"string"}},{"in":"query","name":"from_height","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"to_height","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"from_time","required":false,"schema":{"format":"date-time","type":"string"}},{"in":"query","name":"to_time","required":false,"schema":{"format":"date-time","type":"string"}},{"description":"observation (history default), block (facts default), or ingestion.","in":"query","name":"time_basis","required":false,"schema":{"type":"string"}},{"in":"query","name":"q","required":false,"schema":{"type":"string"}},{"description":"History order: `observed` (latest occurrence first) or `block` (block\nheight first; unanchored state uses the tip of its first read). Deposits\ndefault to `block`, other histories to `observed`.","in":"query","name":"order","required":false,"schema":{"type":"string"}},{"description":"History only: omit a reading whose content equals the previous reading\nof the same entity, such as a re-read after a monitor restart.","in":"query","name":"changes","required":false,"schema":{"type":"boolean"}},{"in":"query","name":"limit","required":false,"schema":{"format":"int32","minimum":0,"type":"integer"}},{"in":"query","name":"cursor","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProtocolPage"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":""},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":""}},"summary":"Read deposits from the local Observatory dataset","tags":["pulse"]}},"/api/v1/events":{"get":{"operationId":"list","parameters":[{"in":"query","name":"dataset","required":false,"schema":{"format":"uuid","type":"string"}},{"in":"query","name":"scope","required":false,"schema":{"type":"string"}},{"in":"query","name":"slot","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"kind","required":false,"schema":{"type":"string"}},{"in":"query","name":"hash","required":false,"schema":{"type":"string"}},{"in":"query","name":"key","required":false,"schema":{"type":"string"}},{"description":"Exact instance identity recorded when capturing an observation.","in":"query","name":"instance_id","required":false,"schema":{"type":"string"}},{"in":"query","name":"from_height","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"to_height","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"from_time","required":false,"schema":{"format":"date-time","type":"string"}},{"in":"query","name":"to_time","required":false,"schema":{"format":"date-time","type":"string"}},{"description":"observation (history default), block (facts default), or ingestion.","in":"query","name":"time_basis","required":false,"schema":{"type":"string"}},{"in":"query","name":"q","required":false,"schema":{"type":"string"}},{"description":"History order: `observed` (latest occurrence first) or `block` (block\nheight first; unanchored state uses the tip of its first read). Deposits\ndefault to `block`, other histories to `observed`.","in":"query","name":"order","required":false,"schema":{"type":"string"}},{"description":"History only: omit a reading whose content equals the previous reading\nof the same entity, such as a re-read after a monitor restart.","in":"query","name":"changes","required":false,"schema":{"type":"boolean"}},{"in":"query","name":"limit","required":false,"schema":{"format":"int32","minimum":0,"type":"integer"}},{"in":"query","name":"cursor","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProtocolPage"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":""},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":""}},"tags":["pulse"]}},"/api/v1/export":{"get":{"operationId":"export","parameters":[{"in":"query","name":"dataset","required":false,"schema":{"format":"uuid","type":"string"}},{"in":"query","name":"scope","required":false,"schema":{"type":"string"}},{"in":"query","name":"slot","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"kind","required":false,"schema":{"type":"string"}},{"in":"query","name":"hash","required":false,"schema":{"type":"string"}},{"in":"query","name":"key","required":false,"schema":{"type":"string"}},{"description":"Exact instance identity recorded when capturing an observation.","in":"query","name":"instance_id","required":false,"schema":{"type":"string"}},{"in":"query","name":"from_height","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"to_height","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"from_time","required":false,"schema":{"format":"date-time","type":"string"}},{"in":"query","name":"to_time","required":false,"schema":{"format":"date-time","type":"string"}},{"description":"observation (history default), block (facts default), or ingestion.","in":"query","name":"time_basis","required":false,"schema":{"type":"string"}},{"in":"query","name":"q","required":false,"schema":{"type":"string"}},{"description":"History order: `observed` (latest occurrence first) or `block` (block\nheight first; unanchored state uses the tip of its first read). Deposits\ndefault to `block`, other histories to `observed`.","in":"query","name":"order","required":false,"schema":{"type":"string"}},{"description":"History only: omit a reading whose content equals the previous reading\nof the same entity, such as a re-read after a monitor restart.","in":"query","name":"changes","required":false,"schema":{"type":"boolean"}},{"in":"query","name":"limit","required":false,"schema":{"format":"int32","minimum":0,"type":"integer"}},{"in":"query","name":"cursor","required":false,"schema":{"type":"string"}},{"in":"query","name":"resource","required":true,"schema":{"type":"string"}},{"in":"query","name":"format","schema":{"default":"json","enum":["json","csv"],"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"context":{"$ref":"#/components/schemas/ProtocolContext"},"items":{"items":{"$ref":"#/components/schemas/ProtocolItem"},"type":"array"},"truncated":{"type":"boolean"}},"required":["context","items","truncated"],"type":"object"}},"text/csv":{"schema":{"type":"string"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":""},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":""}},"summary":"Read export from the local Observatory dataset","tags":["pulse"]}},"/api/v1/meta":{"get":{"operationId":"meta","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MetaResponse"}}},"description":""},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":""}},"tags":["pulse"]}},"/api/v1/network":{"get":{"operationId":"network","parameters":[{"in":"query","name":"dataset","required":false,"schema":{"format":"uuid","type":"string"}},{"description":"Blocks to measure pace and hashrate over: 144 (default), 1008 or 2016.","in":"query","name":"window_blocks","required":false,"schema":{"format":"int32","minimum":0,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NetworkResponse"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":""}},"tags":["pulse"]}},"/api/v1/observation-failures":{"get":{"operationId":"observationfailures","parameters":[{"in":"query","name":"dataset","required":false,"schema":{"format":"uuid","type":"string"}},{"in":"query","name":"scope","required":false,"schema":{"type":"string"}},{"in":"query","name":"slot","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"kind","required":false,"schema":{"type":"string"}},{"in":"query","name":"hash","required":false,"schema":{"type":"string"}},{"in":"query","name":"key","required":false,"schema":{"type":"string"}},{"description":"Exact instance identity recorded when capturing an observation.","in":"query","name":"instance_id","required":false,"schema":{"type":"string"}},{"in":"query","name":"from_height","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"to_height","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"from_time","required":false,"schema":{"format":"date-time","type":"string"}},{"in":"query","name":"to_time","required":false,"schema":{"format":"date-time","type":"string"}},{"description":"observation (history default), block (facts default), or ingestion.","in":"query","name":"time_basis","required":false,"schema":{"type":"string"}},{"in":"query","name":"q","required":false,"schema":{"type":"string"}},{"description":"History order: `observed` (latest occurrence first) or `block` (block\nheight first; unanchored state uses the tip of its first read). Deposits\ndefault to `block`, other histories to `observed`.","in":"query","name":"order","required":false,"schema":{"type":"string"}},{"description":"History only: omit a reading whose content equals the previous reading\nof the same entity, such as a re-read after a monitor restart.","in":"query","name":"changes","required":false,"schema":{"type":"boolean"}},{"in":"query","name":"limit","required":false,"schema":{"format":"int32","minimum":0,"type":"integer"}},{"in":"query","name":"cursor","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProtocolPage"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":""},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":""}},"summary":"Read observation-failures from the local Observatory dataset","tags":["pulse"]}},"/api/v1/observations":{"get":{"operationId":"observations","parameters":[{"in":"query","name":"dataset","required":false,"schema":{"format":"uuid","type":"string"}},{"in":"query","name":"scope","required":false,"schema":{"type":"string"}},{"in":"query","name":"slot","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"kind","required":false,"schema":{"type":"string"}},{"in":"query","name":"hash","required":false,"schema":{"type":"string"}},{"in":"query","name":"key","required":false,"schema":{"type":"string"}},{"description":"Exact instance identity recorded when capturing an observation.","in":"query","name":"instance_id","required":false,"schema":{"type":"string"}},{"in":"query","name":"from_height","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"to_height","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"from_time","required":false,"schema":{"format":"date-time","type":"string"}},{"in":"query","name":"to_time","required":false,"schema":{"format":"date-time","type":"string"}},{"description":"observation (history default), block (facts default), or ingestion.","in":"query","name":"time_basis","required":false,"schema":{"type":"string"}},{"in":"query","name":"q","required":false,"schema":{"type":"string"}},{"description":"History order: `observed` (latest occurrence first) or `block` (block\nheight first; unanchored state uses the tip of its first read). Deposits\ndefault to `block`, other histories to `observed`.","in":"query","name":"order","required":false,"schema":{"type":"string"}},{"description":"History only: omit a reading whose content equals the previous reading\nof the same entity, such as a re-read after a monitor restart.","in":"query","name":"changes","required":false,"schema":{"type":"boolean"}},{"in":"query","name":"limit","required":false,"schema":{"format":"int32","minimum":0,"type":"integer"}},{"in":"query","name":"cursor","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProtocolPage"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":""},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":""}},"summary":"Read observations from the local Observatory dataset","tags":["pulse"]}},"/api/v1/observatory":{"get":{"operationId":"observatory","parameters":[{"in":"query","name":"dataset","required":false,"schema":{"format":"uuid","type":"string"}},{"in":"query","name":"scope","required":false,"schema":{"type":"string"}},{"in":"query","name":"slot","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"kind","required":false,"schema":{"type":"string"}},{"in":"query","name":"hash","required":false,"schema":{"type":"string"}},{"in":"query","name":"key","required":false,"schema":{"type":"string"}},{"description":"Exact instance identity recorded when capturing an observation.","in":"query","name":"instance_id","required":false,"schema":{"type":"string"}},{"in":"query","name":"from_height","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"to_height","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"from_time","required":false,"schema":{"format":"date-time","type":"string"}},{"in":"query","name":"to_time","required":false,"schema":{"format":"date-time","type":"string"}},{"description":"observation (history default), block (facts default), or ingestion.","in":"query","name":"time_basis","required":false,"schema":{"type":"string"}},{"in":"query","name":"q","required":false,"schema":{"type":"string"}},{"description":"History order: `observed` (latest occurrence first) or `block` (block\nheight first; unanchored state uses the tip of its first read). Deposits\ndefault to `block`, other histories to `observed`.","in":"query","name":"order","required":false,"schema":{"type":"string"}},{"description":"History only: omit a reading whose content equals the previous reading\nof the same entity, such as a re-read after a monitor restart.","in":"query","name":"changes","required":false,"schema":{"type":"boolean"}},{"in":"query","name":"limit","required":false,"schema":{"format":"int32","minimum":0,"type":"integer"}},{"in":"query","name":"cursor","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryResponse"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":""}},"tags":["pulse"]}},"/api/v1/overview":{"get":{"operationId":"overview","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OverviewResponse"}}},"description":""},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":""}},"tags":["pulse"]}},"/api/v1/protocol-messages":{"get":{"operationId":"protocolmessages","parameters":[{"in":"query","name":"dataset","required":false,"schema":{"format":"uuid","type":"string"}},{"in":"query","name":"scope","required":false,"schema":{"type":"string"}},{"in":"query","name":"slot","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"kind","required":false,"schema":{"type":"string"}},{"in":"query","name":"hash","required":false,"schema":{"type":"string"}},{"in":"query","name":"key","required":false,"schema":{"type":"string"}},{"description":"Exact instance identity recorded when capturing an observation.","in":"query","name":"instance_id","required":false,"schema":{"type":"string"}},{"in":"query","name":"from_height","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"to_height","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"from_time","required":false,"schema":{"format":"date-time","type":"string"}},{"in":"query","name":"to_time","required":false,"schema":{"format":"date-time","type":"string"}},{"description":"observation (history default), block (facts default), or ingestion.","in":"query","name":"time_basis","required":false,"schema":{"type":"string"}},{"in":"query","name":"q","required":false,"schema":{"type":"string"}},{"description":"History order: `observed` (latest occurrence first) or `block` (block\nheight first; unanchored state uses the tip of its first read). Deposits\ndefault to `block`, other histories to `observed`.","in":"query","name":"order","required":false,"schema":{"type":"string"}},{"description":"History only: omit a reading whose content equals the previous reading\nof the same entity, such as a re-read after a monitor restart.","in":"query","name":"changes","required":false,"schema":{"type":"boolean"}},{"in":"query","name":"limit","required":false,"schema":{"format":"int32","minimum":0,"type":"integer"}},{"in":"query","name":"cursor","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProtocolPage"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":""},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":""}},"summary":"Read protocol-messages from the local Observatory dataset","tags":["pulse"]}},"/api/v1/runs":{"get":{"operationId":"runs","parameters":[{"in":"query","name":"dataset","required":false,"schema":{"format":"uuid","type":"string"}},{"in":"query","name":"scope","required":false,"schema":{"type":"string"}},{"in":"query","name":"slot","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"kind","required":false,"schema":{"type":"string"}},{"in":"query","name":"hash","required":false,"schema":{"type":"string"}},{"in":"query","name":"key","required":false,"schema":{"type":"string"}},{"description":"Exact instance identity recorded when capturing an observation.","in":"query","name":"instance_id","required":false,"schema":{"type":"string"}},{"in":"query","name":"from_height","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"to_height","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"from_time","required":false,"schema":{"format":"date-time","type":"string"}},{"in":"query","name":"to_time","required":false,"schema":{"format":"date-time","type":"string"}},{"description":"observation (history default), block (facts default), or ingestion.","in":"query","name":"time_basis","required":false,"schema":{"type":"string"}},{"in":"query","name":"q","required":false,"schema":{"type":"string"}},{"description":"History order: `observed` (latest occurrence first) or `block` (block\nheight first; unanchored state uses the tip of its first read). Deposits\ndefault to `block`, other histories to `observed`.","in":"query","name":"order","required":false,"schema":{"type":"string"}},{"description":"History only: omit a reading whose content equals the previous reading\nof the same entity, such as a re-read after a monitor restart.","in":"query","name":"changes","required":false,"schema":{"type":"boolean"}},{"in":"query","name":"limit","required":false,"schema":{"format":"int32","minimum":0,"type":"integer"}},{"in":"query","name":"cursor","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProtocolPage"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":""},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":""}},"summary":"Read runs from the local Observatory dataset","tags":["pulse"]}},"/api/v1/runs/{id}":{"get":{"operationId":"runs_id","parameters":[{"in":"query","name":"dataset","required":false,"schema":{"format":"uuid","type":"string"}},{"in":"query","name":"scope","required":false,"schema":{"type":"string"}},{"in":"query","name":"slot","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"kind","required":false,"schema":{"type":"string"}},{"in":"query","name":"hash","required":false,"schema":{"type":"string"}},{"in":"query","name":"key","required":false,"schema":{"type":"string"}},{"description":"Exact instance identity recorded when capturing an observation.","in":"query","name":"instance_id","required":false,"schema":{"type":"string"}},{"in":"query","name":"from_height","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"to_height","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"from_time","required":false,"schema":{"format":"date-time","type":"string"}},{"in":"query","name":"to_time","required":false,"schema":{"format":"date-time","type":"string"}},{"description":"observation (history default), block (facts default), or ingestion.","in":"query","name":"time_basis","required":false,"schema":{"type":"string"}},{"in":"query","name":"q","required":false,"schema":{"type":"string"}},{"description":"History order: `observed` (latest occurrence first) or `block` (block\nheight first; unanchored state uses the tip of its first read). Deposits\ndefault to `block`, other histories to `observed`.","in":"query","name":"order","required":false,"schema":{"type":"string"}},{"description":"History only: omit a reading whose content equals the previous reading\nof the same entity, such as a re-read after a monitor restart.","in":"query","name":"changes","required":false,"schema":{"type":"boolean"}},{"in":"query","name":"limit","required":false,"schema":{"format":"int32","minimum":0,"type":"integer"}},{"in":"query","name":"cursor","required":false,"schema":{"type":"string"}},{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProtocolPage"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":""},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":""}},"summary":"Read runs/{id} from the local Observatory dataset","tags":["pulse"]}},"/api/v1/search":{"get":{"operationId":"search","parameters":[{"in":"query","name":"dataset","required":false,"schema":{"format":"uuid","type":"string"}},{"in":"query","name":"scope","required":false,"schema":{"type":"string"}},{"in":"query","name":"slot","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"kind","required":false,"schema":{"type":"string"}},{"in":"query","name":"hash","required":false,"schema":{"type":"string"}},{"in":"query","name":"key","required":false,"schema":{"type":"string"}},{"description":"Exact instance identity recorded when capturing an observation.","in":"query","name":"instance_id","required":false,"schema":{"type":"string"}},{"in":"query","name":"from_height","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"to_height","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"from_time","required":false,"schema":{"format":"date-time","type":"string"}},{"in":"query","name":"to_time","required":false,"schema":{"format":"date-time","type":"string"}},{"description":"observation (history default), block (facts default), or ingestion.","in":"query","name":"time_basis","required":false,"schema":{"type":"string"}},{"in":"query","name":"q","required":false,"schema":{"type":"string"}},{"description":"History order: `observed` (latest occurrence first) or `block` (block\nheight first; unanchored state uses the tip of its first read). Deposits\ndefault to `block`, other histories to `observed`.","in":"query","name":"order","required":false,"schema":{"type":"string"}},{"description":"History only: omit a reading whose content equals the previous reading\nof the same entity, such as a re-read after a monitor restart.","in":"query","name":"changes","required":false,"schema":{"type":"boolean"}},{"in":"query","name":"limit","required":false,"schema":{"format":"int32","minimum":0,"type":"integer"}},{"in":"query","name":"cursor","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProtocolPage"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":""},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":""}},"summary":"Read search from the local Observatory dataset","tags":["pulse"]}},"/api/v1/sidechain-instances":{"get":{"operationId":"sidechaininstances","parameters":[{"in":"query","name":"dataset","required":false,"schema":{"format":"uuid","type":"string"}},{"in":"query","name":"scope","required":false,"schema":{"type":"string"}},{"in":"query","name":"slot","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"kind","required":false,"schema":{"type":"string"}},{"in":"query","name":"hash","required":false,"schema":{"type":"string"}},{"in":"query","name":"key","required":false,"schema":{"type":"string"}},{"description":"Exact instance identity recorded when capturing an observation.","in":"query","name":"instance_id","required":false,"schema":{"type":"string"}},{"in":"query","name":"from_height","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"to_height","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"from_time","required":false,"schema":{"format":"date-time","type":"string"}},{"in":"query","name":"to_time","required":false,"schema":{"format":"date-time","type":"string"}},{"description":"observation (history default), block (facts default), or ingestion.","in":"query","name":"time_basis","required":false,"schema":{"type":"string"}},{"in":"query","name":"q","required":false,"schema":{"type":"string"}},{"description":"History order: `observed` (latest occurrence first) or `block` (block\nheight first; unanchored state uses the tip of its first read). Deposits\ndefault to `block`, other histories to `observed`.","in":"query","name":"order","required":false,"schema":{"type":"string"}},{"description":"History only: omit a reading whose content equals the previous reading\nof the same entity, such as a re-read after a monitor restart.","in":"query","name":"changes","required":false,"schema":{"type":"boolean"}},{"in":"query","name":"limit","required":false,"schema":{"format":"int32","minimum":0,"type":"integer"}},{"in":"query","name":"cursor","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProtocolPage"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":""},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":""}},"summary":"Read sidechain-instances from the local Observatory dataset","tags":["pulse"]}},"/api/v1/sidechain-instances/{id}":{"get":{"operationId":"sidechaininstances_id","parameters":[{"in":"query","name":"dataset","required":false,"schema":{"format":"uuid","type":"string"}},{"in":"query","name":"scope","required":false,"schema":{"type":"string"}},{"in":"query","name":"slot","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"kind","required":false,"schema":{"type":"string"}},{"in":"query","name":"hash","required":false,"schema":{"type":"string"}},{"in":"query","name":"key","required":false,"schema":{"type":"string"}},{"description":"Exact instance identity recorded when capturing an observation.","in":"query","name":"instance_id","required":false,"schema":{"type":"string"}},{"in":"query","name":"from_height","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"to_height","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"from_time","required":false,"schema":{"format":"date-time","type":"string"}},{"in":"query","name":"to_time","required":false,"schema":{"format":"date-time","type":"string"}},{"description":"observation (history default), block (facts default), or ingestion.","in":"query","name":"time_basis","required":false,"schema":{"type":"string"}},{"in":"query","name":"q","required":false,"schema":{"type":"string"}},{"description":"History order: `observed` (latest occurrence first) or `block` (block\nheight first; unanchored state uses the tip of its first read). Deposits\ndefault to `block`, other histories to `observed`.","in":"query","name":"order","required":false,"schema":{"type":"string"}},{"description":"History only: omit a reading whose content equals the previous reading\nof the same entity, such as a re-read after a monitor restart.","in":"query","name":"changes","required":false,"schema":{"type":"boolean"}},{"in":"query","name":"limit","required":false,"schema":{"format":"int32","minimum":0,"type":"integer"}},{"in":"query","name":"cursor","required":false,"schema":{"type":"string"}},{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProtocolPage"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":""},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":""}},"summary":"Read sidechain-instances/{id} from the local Observatory dataset","tags":["pulse"]}},"/api/v1/sidechain-instances/{id}/ctip":{"get":{"operationId":"sidechaininstances_id_ctip","parameters":[{"in":"query","name":"dataset","required":false,"schema":{"format":"uuid","type":"string"}},{"in":"query","name":"scope","required":false,"schema":{"type":"string"}},{"in":"query","name":"slot","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"kind","required":false,"schema":{"type":"string"}},{"in":"query","name":"hash","required":false,"schema":{"type":"string"}},{"in":"query","name":"key","required":false,"schema":{"type":"string"}},{"description":"Exact instance identity recorded when capturing an observation.","in":"query","name":"instance_id","required":false,"schema":{"type":"string"}},{"in":"query","name":"from_height","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"to_height","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"from_time","required":false,"schema":{"format":"date-time","type":"string"}},{"in":"query","name":"to_time","required":false,"schema":{"format":"date-time","type":"string"}},{"description":"observation (history default), block (facts default), or ingestion.","in":"query","name":"time_basis","required":false,"schema":{"type":"string"}},{"in":"query","name":"q","required":false,"schema":{"type":"string"}},{"description":"History order: `observed` (latest occurrence first) or `block` (block\nheight first; unanchored state uses the tip of its first read). Deposits\ndefault to `block`, other histories to `observed`.","in":"query","name":"order","required":false,"schema":{"type":"string"}},{"description":"History only: omit a reading whose content equals the previous reading\nof the same entity, such as a re-read after a monitor restart.","in":"query","name":"changes","required":false,"schema":{"type":"boolean"}},{"in":"query","name":"limit","required":false,"schema":{"format":"int32","minimum":0,"type":"integer"}},{"in":"query","name":"cursor","required":false,"schema":{"type":"string"}},{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProtocolPage"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":""},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":""}},"summary":"Read sidechain-instances/{id}/ctip from the local Observatory dataset","tags":["pulse"]}},"/api/v1/sidechain-proposals":{"get":{"operationId":"sidechainproposals","parameters":[{"in":"query","name":"dataset","required":false,"schema":{"format":"uuid","type":"string"}},{"in":"query","name":"scope","required":false,"schema":{"type":"string"}},{"in":"query","name":"slot","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"kind","required":false,"schema":{"type":"string"}},{"in":"query","name":"hash","required":false,"schema":{"type":"string"}},{"in":"query","name":"key","required":false,"schema":{"type":"string"}},{"description":"Exact instance identity recorded when capturing an observation.","in":"query","name":"instance_id","required":false,"schema":{"type":"string"}},{"in":"query","name":"from_height","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"to_height","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"from_time","required":false,"schema":{"format":"date-time","type":"string"}},{"in":"query","name":"to_time","required":false,"schema":{"format":"date-time","type":"string"}},{"description":"observation (history default), block (facts default), or ingestion.","in":"query","name":"time_basis","required":false,"schema":{"type":"string"}},{"in":"query","name":"q","required":false,"schema":{"type":"string"}},{"description":"History order: `observed` (latest occurrence first) or `block` (block\nheight first; unanchored state uses the tip of its first read). Deposits\ndefault to `block`, other histories to `observed`.","in":"query","name":"order","required":false,"schema":{"type":"string"}},{"description":"History only: omit a reading whose content equals the previous reading\nof the same entity, such as a re-read after a monitor restart.","in":"query","name":"changes","required":false,"schema":{"type":"boolean"}},{"in":"query","name":"limit","required":false,"schema":{"format":"int32","minimum":0,"type":"integer"}},{"in":"query","name":"cursor","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProtocolPage"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":""},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":""}},"summary":"Read sidechain-proposals from the local Observatory dataset","tags":["pulse"]}},"/api/v1/sidechain-proposals/{id}":{"get":{"operationId":"sidechainproposals_id","parameters":[{"in":"query","name":"dataset","required":false,"schema":{"format":"uuid","type":"string"}},{"in":"query","name":"scope","required":false,"schema":{"type":"string"}},{"in":"query","name":"slot","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"kind","required":false,"schema":{"type":"string"}},{"in":"query","name":"hash","required":false,"schema":{"type":"string"}},{"in":"query","name":"key","required":false,"schema":{"type":"string"}},{"description":"Exact instance identity recorded when capturing an observation.","in":"query","name":"instance_id","required":false,"schema":{"type":"string"}},{"in":"query","name":"from_height","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"to_height","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"from_time","required":false,"schema":{"format":"date-time","type":"string"}},{"in":"query","name":"to_time","required":false,"schema":{"format":"date-time","type":"string"}},{"description":"observation (history default), block (facts default), or ingestion.","in":"query","name":"time_basis","required":false,"schema":{"type":"string"}},{"in":"query","name":"q","required":false,"schema":{"type":"string"}},{"description":"History order: `observed` (latest occurrence first) or `block` (block\nheight first; unanchored state uses the tip of its first read). Deposits\ndefault to `block`, other histories to `observed`.","in":"query","name":"order","required":false,"schema":{"type":"string"}},{"description":"History only: omit a reading whose content equals the previous reading\nof the same entity, such as a re-read after a monitor restart.","in":"query","name":"changes","required":false,"schema":{"type":"boolean"}},{"in":"query","name":"limit","required":false,"schema":{"format":"int32","minimum":0,"type":"integer"}},{"in":"query","name":"cursor","required":false,"schema":{"type":"string"}},{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProtocolPage"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":""},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":""}},"summary":"Read sidechain-proposals/{id} from the local Observatory dataset","tags":["pulse"]}},"/api/v1/sidechains":{"get":{"operationId":"sidechains","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SidechainsResponse"}}},"description":""},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":""}},"tags":["pulse"]}},"/api/v1/sidechains/{slot}":{"get":{"operationId":"sidechains_slot","parameters":[{"in":"query","name":"dataset","required":false,"schema":{"format":"uuid","type":"string"}},{"in":"query","name":"scope","required":false,"schema":{"type":"string"}},{"in":"query","name":"slot","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"kind","required":false,"schema":{"type":"string"}},{"in":"query","name":"hash","required":false,"schema":{"type":"string"}},{"in":"query","name":"key","required":false,"schema":{"type":"string"}},{"description":"Exact instance identity recorded when capturing an observation.","in":"query","name":"instance_id","required":false,"schema":{"type":"string"}},{"in":"query","name":"from_height","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"to_height","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"from_time","required":false,"schema":{"format":"date-time","type":"string"}},{"in":"query","name":"to_time","required":false,"schema":{"format":"date-time","type":"string"}},{"description":"observation (history default), block (facts default), or ingestion.","in":"query","name":"time_basis","required":false,"schema":{"type":"string"}},{"in":"query","name":"q","required":false,"schema":{"type":"string"}},{"description":"History order: `observed` (latest occurrence first) or `block` (block\nheight first; unanchored state uses the tip of its first read). Deposits\ndefault to `block`, other histories to `observed`.","in":"query","name":"order","required":false,"schema":{"type":"string"}},{"description":"History only: omit a reading whose content equals the previous reading\nof the same entity, such as a re-read after a monitor restart.","in":"query","name":"changes","required":false,"schema":{"type":"boolean"}},{"in":"query","name":"limit","required":false,"schema":{"format":"int32","minimum":0,"type":"integer"}},{"in":"query","name":"cursor","required":false,"schema":{"type":"string"}},{"in":"path","name":"slot","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryResponse"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":""}},"summary":"Read sidechains/{slot} from the local Observatory dataset","tags":["pulse"]}},"/api/v1/sidechains/{slot}/activity":{"get":{"operationId":"sidechains_slot_activity","parameters":[{"in":"query","name":"dataset","required":false,"schema":{"format":"uuid","type":"string"}},{"in":"query","name":"scope","required":false,"schema":{"type":"string"}},{"in":"query","name":"slot","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"kind","required":false,"schema":{"type":"string"}},{"in":"query","name":"hash","required":false,"schema":{"type":"string"}},{"in":"query","name":"key","required":false,"schema":{"type":"string"}},{"description":"Exact instance identity recorded when capturing an observation.","in":"query","name":"instance_id","required":false,"schema":{"type":"string"}},{"in":"query","name":"from_height","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"to_height","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"from_time","required":false,"schema":{"format":"date-time","type":"string"}},{"in":"query","name":"to_time","required":false,"schema":{"format":"date-time","type":"string"}},{"description":"observation (history default), block (facts default), or ingestion.","in":"query","name":"time_basis","required":false,"schema":{"type":"string"}},{"in":"query","name":"q","required":false,"schema":{"type":"string"}},{"description":"History order: `observed` (latest occurrence first) or `block` (block\nheight first; unanchored state uses the tip of its first read). Deposits\ndefault to `block`, other histories to `observed`.","in":"query","name":"order","required":false,"schema":{"type":"string"}},{"description":"History only: omit a reading whose content equals the previous reading\nof the same entity, such as a re-read after a monitor restart.","in":"query","name":"changes","required":false,"schema":{"type":"boolean"}},{"in":"query","name":"limit","required":false,"schema":{"format":"int32","minimum":0,"type":"integer"}},{"in":"query","name":"cursor","required":false,"schema":{"type":"string"}},{"in":"path","name":"slot","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProtocolPage"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":""},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":""}},"summary":"Read sidechains/{slot}/activity from the local Observatory dataset","tags":["pulse"]}},"/api/v1/sidechains/{slot}/dataset":{"get":{"operationId":"sidechain_dataset","parameters":[{"description":"BIP300 slot, 0 to 255","in":"path","name":"slot","required":true,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"dataset","required":false,"schema":{"format":"uuid","type":"string"}},{"description":"First L1 height to include. Snapshot readings filter by the tip they were read at.","in":"query","name":"from_height","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"to_height","required":false,"schema":{"format":"int32","type":"integer"}},{"description":"zip (default): one CSV per table plus manifest.json with row counts and SHA-256; json: the same tables in one document","in":"query","name":"format","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SidechainDataset"}}},"description":"JSON shown; format=zip returns application/zip"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":""}},"tags":["pulse"]}},"/api/v1/sidechains/{slot}/instances":{"get":{"operationId":"sidechains_slot_instances","parameters":[{"in":"query","name":"dataset","required":false,"schema":{"format":"uuid","type":"string"}},{"in":"query","name":"scope","required":false,"schema":{"type":"string"}},{"in":"query","name":"slot","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"kind","required":false,"schema":{"type":"string"}},{"in":"query","name":"hash","required":false,"schema":{"type":"string"}},{"in":"query","name":"key","required":false,"schema":{"type":"string"}},{"description":"Exact instance identity recorded when capturing an observation.","in":"query","name":"instance_id","required":false,"schema":{"type":"string"}},{"in":"query","name":"from_height","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"to_height","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"from_time","required":false,"schema":{"format":"date-time","type":"string"}},{"in":"query","name":"to_time","required":false,"schema":{"format":"date-time","type":"string"}},{"description":"observation (history default), block (facts default), or ingestion.","in":"query","name":"time_basis","required":false,"schema":{"type":"string"}},{"in":"query","name":"q","required":false,"schema":{"type":"string"}},{"description":"History order: `observed` (latest occurrence first) or `block` (block\nheight first; unanchored state uses the tip of its first read). Deposits\ndefault to `block`, other histories to `observed`.","in":"query","name":"order","required":false,"schema":{"type":"string"}},{"description":"History only: omit a reading whose content equals the previous reading\nof the same entity, such as a re-read after a monitor restart.","in":"query","name":"changes","required":false,"schema":{"type":"boolean"}},{"in":"query","name":"limit","required":false,"schema":{"format":"int32","minimum":0,"type":"integer"}},{"in":"query","name":"cursor","required":false,"schema":{"type":"string"}},{"in":"path","name":"slot","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProtocolPage"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":""},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":""}},"summary":"Read sidechains/{slot}/instances from the local Observatory dataset","tags":["pulse"]}},"/api/v1/sidechains/{slot}/stats":{"get":{"operationId":"sidechain_stats","parameters":[{"description":"BIP300 slot, 0 to 255","in":"path","name":"slot","required":true,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"dataset","required":false,"schema":{"format":"uuid","type":"string"}},{"description":"Blocks in `series`: 144 (default) or 1008.","in":"query","name":"window_blocks","required":false,"schema":{"format":"int32","minimum":0,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SidechainStats"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":""}},"tags":["pulse"]}},"/api/v1/snapshot-groups":{"get":{"operationId":"snapshotgroups","parameters":[{"in":"query","name":"dataset","required":false,"schema":{"format":"uuid","type":"string"}},{"in":"query","name":"scope","required":false,"schema":{"type":"string"}},{"in":"query","name":"slot","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"kind","required":false,"schema":{"type":"string"}},{"in":"query","name":"hash","required":false,"schema":{"type":"string"}},{"in":"query","name":"key","required":false,"schema":{"type":"string"}},{"description":"Exact instance identity recorded when capturing an observation.","in":"query","name":"instance_id","required":false,"schema":{"type":"string"}},{"in":"query","name":"from_height","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"to_height","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"from_time","required":false,"schema":{"format":"date-time","type":"string"}},{"in":"query","name":"to_time","required":false,"schema":{"format":"date-time","type":"string"}},{"description":"observation (history default), block (facts default), or ingestion.","in":"query","name":"time_basis","required":false,"schema":{"type":"string"}},{"in":"query","name":"q","required":false,"schema":{"type":"string"}},{"description":"History order: `observed` (latest occurrence first) or `block` (block\nheight first; unanchored state uses the tip of its first read). Deposits\ndefault to `block`, other histories to `observed`.","in":"query","name":"order","required":false,"schema":{"type":"string"}},{"description":"History only: omit a reading whose content equals the previous reading\nof the same entity, such as a re-read after a monitor restart.","in":"query","name":"changes","required":false,"schema":{"type":"boolean"}},{"in":"query","name":"limit","required":false,"schema":{"format":"int32","minimum":0,"type":"integer"}},{"in":"query","name":"cursor","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProtocolPage"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":""},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":""}},"summary":"Read snapshot-groups from the local Observatory dataset","tags":["pulse"]}},"/api/v1/snapshot-groups/{id}":{"get":{"operationId":"snapshotgroups_id","parameters":[{"in":"query","name":"dataset","required":false,"schema":{"format":"uuid","type":"string"}},{"in":"query","name":"scope","required":false,"schema":{"type":"string"}},{"in":"query","name":"slot","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"kind","required":false,"schema":{"type":"string"}},{"in":"query","name":"hash","required":false,"schema":{"type":"string"}},{"in":"query","name":"key","required":false,"schema":{"type":"string"}},{"description":"Exact instance identity recorded when capturing an observation.","in":"query","name":"instance_id","required":false,"schema":{"type":"string"}},{"in":"query","name":"from_height","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"to_height","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"from_time","required":false,"schema":{"format":"date-time","type":"string"}},{"in":"query","name":"to_time","required":false,"schema":{"format":"date-time","type":"string"}},{"description":"observation (history default), block (facts default), or ingestion.","in":"query","name":"time_basis","required":false,"schema":{"type":"string"}},{"in":"query","name":"q","required":false,"schema":{"type":"string"}},{"description":"History order: `observed` (latest occurrence first) or `block` (block\nheight first; unanchored state uses the tip of its first read). Deposits\ndefault to `block`, other histories to `observed`.","in":"query","name":"order","required":false,"schema":{"type":"string"}},{"description":"History only: omit a reading whose content equals the previous reading\nof the same entity, such as a re-read after a monitor restart.","in":"query","name":"changes","required":false,"schema":{"type":"boolean"}},{"in":"query","name":"limit","required":false,"schema":{"format":"int32","minimum":0,"type":"integer"}},{"in":"query","name":"cursor","required":false,"schema":{"type":"string"}},{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProtocolPage"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":""},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":""}},"summary":"Read snapshot-groups/{id} from the local Observatory dataset","tags":["pulse"]}},"/api/v1/status":{"get":{"operationId":"status","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatusResponse"}}},"description":""},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":""}},"tags":["pulse"]}},"/api/v1/summary":{"get":{"operationId":"summary","parameters":[{"in":"query","name":"dataset","required":false,"schema":{"format":"uuid","type":"string"}},{"description":"Length of the period in hours, 1 to 168. Default 24.","in":"query","name":"hours","required":false,"schema":{"format":"int32","minimum":0,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SummaryResponse"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":""}},"tags":["pulse"]}},"/api/v1/withdrawal-bundles":{"get":{"operationId":"withdrawalbundles","parameters":[{"in":"query","name":"dataset","required":false,"schema":{"format":"uuid","type":"string"}},{"in":"query","name":"scope","required":false,"schema":{"type":"string"}},{"in":"query","name":"slot","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"kind","required":false,"schema":{"type":"string"}},{"in":"query","name":"hash","required":false,"schema":{"type":"string"}},{"in":"query","name":"key","required":false,"schema":{"type":"string"}},{"description":"Exact instance identity recorded when capturing an observation.","in":"query","name":"instance_id","required":false,"schema":{"type":"string"}},{"in":"query","name":"from_height","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"to_height","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"from_time","required":false,"schema":{"format":"date-time","type":"string"}},{"in":"query","name":"to_time","required":false,"schema":{"format":"date-time","type":"string"}},{"description":"observation (history default), block (facts default), or ingestion.","in":"query","name":"time_basis","required":false,"schema":{"type":"string"}},{"in":"query","name":"q","required":false,"schema":{"type":"string"}},{"description":"History order: `observed` (latest occurrence first) or `block` (block\nheight first; unanchored state uses the tip of its first read). Deposits\ndefault to `block`, other histories to `observed`.","in":"query","name":"order","required":false,"schema":{"type":"string"}},{"description":"History only: omit a reading whose content equals the previous reading\nof the same entity, such as a re-read after a monitor restart.","in":"query","name":"changes","required":false,"schema":{"type":"boolean"}},{"in":"query","name":"limit","required":false,"schema":{"format":"int32","minimum":0,"type":"integer"}},{"in":"query","name":"cursor","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProtocolPage"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":""},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":""}},"summary":"Read withdrawal-bundles from the local Observatory dataset","tags":["pulse"]}},"/api/v1/withdrawal-bundles/{id}":{"get":{"operationId":"withdrawalbundles_id","parameters":[{"in":"query","name":"dataset","required":false,"schema":{"format":"uuid","type":"string"}},{"in":"query","name":"scope","required":false,"schema":{"type":"string"}},{"in":"query","name":"slot","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"kind","required":false,"schema":{"type":"string"}},{"in":"query","name":"hash","required":false,"schema":{"type":"string"}},{"in":"query","name":"key","required":false,"schema":{"type":"string"}},{"description":"Exact instance identity recorded when capturing an observation.","in":"query","name":"instance_id","required":false,"schema":{"type":"string"}},{"in":"query","name":"from_height","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"to_height","required":false,"schema":{"format":"int32","type":"integer"}},{"in":"query","name":"from_time","required":false,"schema":{"format":"date-time","type":"string"}},{"in":"query","name":"to_time","required":false,"schema":{"format":"date-time","type":"string"}},{"description":"observation (history default), block (facts default), or ingestion.","in":"query","name":"time_basis","required":false,"schema":{"type":"string"}},{"in":"query","name":"q","required":false,"schema":{"type":"string"}},{"description":"History order: `observed` (latest occurrence first) or `block` (block\nheight first; unanchored state uses the tip of its first read). Deposits\ndefault to `block`, other histories to `observed`.","in":"query","name":"order","required":false,"schema":{"type":"string"}},{"description":"History only: omit a reading whose content equals the previous reading\nof the same entity, such as a re-read after a monitor restart.","in":"query","name":"changes","required":false,"schema":{"type":"boolean"}},{"in":"query","name":"limit","required":false,"schema":{"format":"int32","minimum":0,"type":"integer"}},{"in":"query","name":"cursor","required":false,"schema":{"type":"string"}},{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProtocolPage"}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":""},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":""}},"summary":"Read withdrawal-bundles/{id} from the local Observatory dataset","tags":["pulse"]}},"/health/live":{"get":{"operationId":"live","responses":{"200":{"description":""}},"tags":[]}},"/health/ready":{"get":{"operationId":"ready","responses":{"200":{"description":""},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":""}},"tags":[]}}},"tags":[{"description":"Drivechain - Observatory public API","name":"pulse"}]}