{"openapi":"3.1.0","info":{"title":"Transient Explorer API","description":"The transient sky as [transients.fyi](https://transients.fyi) shows it: ZTF and Rubin objects from\nthe [Fink](https://fink-broker.org) broker's alerts, and the transients reported to the\n[TNS](https://www.wis-tns.org) and CBAT's TOCP that neither survey alerted on, with TNS's and\nATLAS's photometry of them. Rebuilt nightly; every response carries `X-Data-Through` (the last\nnight, UTC) and `X-Build` (when the build ran).\n\nPublic and read-only: GET only, CORS open, no key. Please keep scripts to one request a second;\nbursts are answered 429 with `Retry-After`. Today's paths are version 1: changes are additive, and\na breaking one gets a new path and three months' notice on [/data](https://transients.fyi/data),\nwhich also has examples, the terms of each source and how to cite the data.\n","version":"1.0"},"paths":{"/health":{"get":{"tags":["build"],"summary":"Health","operationId":"health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Health Health Get"}}}}}}},"/manifest":{"get":{"tags":["build"],"summary":"Manifest","operationId":"manifest_manifest_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Manifest"}}}}}}},"/density":{"get":{"tags":["map"],"summary":"Density","operationId":"density_density_get","parameters":[{"name":"parents","in":"query","required":true,"schema":{"type":"string","description":"Comma-separated order-4 HEALPix pixels (nested)","title":"Parents"},"description":"Comma-separated order-4 HEALPix pixels (nested)"},{"name":"order","in":"query","required":false,"schema":{"type":"integer","description":"8 or 10","default":8,"title":"Order"},"description":"8 or 10"},{"name":"window","in":"query","required":false,"schema":{"type":"string","description":"1d | 7d | 1M | 3M | 6M | 1Y, ending at manifest.last_night","default":"7d","title":"Window"},"description":"1d | 7d | 1M | 3M | 6M | 1Y, ending at manifest.last_night"},{"name":"bucket","in":"query","required":false,"schema":{"type":"string","description":"Class bucket, 'all', or 'non_sso' (every bucket but sso)","default":"all","title":"Bucket"},"description":"Class bucket, 'all', or 'non_sso' (every bucket but sso)"},{"name":"survey","in":"query","required":false,"schema":{"type":"string","description":"A source (lsst, ztf: alert surveys; tns: TNS objects) or all","default":"all","title":"Survey"},"description":"A source (lsst, ztf: alert surveys; tns: TNS objects) or all"},{"name":"measure","in":"query","required":false,"schema":{"type":"string","description":"active (detection in window) | new (first detection in window)","default":"active","title":"Measure"},"description":"active (detection in window) | new (first detection in window)"},{"name":"mag","in":"query","required":false,"schema":{"type":"string","description":"Brightness cut from manifest.mag_cuts: 'all' or an AB magnitude limit on the latest detection (e.g. '18' = 18 or brighter)","default":"all","title":"Mag"},"description":"Brightness cut from manifest.mag_cuts: 'all' or an AB magnitude limit on the latest detection (e.g. '18' = 18 or brighter)"},{"name":"nights","in":"query","required":false,"schema":{"type":"string","description":"History cut from manifest.nights_cuts: 'all' or a least number of nights with a detection in our data (e.g. '5' = five or more)","default":"all","title":"Nights"},"description":"History cut from manifest.nights_cuts: 'all' or a least number of nights with a detection in our data (e.g. '5' = five or more)"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Density"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/clusters":{"get":{"tags":["map"],"summary":"Clusters","operationId":"clusters_clusters_get","parameters":[{"name":"parents","in":"query","required":true,"schema":{"type":"string","description":"Comma-separated order-4 HEALPix pixels (nested)","title":"Parents"},"description":"Comma-separated order-4 HEALPix pixels (nested)"},{"name":"window","in":"query","required":false,"schema":{"type":"string","description":"1d | 7d | 1M | 3M | 6M | 1Y, ending at manifest.last_night","default":"7d","title":"Window"},"description":"1d | 7d | 1M | 3M | 6M | 1Y, ending at manifest.last_night"},{"name":"bucket","in":"query","required":false,"schema":{"type":"string","description":"Class bucket, 'all', or 'non_sso' (every bucket but sso)","default":"all","title":"Bucket"},"description":"Class bucket, 'all', or 'non_sso' (every bucket but sso)"},{"name":"survey","in":"query","required":false,"schema":{"type":"string","description":"A source (lsst, ztf: alert surveys; tns: TNS objects) or all","default":"all","title":"Survey"},"description":"A source (lsst, ztf: alert surveys; tns: TNS objects) or all"},{"name":"measure","in":"query","required":false,"schema":{"type":"string","description":"active (detection in window) | new (first detection in window)","default":"active","title":"Measure"},"description":"active (detection in window) | new (first detection in window)"},{"name":"mag","in":"query","required":false,"schema":{"type":"string","description":"Brightness cut from manifest.mag_cuts: 'all' or an AB magnitude limit on the latest detection (e.g. '18' = 18 or brighter)","default":"all","title":"Mag"},"description":"Brightness cut from manifest.mag_cuts: 'all' or an AB magnitude limit on the latest detection (e.g. '18' = 18 or brighter)"},{"name":"nights","in":"query","required":false,"schema":{"type":"string","description":"History cut from manifest.nights_cuts: 'all' or a least number of nights with a detection in our data (e.g. '5' = five or more)","default":"all","title":"Nights"},"description":"History cut from manifest.nights_cuts: 'all' or a least number of nights with a detection in our data (e.g. '5' = five or more)"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Clusters"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/objects":{"get":{"tags":["map"],"summary":"Objects","description":"The objects the heatmap counts inside a cone: the deep-zoom markers (design §3.2).\nBrightest first; `truncated` says the limit cut the list.","operationId":"objects_objects_get","parameters":[{"name":"ra","in":"query","required":true,"schema":{"type":"number","maximum":360,"minimum":0,"description":"Cone centre RA, degrees","title":"Ra"},"description":"Cone centre RA, degrees"},{"name":"dec","in":"query","required":true,"schema":{"type":"number","maximum":90,"minimum":-90,"description":"Cone centre Dec, degrees","title":"Dec"},"description":"Cone centre Dec, degrees"},{"name":"radius","in":"query","required":true,"schema":{"type":"number","maximum":2700.0,"exclusiveMinimum":0,"description":"Cone radius, arcsec","title":"Radius"},"description":"Cone radius, arcsec"},{"name":"window","in":"query","required":false,"schema":{"type":"string","description":"1d | 7d | 1M | 3M | 6M | 1Y, ending at manifest.last_night","default":"7d","title":"Window"},"description":"1d | 7d | 1M | 3M | 6M | 1Y, ending at manifest.last_night"},{"name":"bucket","in":"query","required":false,"schema":{"type":"string","description":"Class bucket, 'all', or 'non_sso' (every bucket but sso)","default":"all","title":"Bucket"},"description":"Class bucket, 'all', or 'non_sso' (every bucket but sso)"},{"name":"survey","in":"query","required":false,"schema":{"type":"string","description":"A source (lsst, ztf: alert surveys; tns: TNS objects) or all","default":"all","title":"Survey"},"description":"A source (lsst, ztf: alert surveys; tns: TNS objects) or all"},{"name":"measure","in":"query","required":false,"schema":{"type":"string","description":"active (detection in window) | new (first detection in window)","default":"active","title":"Measure"},"description":"active (detection in window) | new (first detection in window)"},{"name":"mag","in":"query","required":false,"schema":{"type":"string","description":"Brightness cut from manifest.mag_cuts: 'all' or an AB magnitude limit on the latest detection (e.g. '18' = 18 or brighter)","default":"all","title":"Mag"},"description":"Brightness cut from manifest.mag_cuts: 'all' or an AB magnitude limit on the latest detection (e.g. '18' = 18 or brighter)"},{"name":"nights","in":"query","required":false,"schema":{"type":"string","description":"History cut from manifest.nights_cuts: 'all' or a least number of nights with a detection in our data (e.g. '5' = five or more)","default":"all","title":"Nights"},"description":"History cut from manifest.nights_cuts: 'all' or a least number of nights with a detection in our data (e.g. '5' = five or more)"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":5000,"minimum":1,"default":2000,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SkyObjects"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/object/{survey}/{object_id}":{"get":{"tags":["objects"],"summary":"Object ","operationId":"object__object__survey___object_id__get","parameters":[{"name":"survey","in":"path","required":true,"schema":{"type":"string","title":"Survey"}},{"name":"object_id","in":"path","required":true,"schema":{"type":"string","title":"Object Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObjectRow"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/object/{survey}/{object_id}/detections":{"get":{"tags":["objects"],"summary":"Detections","description":"A report source's object's detections and non-detections (5σ limits), oldest first.\nAlert surveys' are Fink's to serve (404 here).","operationId":"detections_object__survey___object_id__detections_get","parameters":[{"name":"survey","in":"path","required":true,"schema":{"type":"string","title":"Survey"}},{"name":"object_id","in":"path","required":true,"schema":{"type":"string","title":"Object Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Detections"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/table":{"get":{"tags":["objects"],"summary":"Table","description":"A sorted page of the objects the heatmap counts under the same filters, plus the\nbroker label, TNS type, region, magnitude-limit, amplitude, place and site filters, and\nthe exact total.\n\nA site (lat, lon, from, to; all or none) keeps the objects above ``alt`` for at least\n``hours`` in the window, and fills ``hours_up``, ``max_alt`` and ``best_mjd``. The web\ncomputes the dark window (design §8.3).","operationId":"table_table_get","parameters":[{"name":"window","in":"query","required":false,"schema":{"type":"string","description":"1d | 7d | 1M | 3M | 6M | 1Y, ending at manifest.last_night","default":"7d","title":"Window"},"description":"1d | 7d | 1M | 3M | 6M | 1Y, ending at manifest.last_night"},{"name":"bucket","in":"query","required":false,"schema":{"type":"string","description":"Class bucket, 'all', or 'non_sso' (every bucket but sso)","default":"all","title":"Bucket"},"description":"Class bucket, 'all', or 'non_sso' (every bucket but sso)"},{"name":"survey","in":"query","required":false,"schema":{"type":"string","description":"A source (lsst, ztf: alert surveys; tns: TNS objects) or all","default":"all","title":"Survey"},"description":"A source (lsst, ztf: alert surveys; tns: TNS objects) or all"},{"name":"measure","in":"query","required":false,"schema":{"type":"string","description":"active (detection in window) | new (first detection in window)","default":"active","title":"Measure"},"description":"active (detection in window) | new (first detection in window)"},{"name":"mag","in":"query","required":false,"schema":{"type":"string","description":"Brightness cut from manifest.mag_cuts: 'all' or an AB magnitude limit on the latest detection (e.g. '18' = 18 or brighter)","default":"all","title":"Mag"},"description":"Brightness cut from manifest.mag_cuts: 'all' or an AB magnitude limit on the latest detection (e.g. '18' = 18 or brighter)"},{"name":"nights","in":"query","required":false,"schema":{"type":"string","description":"History cut from manifest.nights_cuts: 'all' or a least number of nights with a detection in our data (e.g. '5' = five or more)","default":"all","title":"Nights"},"description":"History cut from manifest.nights_cuts: 'all' or a least number of nights with a detection in our data (e.g. '5' = five or more)"},{"name":"label","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Broker label (SIMBAD short codes are accepted)","title":"Label"},"description":"Broker label (SIMBAD short codes are accepted)"},{"name":"tns","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"TNS type, or 'any' for any type","title":"Tns"},"description":"TNS type, or 'any' for any type"},{"name":"ra","in":"query","required":false,"schema":{"anyOf":[{"type":"number","maximum":360,"minimum":0},{"type":"null"}],"description":"Region centre RA","title":"Ra"},"description":"Region centre RA"},{"name":"dec","in":"query","required":false,"schema":{"anyOf":[{"type":"number","maximum":90,"minimum":-90},{"type":"null"}],"description":"Region centre Dec","title":"Dec"},"description":"Region centre Dec"},{"name":"radius","in":"query","required":false,"schema":{"anyOf":[{"type":"number","maximum":36000.0,"exclusiveMinimum":0},{"type":"null"}],"description":"Region radius, arcsec","title":"Radius"},"description":"Region radius, arcsec"},{"name":"lat","in":"query","required":false,"schema":{"anyOf":[{"type":"number","maximum":89.0,"minimum":-89.0},{"type":"null"}],"description":"Site latitude, degrees","title":"Lat"},"description":"Site latitude, degrees"},{"name":"lon","in":"query","required":false,"schema":{"anyOf":[{"type":"number","maximum":360,"minimum":-180},{"type":"null"}],"description":"Site east longitude, degrees","title":"Lon"},"description":"Site east longitude, degrees"},{"name":"from","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Window start (MJD, UTC)","title":"From"},"description":"Window start (MJD, UTC)"},{"name":"to","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Window end (MJD, UTC), at most 0.9 d after from","title":"To"},"description":"Window end (MJD, UTC), at most 0.9 d after from"},{"name":"alt","in":"query","required":false,"schema":{"type":"number","maximum":85.0,"minimum":0,"description":"Least altitude above the horizon","default":30.0,"title":"Alt"},"description":"Least altitude above the horizon"},{"name":"hours","in":"query","required":false,"schema":{"type":"number","maximum":21.6,"minimum":0,"description":"Least hours up in the window","default":0.0,"title":"Hours"},"description":"Least hours up in the window"},{"name":"mag_max","in":"query","required":false,"schema":{"anyOf":[{"type":"number","maximum":30,"minimum":5},{"type":"null"}],"description":"Faintest latest magnitude (table-only)","title":"Mag Max"},"description":"Faintest latest magnitude (table-only)"},{"name":"amp_min","in":"query","required":false,"schema":{"anyOf":[{"type":"number","maximum":10,"minimum":-10},{"type":"null"}],"description":"Least amplitude: magnitudes brighter than the reference source (table-only; objects without one are left out)","title":"Amp Min"},"description":"Least amplitude: magnitudes brighter than the reference source (table-only; objects without one are left out)"},{"name":"place","in":"query","required":false,"schema":{"anyOf":[{"enum":["plane","off_plane","m31","m33","m81","lmc","smc","galaxies"],"type":"string"},{"type":"null"}],"description":"Where: a nearby galaxy (m31, m33, m81, lmc, smc, or galaxies for any), the galactic plane (|b| <= 20 deg) or off_plane (table-only)","title":"Place"},"description":"Where: a nearby galaxy (m31, m33, m81, lmc, smc, or galaxies for any), the galactic plane (|b| <= 20 deg) or off_plane (table-only)"},{"name":"sort","in":"query","required":false,"schema":{"enum":["last_mjd","first_mjd","last_mag","peak_mag","n_nights","n_sources","reliability_max","class_score","amplitude","dist","best","hours","alt"],"type":"string","description":"dist needs a region; best, hours and alt a site","default":"last_mjd","title":"Sort"},"description":"dist needs a region; best, hours and alt a site"},{"name":"desc","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Desc"}},{"name":"group","in":"query","required":false,"schema":{"anyOf":[{"enum":["sn","nova","nova_local","outburst","other","new","agn_flare","agn","eruptive","var"],"type":"string"},{"type":"null"}],"description":"A /tonight group (table-only; no asteroids or low reliability)","title":"Group"},"description":"A /tonight group (table-only; no asteroids or low reliability)"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"description":"At most 100, or 500 with a group","default":50,"title":"Limit"},"description":"At most 100, or 500 with a group"},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","maximum":10000,"minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Table"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/stats":{"get":{"tags":["build"],"summary":"Stats","description":"The dashboard's slice of stats.json: the window's numbers and each selected\nsource's nightly series.","operationId":"stats_stats_get","parameters":[{"name":"window","in":"query","required":false,"schema":{"type":"string","description":"1d | 7d | 1M | 3M | 6M | 1Y, ending at manifest.last_night","default":"7d","title":"Window"},"description":"1d | 7d | 1M | 3M | 6M | 1Y, ending at manifest.last_night"},{"name":"survey","in":"query","required":false,"schema":{"type":"string","description":"A source (lsst, ztf: alert surveys; tns: TNS objects) or all","default":"all","title":"Survey"},"description":"A source (lsst, ztf: alert surveys; tns: TNS objects) or all"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Stats"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/labels":{"get":{"tags":["build"],"summary":"Labels","description":"Broker labels and TNS types with their active and new counts, most active first.","operationId":"labels_labels_get","parameters":[{"name":"window","in":"query","required":false,"schema":{"type":"string","description":"1d | 7d | 1M | 3M | 6M | 1Y, ending at manifest.last_night","default":"7d","title":"Window"},"description":"1d | 7d | 1M | 3M | 6M | 1Y, ending at manifest.last_night"},{"name":"survey","in":"query","required":false,"schema":{"type":"string","description":"A source (lsst, ztf: alert surveys; tns: TNS objects) or all","default":"all","title":"Survey"},"description":"A source (lsst, ztf: alert surveys; tns: TNS objects) or all"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Labels"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/search/objects":{"get":{"tags":["objects"],"summary":"Search Objects","description":"Up to 8 objects: an id prefix in either survey, or an exact TNS name.","operationId":"search_objects_search_objects_get","parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string","maxLength":64,"description":"Object id prefix or TNS name","title":"Q"},"description":"Object id prefix or TNS name"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchResults"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"Cluster":{"properties":{"ipix8":{"type":"integer","title":"Ipix8"},"ra":{"type":"number","title":"Ra","description":"Centroid of the members, degrees (cell centre for a pre-v2 build)"},"dec":{"type":"number","title":"Dec","description":"Centroid of the members, degrees (cell centre for a pre-v2 build)"},"count":{"type":"integer","title":"Count","description":"Objects in the window under the measure (design §4.5)"},"dominant_bucket":{"type":"string","title":"Dominant Bucket"},"newest_mjd":{"type":"number","title":"Newest Mjd"},"top3":{"items":{"$ref":"#/components/schemas/ClusterMember"},"type":"array","title":"Top3","description":"Brightest members by peak flux"}},"type":"object","required":["ipix8","ra","dec","count","dominant_bucket","newest_mjd","top3"],"title":"Cluster"},"ClusterMember":{"properties":{"survey":{"type":"string","enum":["lsst","ztf","tns","cbat"],"title":"Survey"},"object_id":{"type":"string","title":"Object Id"},"ra":{"type":"number","title":"Ra"},"dec":{"type":"number","title":"Dec"},"peak_flux":{"type":"number","title":"Peak Flux"}},"type":"object","required":["survey","object_id","ra","dec","peak_flux"],"title":"ClusterMember"},"Clusters":{"properties":{"order":{"type":"integer","title":"Order","default":8},"window":{"type":"string","enum":["1d","7d","1M","3M","6M","1Y"],"title":"Window"},"measure":{"type":"string","enum":["active","new"],"title":"Measure","description":"active: last detection in the window; new: first"},"bucket":{"type":"string","title":"Bucket"},"survey":{"type":"string","enum":["lsst","ztf","tns","cbat","all"],"title":"Survey"},"mag":{"type":"string","title":"Mag","description":"Brightness cut applied (manifest.mag_cuts)","default":"all"},"nights":{"type":"string","title":"Nights","description":"History cut applied (manifest.nights_cuts)","default":"all"},"parents":{"items":{"type":"integer"},"type":"array","title":"Parents"},"clusters":{"items":{"$ref":"#/components/schemas/Cluster"},"type":"array","title":"Clusters"}},"type":"object","required":["window","measure","bucket","survey","parents","clusters"],"title":"Clusters"},"Density":{"properties":{"order":{"type":"integer","title":"Order","description":"HEALPix order of the returned pixels (8 or 10)"},"window":{"type":"string","enum":["1d","7d","1M","3M","6M","1Y"],"title":"Window"},"measure":{"type":"string","enum":["active","new"],"title":"Measure","description":"active: objects with a detection in the window; new: objects whose first detection is in the window"},"bucket":{"type":"string","title":"Bucket"},"survey":{"type":"string","enum":["lsst","ztf","tns","cbat","all"],"title":"Survey"},"mag":{"type":"string","title":"Mag","description":"Brightness cut applied (manifest.mag_cuts)","default":"all"},"nights":{"type":"string","title":"Nights","description":"History cut applied (manifest.nights_cuts)","default":"all"},"parents":{"items":{"type":"integer"},"type":"array","title":"Parents","description":"Order-4 parents that were queried"},"pixels":{"items":{"prefixItems":[{"type":"integer"},{"type":"integer"}],"type":"array","maxItems":2,"minItems":2},"type":"array","title":"Pixels","description":"Sparse [ipix, n_objects] pairs, nested scheme"}},"type":"object","required":["order","window","measure","bucket","survey","parents","pixels"],"title":"Density"},"Detection":{"properties":{"mjd":{"type":"number","title":"Mjd"},"band":{"type":"string","title":"Band","description":"The band (ATLAS o and c, GOTO L, clear, V, r, ...)"},"flux":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Flux","description":"nJy (AB), positive for a reported magnitude"},"flux_err":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Flux Err"},"mag":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Mag","description":"AB magnitude: a Vega one converted by its band's offset (build v21)"},"mag_err":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Mag Err"},"origin":{"type":"string","enum":["tns","cbat","atlas"],"title":"Origin","description":"Who measured it: tns or cbat, the report's own magnitude; atlas, ATLAS forced photometry of the difference images (signed)"},"filter":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Filter","description":"The filter as reported (cyan-ATLAS, L-GOTO, V-Johnson)"},"mag_system":{"anyOf":[{"type":"string","enum":["AB","Vega"]},{"type":"null"}],"title":"Mag System","description":"The system it was reported in; null when not given"},"approx":{"type":"boolean","title":"Approx","description":"A Vega magnitude in a band without an AB offset (unfiltered, G): taken as AB","default":false},"lim_mag":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lim Mag","description":"The image's limiting magnitude (AB), when reported"},"instrument":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Instrument"},"telescope":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Telescope"}},"type":"object","required":["mjd","band","flux","flux_err","mag","mag_err","origin"],"title":"Detection"},"Detections":{"properties":{"survey":{"type":"string","enum":["lsst","ztf","tns","cbat"],"title":"Survey"},"object_id":{"type":"string","title":"Object Id"},"detections":{"items":{"$ref":"#/components/schemas/Detection"},"type":"array","title":"Detections","description":"Oldest first"},"limits":{"items":{"$ref":"#/components/schemas/Limit"},"type":"array","title":"Limits","description":"Non-detections, oldest first (build v21+)"}},"type":"object","required":["survey","object_id","detections"],"title":"Detections","description":"A report object's detections and non-detections (design §6); alert surveys' are\nFink's."},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"HotSpot":{"properties":{"ipix6":{"type":"integer","title":"Ipix6"},"ra":{"type":"number","title":"Ra"},"dec":{"type":"number","title":"Dec"},"n_new":{"type":"integer","title":"N New","description":"New objects other than asteroids in the order-6 cell"},"field":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Field","description":"Nearest named field within 2 degrees"}},"type":"object","required":["ipix6","ra","dec","n_new","field"],"title":"HotSpot"},"LabelCount":{"properties":{"label":{"type":"string","title":"Label"},"active":{"type":"integer","title":"Active"},"new":{"type":"integer","title":"New"}},"type":"object","required":["label","active","new"],"title":"LabelCount"},"Labels":{"properties":{"window":{"type":"string","enum":["1d","7d","1M","3M","6M","1Y"],"title":"Window"},"survey":{"type":"string","enum":["lsst","ztf","tns","cbat","all"],"title":"Survey"},"labels":{"items":{"$ref":"#/components/schemas/LabelCount"},"type":"array","title":"Labels"},"tns_types":{"items":{"$ref":"#/components/schemas/TnsTypeCount"},"type":"array","title":"Tns Types"}},"type":"object","required":["window","survey","labels","tns_types"],"title":"Labels"},"Limit":{"properties":{"mjd":{"type":"number","title":"Mjd"},"band":{"type":"string","title":"Band"},"lim_mag":{"type":"number","title":"Lim Mag","description":"AB limiting magnitude: TNS's as reported, ATLAS's 5σ"},"flux":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Flux","description":"nJy: ATLAS's measured difference flux, when any"},"flux_err":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Flux Err"},"origin":{"type":"string","enum":["tns","cbat","atlas"],"title":"Origin","description":"Who measured it: tns or cbat, the report's own magnitude; atlas, ATLAS forced photometry of the difference images (signed)"},"remark":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Remark","description":"As reported (\"[Last non detection]\")"},"filter":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Filter"},"mag_system":{"anyOf":[{"type":"string","enum":["AB","Vega"]},{"type":"null"}],"title":"Mag System"},"instrument":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Instrument"},"telescope":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Telescope"}},"type":"object","required":["mjd","band","lim_mag","flux","flux_err","origin","remark"],"title":"Limit","description":"A non-detection: never a detection, it counts toward no night or window."},"MagBin":{"properties":{"mag":{"type":"number","title":"Mag","description":"Lower edge of a 0.5 mag bin of the latest magnitude"},"n":{"type":"integer","title":"N"}},"type":"object","required":["mag","n"],"title":"MagBin"},"Manifest":{"properties":{"generated_at":{"type":"string","title":"Generated At"},"source":{"type":"string","title":"Source"},"first_night":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"First Night","description":"None until the first night is ingested"},"last_night":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Last Night"},"last_night_by_survey":{"additionalProperties":{"type":"integer"},"type":"object","title":"Last Night By Survey","description":"Each source's newest night with a detection (build v15: every source)"},"nights":{"items":{"type":"integer"},"type":"array","title":"Nights","description":"Nights with alerts, ascending"},"surveys":{"items":{"type":"string"},"type":"array","title":"Surveys","description":"Every source of objects (build v15+)"},"alert_surveys":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Alert Surveys","description":"The sources whose detections are alerts (build v15+)"},"windows":{"items":{"type":"string"},"type":"array","title":"Windows"},"window_cutoffs":{"additionalProperties":{"type":"integer"},"type":"object","title":"Window Cutoffs","description":"Earliest night (YYYYMMDD) in each window, ending at last_night"},"measures":{"items":{"type":"string"},"type":"array","title":"Measures"},"measure_default":{"type":"string","title":"Measure Default"},"mag_cuts":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"number"},{"type":"null"}]},"type":"object"},{"type":"null"}],"title":"Mag Cuts","description":"Brightness cuts: name -> AB magnitude limit (null = all)"},"mag_default":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mag Default"},"nights_cuts":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"integer"},{"type":"null"}]},"type":"object"},{"type":"null"}],"title":"Nights Cuts","description":"History cuts: name -> least nights with a detection (null = all)"},"nights_default":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nights Default"},"buckets":{"items":{"type":"string"},"type":"array","title":"Buckets"},"bucket_selectors":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Bucket Selectors","description":"Selectors besides the buckets: 'all', 'non_sso' (every bucket but sso). Build v9+"},"bucket_mapping_version":{"type":"integer","title":"Bucket Mapping Version"},"build_version":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Build Version","description":"Format of the derived tables"},"orders":{"additionalProperties":{"anyOf":[{"type":"integer"},{"items":{"type":"integer"},"type":"array"}]},"type":"object","title":"Orders"},"tile_path_template":{"type":"string","title":"Tile Path Template"},"tile_format":{"additionalProperties":{"type":"string"},"type":"object","title":"Tile Format"},"counts":{"additionalProperties":{"anyOf":[{"type":"integer"},{"additionalProperties":{"type":"integer"},"type":"object"}]},"type":"object","title":"Counts"},"tns_catalog":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"object"},{"type":"null"}],"title":"Tns Catalog","description":"The TNS catalog the build matched against: stamp, last delta, objects (build v11+; null without a catalog)"}},"additionalProperties":true,"type":"object","required":["generated_at","source","first_night","last_night","last_night_by_survey","nights","surveys","windows","window_cutoffs","measures","measure_default","buckets","bucket_mapping_version","orders","tile_path_template","tile_format","counts"],"title":"Manifest"},"Nightly":{"properties":{"nights":{"items":{"type":"integer"},"type":"array","title":"Nights","description":"Every night from the first ingested one, no gaps"},"lsst":{"anyOf":[{"$ref":"#/components/schemas/SurveyNightly"},{"type":"null"}]},"ztf":{"anyOf":[{"$ref":"#/components/schemas/SurveyNightly"},{"type":"null"}]},"tns":{"anyOf":[{"$ref":"#/components/schemas/SurveyNightly"},{"type":"null"}]},"cbat":{"anyOf":[{"$ref":"#/components/schemas/SurveyNightly"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["nights"],"title":"Nightly"},"ObjectRow":{"properties":{"survey":{"type":"string","enum":["lsst","ztf","tns","cbat"],"title":"Survey"},"object_id":{"type":"string","title":"Object Id"},"ra":{"type":"number","title":"Ra"},"dec":{"type":"number","title":"Dec"},"ipix10":{"type":"integer","title":"Ipix10"},"first_mjd":{"type":"number","title":"First Mjd"},"last_mjd":{"type":"number","title":"Last Mjd"},"first_night":{"type":"integer","title":"First Night"},"last_night":{"type":"integer","title":"Last Night"},"n_sources":{"type":"integer","title":"N Sources","description":"Detections: alerts, or a report source's reports"},"last_band":{"type":"string","title":"Last Band"},"last_flux":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Last Flux","description":"Signed difference flux of the latest detection, nJy (a report's magnitude as a positive flux; null for a report without one)"},"peak_flux":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Peak Flux","description":"Brightest positive difference flux, nJy; null without one (build v14+)"},"reliability_max":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Reliability Max","description":"Null for a report source's object"},"class_bucket":{"type":"string","title":"Class Bucket"},"last_mag":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Last Mag","description":"AB magnitude of the latest detection when its difference flux was positive (brighter than the reference); null when it was negative (last_faded) or before build v3"},"last_faded":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Last Faded","description":"The latest detection was a negative difference: the source was fainter than in the reference image (build v14+)"},"ref_mag":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Ref Mag","description":"AB magnitude of the static source under the position in the survey's reference (ZTF magnr within 1.5 px, Rubin templateFlux), from the latest alert; for display (build v14+)"},"seen_mag":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Seen Mag","description":"AB magnitude of the source as it looked in the latest alert (reference plus difference, Rubin scienceFlux); for display (build v14+)"},"discovered_night":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Discovered Night","description":"Night (YYYYMMDD) of TNS's discovery date for a catalog match, else first_night (build v14+)"},"n_nights":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"N Nights","description":"Nights with a detection in our data, build v5+"},"class_score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Class Score","description":"Null for a report source's object"},"is_sso":{"type":"boolean","title":"Is Sso"},"last_source_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Source Id","description":"Newest diaSourceId/candid as a string (int64 exceeds JS number precision); key for Fink cutouts. Null for a report source's object"},"partner":{"anyOf":[{"$ref":"#/components/schemas/PartnerRef"},{"type":"null"}],"description":"Cross-survey 1.5\" match, if any"},"class_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Class Label","description":"Label Fink sent with the latest alert, in SIMBAD's long names (build v10+); null for a TNS object"},"tns_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tns Type","description":"TNS type as matched when Fink processed the object's newest alert that had one; can be outdated (build v10+)"},"tns_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tns Name","description":"TNS name, e.g. 'SN 2026abc' (ZTF from the catalog, v11+)"},"tns_redshift":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Tns Redshift","description":"TNS redshift"},"tns_objid":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Tns Objid","description":"TNS object id (build v11+)"},"tns_discovery_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tns Discovery Date","description":"TNS discovery date (UTC)"},"tns_match":{"anyOf":[{"type":"string","enum":["name","position","alert","self"]},{"type":"null"}],"title":"Tns Match","description":"How the TNS values were found: the catalog by internal name or by position (1.5\"), or only the per-alert values Fink sent (build v11+); \"self\" for a TNS object (build v15+)"},"reported_by":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Reported By","description":"Surveys that reported the object to TNS, the discovering one first: its source group, then the surveys its internal names come from (build v15+); CBAT when a TOCP entry matched (v16+)"},"cbat_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cbat Name","description":"CBAT TOCP designation ('PNV J17452056-2544217'): a CBAT object's own, or a matched entry's (build v16+)"},"tns_host":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tns Host","description":"A TNS object's host galaxy, as TNS names it (build v17+)"},"tns_host_redshift":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Tns Host Redshift","description":"The host's redshift"},"peak_mag":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Peak Mag","description":"AB magnitude of the brightest positive detection (build v10+, positive only from v14)"},"notable":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Notable","description":"Has a TNS type or name, or is neither an asteroid nor low reliability and was detected on 2+ nights: indexed by search engines (build v10+)"}},"type":"object","required":["survey","object_id","ra","dec","ipix10","first_mjd","last_mjd","first_night","last_night","n_sources","last_band","last_flux","peak_flux","reliability_max","class_bucket","class_score","is_sso","last_source_id"],"title":"ObjectRow"},"PartnerRef":{"properties":{"survey":{"type":"string","enum":["lsst","ztf"],"title":"Survey"},"object_id":{"type":"string","title":"Object Id"}},"type":"object","required":["survey","object_id"],"title":"PartnerRef"},"SearchHit":{"properties":{"survey":{"type":"string","enum":["lsst","ztf","tns","cbat"],"title":"Survey"},"object_id":{"type":"string","title":"Object Id"},"ra":{"type":"number","title":"Ra"},"dec":{"type":"number","title":"Dec"},"class_bucket":{"type":"string","title":"Class Bucket"},"class_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Class Label"},"tns_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tns Type"},"tns_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tns Name"},"cbat_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cbat Name"},"last_night":{"type":"integer","title":"Last Night"},"match":{"type":"string","enum":["id","tns","cbat"],"title":"Match"}},"type":"object","required":["survey","object_id","ra","dec","class_bucket","class_label","tns_type","tns_name","last_night","match"],"title":"SearchHit"},"SearchResults":{"properties":{"q":{"type":"string","title":"Q"},"objects":{"items":{"$ref":"#/components/schemas/SearchHit"},"type":"array","title":"Objects","description":"At most 8: exact matches first"}},"type":"object","required":["q","objects"],"title":"SearchResults"},"SiteWindow":{"properties":{"lat":{"type":"number","title":"Lat"},"lon":{"type":"number","title":"Lon","description":"East longitude, degrees"},"from_mjd":{"type":"number","title":"From Mjd"},"to_mjd":{"type":"number","title":"To Mjd"},"alt":{"type":"number","title":"Alt","description":"Least altitude, degrees"},"hours":{"type":"number","title":"Hours","description":"Least hours up in the window"}},"type":"object","required":["lat","lon","from_mjd","to_mjd","alt","hours"],"title":"SiteWindow","description":"The site filter as applied (design §8.3)."},"SitemapObject":{"properties":{"survey":{"type":"string","enum":["lsst","ztf","tns","cbat"],"title":"Survey"},"object_id":{"type":"string","title":"Object Id"},"last_night":{"type":"integer","title":"Last Night"}},"type":"object","required":["survey","object_id","last_night"],"title":"SitemapObject"},"SitemapObjects":{"properties":{"page":{"type":"integer","title":"Page"},"pages":{"type":"integer","title":"Pages"},"per_page":{"type":"integer","title":"Per Page"},"total":{"type":"integer","title":"Total"},"objects":{"items":{"$ref":"#/components/schemas/SitemapObject"},"type":"array","title":"Objects"}},"type":"object","required":["page","pages","per_page","total","objects"],"title":"SitemapObjects"},"SkyObject":{"properties":{"survey":{"type":"string","enum":["lsst","ztf","tns","cbat"],"title":"Survey"},"object_id":{"type":"string","title":"Object Id"},"ra":{"type":"number","title":"Ra"},"dec":{"type":"number","title":"Dec"},"class_bucket":{"type":"string","title":"Class Bucket"},"class_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Class Label","description":"Broker label of the latest alert (build v10+)"},"tns_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tns Type","description":"TNS type, if any (build v10+)"},"last_mag":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Last Mag","description":"AB magnitude of the latest detection when positive; null when faded"},"first_mjd":{"type":"number","title":"First Mjd"},"last_mjd":{"type":"number","title":"Last Mjd"},"n_sources":{"type":"integer","title":"N Sources"},"n_nights":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"N Nights","description":"Nights with a detection in our data (build v5+)"},"reliability_max":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Reliability Max","description":"Null for a report source's object"},"class_score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Class Score","description":"Null for a report source's object"},"is_sso":{"type":"boolean","title":"Is Sso"},"last_source_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Source Id","description":"Null for a report source's object"}},"type":"object","required":["survey","object_id","ra","dec","class_bucket","last_mag","first_mjd","last_mjd","n_sources","n_nights","reliability_max","class_score","is_sso","last_source_id"],"title":"SkyObject","description":"One deep-zoom marker: the object as our table knows it (design §3.2)."},"SkyObjects":{"properties":{"window":{"type":"string","enum":["1d","7d","1M","3M","6M","1Y"],"title":"Window"},"measure":{"type":"string","enum":["active","new"],"title":"Measure"},"bucket":{"type":"string","title":"Bucket"},"survey":{"type":"string","enum":["lsst","ztf","tns","cbat","all"],"title":"Survey"},"mag":{"type":"string","title":"Mag"},"nights":{"type":"string","title":"Nights","default":"all"},"ra":{"type":"number","title":"Ra"},"dec":{"type":"number","title":"Dec"},"radius_arcsec":{"type":"number","title":"Radius Arcsec"},"truncated":{"type":"boolean","title":"Truncated","description":"True when more objects matched than `limit`"},"objects":{"items":{"$ref":"#/components/schemas/SkyObject"},"type":"array","title":"Objects","description":"Brightest first"}},"type":"object","required":["window","measure","bucket","survey","mag","ra","dec","radius_arcsec","truncated","objects"],"title":"SkyObjects"},"Stats":{"properties":{"generated_at":{"type":"string","title":"Generated At"},"window":{"type":"string","enum":["1d","7d","1M","3M","6M","1Y"],"title":"Window"},"survey":{"type":"string","enum":["lsst","ztf","tns","cbat","all"],"title":"Survey"},"first_night":{"type":"integer","title":"First Night"},"last_night":{"type":"integer","title":"Last Night"},"last_night_by_survey":{"additionalProperties":{"type":"integer"},"type":"object","title":"Last Night By Survey"},"buckets":{"items":{"type":"string"},"type":"array","title":"Buckets"},"nightly":{"$ref":"#/components/schemas/Nightly","description":"Only the selected survey(s)"},"stats":{"$ref":"#/components/schemas/WindowStats"}},"type":"object","required":["generated_at","window","survey","first_night","last_night","last_night_by_survey","buckets","nightly","stats"],"title":"Stats","description":"The dashboard's slice of stats.json for one window and survey selection."},"SurveyNightly":{"properties":{"alerts":{"additionalProperties":{"items":{"type":"integer"},"type":"array"},"type":"object","title":"Alerts","description":"Detections per night: an alert survey's alerts by the alert's bucket, a report source's reports by the object's bucket"},"new":{"additionalProperties":{"items":{"type":"integer"},"type":"array"},"type":"object","title":"New","description":"Objects first detected per night, by bucket"}},"type":"object","required":["alerts","new"],"title":"SurveyNightly"},"Table":{"properties":{"window":{"type":"string","enum":["1d","7d","1M","3M","6M","1Y"],"title":"Window"},"measure":{"type":"string","enum":["active","new"],"title":"Measure"},"survey":{"type":"string","enum":["lsst","ztf","tns","cbat","all"],"title":"Survey"},"bucket":{"type":"string","title":"Bucket"},"mag":{"type":"string","title":"Mag"},"nights":{"type":"string","title":"Nights"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Label","description":"Broker label filter, as normalized"},"tns":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tns","description":"TNS type filter, or 'any'"},"site":{"anyOf":[{"$ref":"#/components/schemas/SiteWindow"},{"type":"null"}],"description":"The site filter, if any"},"mag_max":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Mag Max","description":"Faintest latest magnitude, if any"},"amp_min":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Amp Min","description":"Least amplitude, if any"},"place":{"anyOf":[{"type":"string","enum":["plane","off_plane","m31","m33","m81","lmc","smc","galaxies"]},{"type":"null"}],"title":"Place","description":"Place filter, if any"},"group":{"anyOf":[{"type":"string","enum":["sn","nova","nova_local","outburst","other","new","agn_flare","agn","eruptive","var"]},{"type":"null"}],"title":"Group","description":"The /tonight group, if any"},"ra":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Ra"},"dec":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Dec"},"radius_arcsec":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Radius Arcsec"},"sort":{"type":"string","enum":["last_mjd","first_mjd","last_mag","peak_mag","n_nights","n_sources","reliability_max","class_score","amplitude","dist","best","hours","alt"],"title":"Sort"},"desc":{"type":"boolean","title":"Desc"},"limit":{"type":"integer","title":"Limit"},"offset":{"type":"integer","title":"Offset"},"total":{"type":"integer","title":"Total","description":"Objects matching the filters (exact)"},"rows":{"items":{"$ref":"#/components/schemas/TableRow"},"type":"array","title":"Rows"},"data_through":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Data Through","description":"The data's last night (YYYY-MM-DD, UTC), as X-Data-Through"},"generated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Generated At","description":"When the build ran (the manifest's), as X-Build"}},"type":"object","required":["window","measure","survey","bucket","mag","nights","label","tns","ra","dec","radius_arcsec","sort","desc","limit","offset","total","rows"],"title":"Table"},"TableRow":{"properties":{"survey":{"type":"string","enum":["lsst","ztf","tns","cbat"],"title":"Survey"},"object_id":{"type":"string","title":"Object Id"},"ra":{"type":"number","title":"Ra"},"dec":{"type":"number","title":"Dec"},"class_bucket":{"type":"string","title":"Class Bucket"},"class_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Class Label"},"tns_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tns Type"},"tns_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tns Name"},"tns_match":{"anyOf":[{"type":"string","enum":["name","position","alert","self"]},{"type":"null"}],"title":"Tns Match"},"cbat_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cbat Name","description":"CBAT TOCP designation (v16+)"},"last_mag":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Last Mag","description":"Latest detection's AB magnitude when positive; null when faded"},"last_faded":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Last Faded","description":"The latest detection was negative (v14+)"},"ref_mag":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Ref Mag","description":"The reference source's AB magnitude (v14+)"},"seen_mag":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Seen Mag","description":"The source as seen, AB magnitude (v14+)"},"amplitude":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Amplitude","description":"Magnitudes brighter than the reference source (ref_mag - seen_mag; negative when fainter); null without a reference source brighter than 23"},"place":{"anyOf":[{"type":"string","enum":["plane","off_plane","m31","m33","m81","lmc","smc"]},{"type":"null"}],"title":"Place","description":"A nearby galaxy the object lies in (M31, M33, M81, LMC, SMC), else the galactic plane (|b| <= 20 deg) or off it; by position only"},"last_band":{"type":"string","title":"Last Band"},"peak_mag":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Peak Mag"},"discovered_night":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Discovered Night","description":"TNS's discovery night for a catalog match, else first_night (v14+)"},"first_mjd":{"type":"number","title":"First Mjd"},"last_mjd":{"type":"number","title":"Last Mjd"},"first_night":{"type":"integer","title":"First Night"},"last_night":{"type":"integer","title":"Last Night"},"n_nights":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"N Nights"},"n_sources":{"type":"integer","title":"N Sources"},"reliability_max":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Reliability Max"},"class_score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Class Score"},"is_sso":{"type":"boolean","title":"Is Sso"},"partner":{"anyOf":[{"$ref":"#/components/schemas/PartnerRef"},{"type":"null"}]},"dist_arcsec":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Dist Arcsec","description":"Distance from the region's centre, if any"},"hours_up":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Hours Up","description":"Hours above the least altitude in the site's window"},"max_alt":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max Alt","description":"Highest altitude in the window, degrees (no refraction)"},"best_mjd":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Best Mjd","description":"When the object is highest in the window (MJD, UTC)"}},"type":"object","required":["survey","object_id","ra","dec","class_bucket","class_label","tns_type","tns_name","tns_match","last_mag","last_faded","ref_mag","seen_mag","last_band","peak_mag","discovered_night","first_mjd","last_mjd","first_night","last_night","n_nights","n_sources","reliability_max","class_score","is_sso","partner","dist_arcsec"],"title":"TableRow"},"TnsTypeCount":{"properties":{"type":{"type":"string","title":"Type"},"active":{"type":"integer","title":"Active"},"new":{"type":"integer","title":"New"}},"type":"object","required":["type","active","new"],"title":"TnsTypeCount"},"TopLists":{"properties":{"sn_candidates":{"items":{"$ref":"#/components/schemas/TopRow"},"type":"array","title":"Sn Candidates","description":"Brightest new SN candidates (peak)"},"tns":{"items":{"$ref":"#/components/schemas/TopRow"},"type":"array","title":"Tns","description":"TNS-typed objects active in the window, newest first"},"most_observed":{"items":{"$ref":"#/components/schemas/TopRow"},"type":"array","title":"Most Observed","description":"New objects on the most nights"}},"type":"object","required":["sn_candidates","tns","most_observed"],"title":"TopLists"},"TopRow":{"properties":{"survey":{"type":"string","enum":["lsst","ztf","tns","cbat"],"title":"Survey"},"object_id":{"type":"string","title":"Object Id"},"ra":{"type":"number","title":"Ra"},"dec":{"type":"number","title":"Dec"},"class_bucket":{"type":"string","title":"Class Bucket"},"class_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Class Label"},"tns_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tns Type"},"tns_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tns Name"},"last_mag":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Last Mag"},"peak_mag":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Peak Mag"},"last_band":{"type":"string","title":"Last Band"},"first_night":{"type":"integer","title":"First Night"},"last_night":{"type":"integer","title":"Last Night"},"n_nights":{"type":"integer","title":"N Nights"},"n_sources":{"type":"integer","title":"N Sources"}},"type":"object","required":["survey","object_id","ra","dec","class_bucket","class_label","tns_type","tns_name","last_mag","peak_mag","last_band","first_night","last_night","n_nights","n_sources"],"title":"TopRow"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"WindowStats":{"properties":{"cutoff":{"type":"integer","title":"Cutoff","description":"First night of the window"},"active":{"additionalProperties":{"type":"integer"},"type":"object","title":"Active","description":"Objects seen in the window, per bucket/selector"},"new":{"additionalProperties":{"type":"integer"},"type":"object","title":"New","description":"Objects first detected in it, per bucket/selector"},"sn_new_2plus":{"type":"integer","title":"Sn New 2Plus","description":"New SN candidates detected on 2+ nights"},"active_with_partner":{"type":"integer","title":"Active With Partner","description":"Active objects with a cross-survey match"},"labels":{"items":{"$ref":"#/components/schemas/LabelCount"},"type":"array","title":"Labels","description":"Broker labels, most active first"},"tns_types":{"items":{"$ref":"#/components/schemas/TnsTypeCount"},"type":"array","title":"Tns Types"},"new_mag_hist":{"items":{"$ref":"#/components/schemas/MagBin"},"type":"array","title":"New Mag Hist","description":"Latest magnitude of new objects"},"hot_spots":{"items":{"$ref":"#/components/schemas/HotSpot"},"type":"array","title":"Hot Spots"},"top":{"$ref":"#/components/schemas/TopLists"}},"type":"object","required":["cutoff","active","new","sn_new_2plus","active_with_partner","labels","tns_types","new_mag_hist","hot_spots","top"],"title":"WindowStats"}}},"tags":[{"name":"objects","description":"The objects table, one object, its detections, search"},{"name":"map","description":"The sky map's layers: density, cluster badges, markers"},{"name":"build","description":"The nightly build: manifest, statistics, labels, health"}],"servers":[{"url":"/api"}]}