{"openapi":"3.1.0","info":{"title":"Rinexlab API","version":"1.1.0","description":"Virtual RINEX generation, PPP and differential (PPK) processing, and RINEX file management. Typical processing flow: POST /files, upload, POST /files/{id}/complete, wait for GET /files/{id} to show collection_start and collection_end (pre-processing), POST /ppp or /differential (dry_run first to see the credits), poll GET /operations/{id} until status is done, then download result.files. Authenticate with an API key from Developers: `rxl_live_...` keys spend credits. `rxl_test_...` keys (integration environment, issued to integrators after a technical review) are free and nothing is computed: a virtual RINEX job is a simulated run of about 30 seconds that delivers a fixed test-station file rewritten to the requested window and interval (windows up to 1 h); a PPP or differential job is a simulated run of about 30 seconds whose result, in the production format, is always at a fixed test position (46.75 N, 5.75 E). Uploads work with both keys. Integration jobs count in credits-equivalent against one monthly cap (429 integration_cap); the API contract, the job states and the error codes are those of production. Limits: at most 20 jobs (virtual RINEX, PPP and differential together) queued or running per account (429 too_many_active_jobs), and a request rate limit per IP address (429 with Retry-After): back off and retry.","contact":{"name":"Premium Positioning","url":"https://premium-positioning.com"}},"servers":[{"url":"https://hub.rinexlab.com/api/v1"}],"security":[{"apiKey":[]}],"components":{"securitySchemes":{"apiKey":{"type":"http","scheme":"bearer","description":"API key as bearer token."}},"schemas":{"File":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"kind":{"type":"string","enum":["imported","created"]},"size_bytes":{"type":"integer"},"rinex_version":{"type":["string","null"]},"content":{"type":"string","enum":["obs","nav","other"]},"lat":{"type":["number","null"]},"lon":{"type":["number","null"]},"position_source":{"type":"string","enum":["header","spp","request"]},"collection_start":{"type":["string","null"],"format":"date-time"},"collection_end":{"type":["string","null"],"format":"date-time"},"interval_s":{"type":["number","null"]},"constellations":{"type":"array","items":{"type":"string","enum":["G","R","E","C","J","S","I"]}},"quality":{"type":["object","null"]},"reference":{"oneOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"description":"Coordinates used when the file serves as a differential base; null = the RINEX header position when the file has one, else the file position"},"created_at":{"type":"string","format":"date-time"}}},"Reference":{"type":"object","required":["lat","lon","height"],"properties":{"lat":{"type":"number","minimum":-90,"maximum":90},"lon":{"type":"number","minimum":-180,"maximum":180},"height":{"type":"number","description":"Ellipsoidal height in metres, -1000 to 10000"},"datum":{"type":"string","description":"Frame of the coordinates: ITRF2020, ETRF2000, RGF93, NAD83(2011), GDA2020, ... The differential result is expressed in the frame of its base coordinates."},"source":{"type":"string","enum":["header","spp","request","ppp","diff","manual"],"readOnly":true}}},"Operation":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"type":{"type":"string","enum":["vrs","ppp","diff","pre"]},"status":{"type":"string","enum":["queued","running","done","failed","rejected"]},"progress":{"type":"integer"},"stage":{"type":["string","null"]},"error":{"type":["string","null"]},"credits":{"type":"number"},"file_id":{"type":["string","null"],"format":"uuid"},"file_name":{"type":["string","null"]},"params":{"type":"object"},"result":{"type":["object","null"]},"created_at":{"type":"string","format":"date-time"},"finished_at":{"type":["string","null"],"format":"date-time"}}}}},"paths":{"/me":{"get":{"summary":"Account, balance and plan","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"email":{"type":"string"},"name":{"type":["string","null"]},"org":{"type":["string","null"]},"environment":{"type":"string","enum":["production","integration"]},"credits":{"type":"number"},"plan":{"type":"string"}}}}}},"401":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}}}}},"/files":{"get":{"summary":"List files","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"files":{"type":"array","items":{"$ref":"#/components/schemas/File"}}}}}}}}},"post":{"summary":"Start an import: returns a resumable upload URL","description":"PUT the file bytes to `upload_url` (single request with Content-Length, or chunked with Content-Range), then POST /files/{id}/complete.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name","size"],"properties":{"name":{"type":"string"},"size":{"type":"integer","description":"bytes, max 1 GB"}}}}}},"responses":{"201":{"description":"Upload session","content":{"application/json":{"schema":{"type":"object","properties":{"file_id":{"type":"string"},"upload_url":{"type":"string"},"storage_path":{"type":"string"}}}}}},"400":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}},"413":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}}}}},"/files/{id}/complete":{"post":{"summary":"Register an uploaded file and queue pre-processing","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["storage_path"],"properties":{"storage_path":{"type":"string"},"gzip":{"type":"boolean"},"meta":{"type":"object","description":"Optional header metadata (version, content, marker, lat, lon, start, end, intervalS, constellations)."}}}}}},"responses":{"201":{"description":"File","content":{"application/json":{"schema":{"$ref":"#/components/schemas/File"}}}},"400":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}}}}},"/files/{id}":{"get":{"summary":"File details","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/File"}}}},"404":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}}}},"patch":{"summary":"Set the reference coordinates of a base file","description":"The coordinates a file uses when it serves as a differential base. Without them, a base uses its header or approximate position, which is rarely good enough. `{ reference: null }` clears them.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["reference"],"properties":{"reference":{"oneOf":[{"$ref":"#/components/schemas/Reference"},{"type":"null"}]}}}}}},"responses":{"200":{"description":"File","content":{"application/json":{"schema":{"$ref":"#/components/schemas/File"}}}},"400":{"description":"invalid_reference","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}},"404":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}}}},"delete":{"summary":"Delete a file","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"404":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}}}}},"/files/{id}/download":{"get":{"summary":"Signed download URL (valid 2 minutes)","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"ext","in":"query","required":false,"description":"rnx or obs: the same observation file named .rnx or .obs (plain .rnx / .YYo / .obs observation files only; others keep their name).","schema":{"type":"string","enum":["rnx","obs"]}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string"},"file_name":{"type":"string"},"expires_in":{"type":"integer"}}}}}},"404":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}}}}},"/files/{id}/navigation":{"get":{"summary":"Navigation files of a virtual RINEX","description":"Broadcast ephemerides of the observation days, in the RINEX version of the order: one mixed file (every constellation) for 3.04, a GPS file (.yyn) and a GLONASS file (.yyg) for 2.11, the systems RINEX 2.11 defines. Empty for uploaded files. Integration test files get the real broadcast ephemerides of the requested days, in the same way.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"files":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"system":{"type":"string","enum":["mixed","GPS","GLONASS"]},"download":{"type":"string","description":"Path of GET /files/{id}/navigation/{name}"}}}}}}}}},"404":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}},"502":{"description":"storage_error: retry in a minute","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}}}}},"/files/{id}/navigation/{name}":{"get":{"summary":"Signed download URL of a navigation file (valid 2 minutes)","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"name","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"url":{"type":"string"},"expires_in":{"type":"integer"}}}}}},"404":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}},"502":{"description":"storage_error: retry in a minute","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}}}}},"/coverage":{"post":{"summary":"Check the coverage of a virtual RINEX before ordering","description":"Same parameters and rules as POST /vrs (window limits, published hours of the reference files, constellations of the stations), without ordering: free, nothing is billed, integration and production keys alike. `station` and `rinex_version` are not needed. GET /coverage takes the same fields as query parameters (lat, lon, start, end, interval_s). Reference stations are never named: counts and distances only.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["lat","lon","start","end"],"properties":{"lat":{"type":"number","example":48.7743},"lon":{"type":"number","example":2.3759},"start":{"type":"string","format":"date-time","example":"2026-09-25T08:00:00Z"},"end":{"type":"string","format":"date-time","example":"2026-09-25T10:00:00Z"},"interval_s":{"type":"number","enum":[1,0.5,0.2,0.1],"description":"Default 1."}}}}}},"responses":{"200":{"description":"Coverage answer","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","enum":["covered","nearest_station","pending","not_covered"],"description":"pending: the reference files of these hours are published later (usually after the GPS day), retry then"},"orderable":{"type":"boolean","description":"POST /vrs with the same parameters would be accepted"},"message":{"type":"string"},"reason":{"type":"string","description":"rule outcome with counts and distances"},"window":{"type":"object","properties":{"start":{"type":"string","format":"date-time"},"end":{"type":"string","format":"date-time"}}},"interval_s":{"type":"number"},"interpolated":{"type":"boolean","description":"the interval is finer than the reference data: interpolation"},"stations_within_radius":{"type":"integer"},"radius_km":{"type":"number"},"nearest_station_km":{"type":["number","null"]},"inside_network":{"type":["boolean","null"],"description":"the point lies inside the network of reference stations (interpolation); false: extrapolation. Null without virtual RINEX"},"quality":{"type":["string","null"],"enum":["favourable","good","limited",null],"description":"Indicative reliability of a virtual RINEX here, from our validation campaign, not a guarantee. favourable: nearest station within 50 km and inside the network; good: within 100 km inside the network, or within 50 km outside it; limited: otherwise. Null without virtual RINEX"},"allowed_intervals_s":{"type":"array","items":{"type":"number"}},"credits":{"type":"number","description":"credits an order with these parameters would cost"}}}}}},"400":{"description":"Invalid parameters (codes: invalidCoords, invalidWindow, windowTooOld, windowTooRecent, windowFuture, windowTooLong, errGeneric for the interval)","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}},"503":{"description":"coverage_unavailable: retry in a minute","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}}}},"get":{"summary":"Check the coverage (query parameters)","parameters":[{"name":"lat","in":"query","required":true,"schema":{"type":"number"}},{"name":"lon","in":"query","required":true,"schema":{"type":"number"}},{"name":"start","in":"query","required":true,"schema":{"type":"string","format":"date-time"}},{"name":"end","in":"query","required":true,"schema":{"type":"string","format":"date-time"}},{"name":"interval_s","in":"query","required":false,"schema":{"type":"number"}}],"responses":{"200":{"description":"Same answer as POST /coverage"},"400":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}},"503":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}}}}},"/vrs":{"post":{"summary":"Order a virtual RINEX file","description":"Billing: 1 credit per hour of data, quarter-hour rounding up, minimum 1 credit, x2 for 0.5 s and 0.2 s, x3 for 0.1 s, then x1.5 (rounded up to the quarter credit) when the window starts more than 30 days ago. Window: `start` and `end` as ISO 8601 date-times (UTC), minute precision (start floored, end ceiled), may cross midnight, 24 h at most, within the last 60 days and ending at least 4 h ago. Failed or rejected jobs are refunded.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["station","lat","lon","start","end"],"properties":{"station":{"type":"string","pattern":"^[A-Za-z0-9]{4,9}$","example":"VRS1","description":"4 to 9 characters, written into the RINEX header"},"lat":{"type":"number","example":52.0907,"description":"Latitude, decimal degrees"},"lon":{"type":"number","example":5.1214,"description":"Longitude, decimal degrees"},"height":{"type":"number","description":"Ellipsoidal height of the virtual station in metres, in `datum`. Optional: without it, the height is set from the reference stations."},"datum":{"type":"string","description":"Datum of the point and of the header coordinates: ETRF2000 or RGF93 (Europe, current epoch), OSNET2009 (Great Britain, epoch 2009.756), AGRS2010 (Netherlands, epoch 2010.5), RGM23 (Mayotte, epoch 2023.75), NAD83 (2011) (North America, epoch 2010.0), GDA2020 (Australia), SIRGAS2000 (Brazil, epoch 2000.4), or ITRF2020 / WGS84 (current epoch). Default by region.","example":"ETRF2000"},"start":{"type":"string","format":"date-time","example":"2026-09-07T08:00:00Z","description":"Start of the window, ISO 8601 UTC"},"end":{"type":"string","format":"date-time","example":"2026-09-07T10:00:00Z","description":"End of the window, ISO 8601 UTC (may be on the next day, 24 h at most)"},"interval_s":{"type":"number","enum":[1,0.5,0.2,0.1],"description":"Observation interval in seconds. Default 1."},"rinex_version":{"type":"string","enum":["2.11","3.04"],"description":"Default 3.04."}}}}}},"responses":{"201":{"description":"Job created","content":{"application/json":{"schema":{"type":"object","properties":{"operation_id":{"type":"string","format":"uuid"},"credits":{"type":"number","description":"credits charged (0 with an integration key)"},"credits_equivalent":{"type":"number","description":"credits the job is worth, counted against the integration cap"},"file_name":{"type":"string"},"status":{"type":"string","enum":["queued"]},"quality":{"type":["string","null"],"enum":["favourable","good","limited",null],"description":"indicative reliability of the virtual RINEX at this point, as in /coverage"}}}}}},"400":{"description":"Invalid parameters (codes: invalidStation, invalidCoords, invalidHeight, invalidWindow, windowTooOld, windowTooRecent, windowFuture, windowTooLong; integration_window when an integration job exceeds the window cap)","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}},"402":{"description":"Insufficient credits","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}},"409":{"description":"No reference network coverage at this point for that day (code no_coverage; the message gives the distance of the nearest station with data; check first with /coverage), or the reference data of this window are not published yet (code data_pending: the stations of the area publish after the GPS day, retry the next UTC day)","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}},"429":{"description":"integration_cap: integration monthly cap reached (credits-equivalent per calendar month); too_many_active_jobs: the account already has the maximum number of jobs queued or running (20 by default), retry after the Retry-After delay","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}}}}},"/ppp":{"post":{"summary":"Start a PPP job on an uploaded file","description":"Precise Point Positioning of one observation file, float solution. Billing: hours of the processed window, quarter-hour rounding up, minimum 1 credit; static jobs x1 whatever the interval (computed on 5 s data), kinematic jobs x2 at 0.5 s and 0.2 s, x3 at 0.1 s; products `all` x1.5. `dry_run: true` returns the credits and the balance without creating the job, with `products_available` (false: the job would be refused with 409 products_not_available) and, when the products are not or may not be published yet, `products_type` and `products_expected_at`. Failed or rejected jobs are refunded.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["file_id"],"properties":{"file_id":{"type":"string","format":"uuid","description":"An observation file whose pre-processing is finished"},"mode":{"type":"string","enum":["static","kinematic"],"description":"Default static"},"products":{"type":"string","enum":["auto","final","rapid","all"],"description":"auto (default): final products when enough analysis centres have published them, rapid otherwise. Rapid products appear about 17 h after the observation day, final products after 12 to 18 days."},"datum":{"type":"string","description":"Output datum in addition to ITRF2020, among those offered at the rover position (the error lists them). Default ITRF2020."},"window":{"type":"object","required":["start","end"],"description":"Part of the file to process, ISO 8601 UTC, snapped to a 15-minute grid, inside the file's collection window, at least 15 minutes. Default: the whole file.","properties":{"start":{"type":"string","format":"date-time"},"end":{"type":"string","format":"date-time"}}},"dry_run":{"type":"boolean"}}}}}},"responses":{"200":{"description":"Estimate (dry_run)","content":{"application/json":{"schema":{"type":"object","properties":{"operation_id":{"type":"string","format":"uuid","description":"absent with dry_run"},"status":{"type":"string","enum":["queued"]},"dry_run":{"type":"boolean"},"type":{"type":"string","enum":["ppp","diff"]},"file_id":{"type":"string","format":"uuid"},"file_name":{"type":"string"},"mode":{"type":"string","enum":["static","kinematic"]},"products":{"type":"string","enum":["auto","FIN","RAP","all"]},"bases":{"type":"array","items":{"type":"string","format":"uuid"}},"virtual_base":{"type":"boolean"},"datum":{"type":"string"},"window":{"type":"object","properties":{"start":{"type":"string","format":"date-time"},"end":{"type":"string","format":"date-time"},"hours":{"type":"number"},"whole_file":{"type":"boolean"}}},"credits":{"type":"number","description":"credits charged (or that would be charged with dry_run), virtual base included"},"estimate":{"type":"object","properties":{"billable_hours":{"type":"number"},"rate_multiplier":{"type":"number"},"products_multiplier":{"type":"number"},"extra_base_credits":{"type":"number"},"virtual_base_credits":{"type":"number"}}},"balance":{"type":"number","description":"dry_run only"},"sufficient":{"type":"boolean","description":"dry_run only: the balance covers the job"}}}}}},"201":{"description":"Job created","content":{"application/json":{"schema":{"type":"object","properties":{"operation_id":{"type":"string","format":"uuid","description":"absent with dry_run"},"status":{"type":"string","enum":["queued"]},"dry_run":{"type":"boolean"},"type":{"type":"string","enum":["ppp","diff"]},"file_id":{"type":"string","format":"uuid"},"file_name":{"type":"string"},"mode":{"type":"string","enum":["static","kinematic"]},"products":{"type":"string","enum":["auto","FIN","RAP","all"]},"bases":{"type":"array","items":{"type":"string","format":"uuid"}},"virtual_base":{"type":"boolean"},"datum":{"type":"string"},"window":{"type":"object","properties":{"start":{"type":"string","format":"date-time"},"end":{"type":"string","format":"date-time"},"hours":{"type":"number"},"whole_file":{"type":"boolean"}}},"credits":{"type":"number","description":"credits charged (or that would be charged with dry_run), virtual base included"},"estimate":{"type":"object","properties":{"billable_hours":{"type":"number"},"rate_multiplier":{"type":"number"},"products_multiplier":{"type":"number"},"extra_base_credits":{"type":"number"},"virtual_base_credits":{"type":"number"}}},"balance":{"type":"number","description":"dry_run only"},"sufficient":{"type":"boolean","description":"dry_run only: the balance covers the job"}}}}}},"400":{"description":"bad_request, nav_file, invalid_mode, invalid_products, invalid_window (gives the file's collection window), invalid_datum (gives the allowed datums)","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}},"402":{"description":"insufficient_credits","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}},"404":{"description":"file_not_found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}},"409":{"description":"file_not_ready: pre-processing not finished; products_not_available: the precise orbit and clock products of the processed days are not published yet (products_type rapid or final, products_expected_at: their usual publication time), retry then","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}},"429":{"description":"integration_cap: integration monthly cap reached (credits-equivalent); too_many_active_jobs: the account already has the maximum number of jobs queued or running (20 by default), retry after the Retry-After delay","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}}}}},"/differential":{"post":{"summary":"Start a differential (PPK) job on an uploaded file","description":"Differential processing of a rover against bases: uploaded files (their reference coordinates, see PATCH /files/{id}) and/or a virtual RINEX generated at the rover position. Up to 10 bases in static and kinematic mode; static: robust mean of the baselines, kinematic: the same mean at every epoch (`result.combined`, file positions_combined_ITRF2020.csv, or positions_combined.csv when a base has no declared datum), next to the trajectory of each baseline (positions CSV with solution, n_sats, n_fixed, pdop and the formal sd_n_m, sd_e_m, sd_h_m of every epoch; `sigma_median` per baseline) and its Wa2 position file. The result is in the frame of the base coordinates. Billing: as PPP (without the products multiplier), +0.25 credit per base beyond the first; a virtual base is billed on top like a virtual RINEX order on the same window. `dry_run: true` returns the credits without creating the job. Failed or rejected jobs are refunded.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["file_id"],"properties":{"file_id":{"type":"string","format":"uuid","description":"The rover observation file"},"mode":{"type":"string","enum":["static","kinematic"],"description":"Default static"},"bases":{"type":"array","items":{"type":"string","format":"uuid"},"description":"Base observation files of your account overlapping the rover"},"virtual_base":{"type":"boolean","description":"Add a virtual RINEX base at the rover position (rover position known, window on one UTC day, within the last 60 days, ending at least 4 h ago, inside the coverage; billed like an order, x1.5 beyond 30 days)"},"datum":{"type":"string","description":"Output datum, among those offered at the rover position. Default ITRF2020."},"window":{"type":"object","required":["start","end"],"description":"Part of the file to process, ISO 8601 UTC, snapped to a 15-minute grid, inside the file's collection window, at least 15 minutes. Default: the whole file.","properties":{"start":{"type":"string","format":"date-time"},"end":{"type":"string","format":"date-time"}}},"dry_run":{"type":"boolean"}}}}}},"responses":{"200":{"description":"Estimate (dry_run)","content":{"application/json":{"schema":{"type":"object","properties":{"operation_id":{"type":"string","format":"uuid","description":"absent with dry_run"},"status":{"type":"string","enum":["queued"]},"dry_run":{"type":"boolean"},"type":{"type":"string","enum":["ppp","diff"]},"file_id":{"type":"string","format":"uuid"},"file_name":{"type":"string"},"mode":{"type":"string","enum":["static","kinematic"]},"products":{"type":"string","enum":["auto","FIN","RAP","all"]},"bases":{"type":"array","items":{"type":"string","format":"uuid"}},"virtual_base":{"type":"boolean"},"datum":{"type":"string"},"window":{"type":"object","properties":{"start":{"type":"string","format":"date-time"},"end":{"type":"string","format":"date-time"},"hours":{"type":"number"},"whole_file":{"type":"boolean"}}},"credits":{"type":"number","description":"credits charged (or that would be charged with dry_run), virtual base included"},"estimate":{"type":"object","properties":{"billable_hours":{"type":"number"},"rate_multiplier":{"type":"number"},"products_multiplier":{"type":"number"},"extra_base_credits":{"type":"number"},"virtual_base_credits":{"type":"number"}}},"balance":{"type":"number","description":"dry_run only"},"sufficient":{"type":"boolean","description":"dry_run only: the balance covers the job"}}}}}},"201":{"description":"Job created","content":{"application/json":{"schema":{"type":"object","properties":{"operation_id":{"type":"string","format":"uuid","description":"absent with dry_run"},"status":{"type":"string","enum":["queued"]},"dry_run":{"type":"boolean"},"type":{"type":"string","enum":["ppp","diff"]},"file_id":{"type":"string","format":"uuid"},"file_name":{"type":"string"},"mode":{"type":"string","enum":["static","kinematic"]},"products":{"type":"string","enum":["auto","FIN","RAP","all"]},"bases":{"type":"array","items":{"type":"string","format":"uuid"}},"virtual_base":{"type":"boolean"},"datum":{"type":"string"},"window":{"type":"object","properties":{"start":{"type":"string","format":"date-time"},"end":{"type":"string","format":"date-time"},"hours":{"type":"number"},"whole_file":{"type":"boolean"}}},"credits":{"type":"number","description":"credits charged (or that would be charged with dry_run), virtual base included"},"estimate":{"type":"object","properties":{"billable_hours":{"type":"number"},"rate_multiplier":{"type":"number"},"products_multiplier":{"type":"number"},"extra_base_credits":{"type":"number"},"virtual_base_credits":{"type":"number"}}},"balance":{"type":"number","description":"dry_run only"},"sufficient":{"type":"boolean","description":"dry_run only: the balance covers the job"}}}}}},"400":{"description":"bad_request, nav_file, invalid_mode, invalid_window, invalid_datum, no_bases, too_many_bases","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}},"402":{"description":"insufficient_credits","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}},"404":{"description":"file_not_found, base_not_found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}},"409":{"description":"file_not_ready, base_no_reference, virtual_base_unavailable, no_coverage (virtual base), data_pending (virtual base: reference data of the window not published yet, retry the next UTC day)","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}},"429":{"description":"integration_cap, too_many_active_jobs","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}}}}},"/operations":{"get":{"summary":"List jobs","parameters":[{"name":"status","in":"query","schema":{"type":"string"}},{"name":"type","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"operations":{"type":"array","items":{"$ref":"#/components/schemas/Operation"}}}}}}}}}},"/operations/{id}":{"get":{"summary":"Job status and result","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Operation"}}}},"404":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}}}}},"/operations/{id}/files.zip":{"get":{"summary":"All result files of a job in one zip","description":"Every file of `result.files` of a finished PPP or differential job (summary, solutions, kinematic CSV, logs), built on the fly. 200 MB at most together, otherwise download them one by one with /operations/{id}/files/{name}. `format=dms`, `format=utm` or `format=ecef` converts the coordinates of the positions CSV (DMS: lat_dms, lon_dms; UTM: utm_zone, easting_m, northing_m, one zone per file, that of the first epoch; ECEF: x_m, y_m, z_m in place of the latitude, longitude and height, same frame) and adds a `dms`, `utm` or `ecef` block next to every position of summary.json (`ecef` only where the position has a height); solution and log files stay as computed.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"format","in":"query","required":false,"schema":{"type":"string","enum":["dd","dms","utm","ecef"],"default":"dd"}}],"responses":{"200":{"description":"The zip archive","content":{"application/zip":{"schema":{"type":"string","format":"binary"}}}},"404":{"description":"No such operation, or no result files","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}},"413":{"description":"too_large: over 200 MB, download the files one by one","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}},"502":{"description":"storage_error: retry in a minute","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}}}}},"/operations/{id}/files/{name}":{"get":{"summary":"Signed download URL of a result file (valid 2 minutes)","description":"For the files listed in `result.files` of a PPP or differential job (solution, kinematic CSV, logs). With `format=dms`, `format=utm` or `format=ecef`, a positions CSV or summary.json comes back directly (the file, not a URL), its coordinates converted as for files.zip.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"format","in":"query","required":false,"schema":{"type":"string","enum":["dd","dms","utm","ecef"],"default":"dd"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"size":{"type":"integer"},"url":{"type":"string"},"expires_in":{"type":"integer"}}}}}},"404":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}}}}}}}