{"openapi":"3.1.0","info":{"title":"ApplyRelay Data API","version":"0.1.0","description":"Search and sync job postings collected from employers' own job sources, with company records.\n\nAuthentication: send your API key as a bearer token, Authorization: Bearer jc_live_<id>.<secret> (keys issued before October 2026 start with ar_live_ and still work). Create keys in your account. A missing or wrong key returns 401 invalid_api_key.\n\nPaging: list endpoints return next_cursor; pass it back as cursor for the next page. Every page of one listing reads the same catalog snapshot (snapshot_watermark), so results don't shift under you. A cursor from an older snapshot or with different filters returns 400; start again from the first page.\n\nKeeping in sync: pull GET /v1/jobs/changes with since for the first call, then keep passing resume_cursor as after to receive created, updated and expired jobs in order.\n\nLimits: a free account may make 1 request per second (60 in any 60-second window) and 1,000 requests per UTC day; an account that pays for usage may make 60 requests in any 60-second window and has no daily request limit. Each API key may have 10 requests running at once. Every account gets 100,000 free returned records each UTC month. Only successful responses count, and each job or company returned counts as one record; counts and usage reports are free. The X-Data-Records-Window response header says whether the X-Data-Records-Used, -Limit, -Remaining and -Reset headers describe the day or the month. Going over returns 429 (rate_limited or data_limit_exceeded) with a Retry-After header in seconds. To go past the free records, turn on pay-per-use on the Billing page (/data/billing): there is no monthly fee, you pay $0.01 per 1,000 records past the first 100,000, and never more than a monthly spend cap you choose. Accounts on older monthly billing can turn on overage (PUT /v1/account/overage) instead, optionally with a monthly overage limit in dollars. Overage never adds API requests: the monthly request allowance still applies.\n\nErrors use {\"error\": {\"code\", \"message\", \"request_id\"}}; a merged-job 410 instead returns data:null, membership:merged and successor_job_id (with legacy alias merged_into_job_id). Quote request_id when you contact support. 503 catalog_unavailable means the jobs catalog is being published; retry shortly. Searches and counts are limited to 90 seconds: a query stopped at the limit returns 503 service_unavailable and uses no records. Do not repeat it unchanged; for job titles use title (or title_advanced) instead of q, which is a broad full-text search and the slowest filter, and add filters such as state, city, company or source. A 503 saying the service is busy means three long searches are already running; retry in a minute. Older routes may answer 504 query_timeout for a stopped query; handle it the same way."},"servers":[{"url":"/"}],"security":[{"bearerAuth":[]}],"paths":{"/v1/companies":{"get":{"operationId":"listCompanies","x-oauth-scopes":["companies:read"],"summary":"Browse companies","description":"Lists companies from one immutable registry release.","x-applyrelay-availability":"pending_registry_release","parameters":[{"name":"name","in":"query","schema":{"type":"string","minLength":1,"maxLength":200},"description":"Case-insensitive canonical-name substring."},{"$ref":"#/components/parameters/CompanyLimit"},{"$ref":"#/components/parameters/CompanyCursor"}],"responses":{"200":{"description":"A page of public company records.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyPage"}}}},"400":{"$ref":"#/components/responses/InvalidRequest"},"401":{"$ref":"#/components/responses/InvalidApiKey"},"429":{"$ref":"#/components/responses/DataApiLimit"},"503":{"$ref":"#/components/responses/Unavailable"}}}},"/v1/companies/search":{"post":{"operationId":"searchCompanies","x-oauth-scopes":["companies:read"],"summary":"Search companies","description":"Combines verified name, country, and status filters with AND. Search uses the same UUID company records and release-pinned cursor as company browse.","x-applyrelay-availability":"pending_registry_release","requestBody":{"required":true,"description":"JSON object of at most 16,384 bytes.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanySearchRequest"}}}},"responses":{"200":{"description":"A page of matching public company records.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyPage"}}}},"400":{"$ref":"#/components/responses/InvalidRequest"},"401":{"$ref":"#/components/responses/InvalidApiKey"},"429":{"$ref":"#/components/responses/DataApiLimit"},"503":{"$ref":"#/components/responses/Unavailable"}}}},"/v1/companies/{companyId}":{"get":{"operationId":"getCompany","x-oauth-scopes":["companies:read"],"summary":"Get a company by UUID","x-applyrelay-availability":"pending_registry_release","parameters":[{"$ref":"#/components/parameters/CompanyId"}],"responses":{"200":{"description":"A public company record.","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Company"}}}}}},"400":{"$ref":"#/components/responses/InvalidRequest"},"401":{"$ref":"#/components/responses/InvalidApiKey"},"404":{"$ref":"#/components/responses/NotFound"},"410":{"$ref":"#/components/responses/CompanyWithdrawn"},"429":{"$ref":"#/components/responses/DataApiLimit"},"503":{"$ref":"#/components/responses/Unavailable"}}}},"/v1/companies/{companyId}/jobs":{"get":{"operationId":"listCompanyJobs","x-oauth-scopes":["companies:read"],"summary":"List a company's jobs","description":"Lists the company's public jobs from the latest published jobs catalog, with the same filters, order and cursor rules as GET /v1/jobs. Resolves the company UUID; merged or withdrawn issued IDs return 410. Requires an active company registry release and a published jobs catalog, and responds 503 while either is missing.","x-applyrelay-availability":"pending_jobs_catalog","parameters":[{"$ref":"#/components/parameters/CompanyId"},{"name":"fields","in":"query","description":"Comma list of the job properties to return; repeat the parameter or separate names with commas. Allowed names are job_id, currentness, stale, company_id, employer_name, title, description, work_arrangement, locations, job_first_seen_at, curated_at, job_updated_at, postings, company and normalized. job_id is always returned. Without fields the whole job is returned. An unknown name returns 400. It changes only the shape of each job, never which jobs match.","schema":{"type":"string","example":"title,employer_name,locations"}}],"responses":{"200":{"description":"A page of the company's public jobs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobListResponse"}}}},"400":{"$ref":"#/components/responses/InvalidRequest"},"401":{"$ref":"#/components/responses/InvalidApiKey"},"404":{"$ref":"#/components/responses/NotFound"},"410":{"$ref":"#/components/responses/CompanyWithdrawn"},"429":{"$ref":"#/components/responses/DataApiLimit"},"503":{"$ref":"#/components/responses/Unavailable"},"504":{"$ref":"#/components/responses/QueryTimeout"}}}},"/v1/jobs":{"get":{"operationId":"listJobs","summary":"List public jobs","description":"Returns included public jobs from the latest published jobs catalog. A search with q or title is ranked by relevance, with title matches weighted ten times description matches; a description search with no q, title or company, any other list, or sort=updated, is newest job_updated_at first. sort=random requires a seed and walks the indexed job-ID order from a seed-derived pivot, wrapping once; job IDs are UUIDs, so this gives a randomized traversal without a full-catalog random sort. Ties break by job_id, descending. Without a currentness or active filter only current jobs are returned. Every page of one listing reads the same catalog snapshot: next_cursor is bound to that snapshot, the filters and the limit, and a cursor from an older snapshot or a different query returns 400. Responds 503 catalog_unavailable while no jobs catalog has been published.","x-applyrelay-availability":"pending_jobs_catalog","parameters":[{"name":"company","in":"query","schema":{"type":"string","minLength":1,"maxLength":200},"description":"Employer name contains this text. Case-insensitive. 1-200 characters. A term of 1-2 characters matches the whole employer name or its first word instead (`hp` finds \"HP Inc.\" but not \"Shop HP Repairs\")."},{"name":"company_id","in":"query","schema":{"$ref":"#/components/schemas/CompanyId"},"description":"Only jobs of this company, by its Atlas company ID (lowercase UUID)."},{"name":"title","in":"query","schema":{"type":"string","minLength":1,"maxLength":200},"description":"Job title contains these words as one phrase, in this order (full-text match). \"senior software engineer\" does not match \"Software Engineer, Senior\" or \"Senior Staff Software Engineer\"; use title_advanced, such as senior AND \"software engineer\", to match the words in any order. 1-200 characters."},{"name":"title_advanced","in":"query","schema":{"type":"string","minLength":1,"maxLength":400},"example":"nurse AND NOT manager","description":"Boolean title search: the words may appear in any order. Supports AND, OR and NOT keywords, &, | and !, parentheses, prefix terms such as engineer:*, and quoted phrases such as \"product manager\". Prefer it over title when job titles vary in word order, for example senior AND (\"software engineer\" OR \"software developer\"). A positive search term is required. An operator is needed between every two words or groups: write nurse AND NOT manager. A NOT written straight after a word (nurse NOT manager) runs as AND NOT, and the X-Query-Normalized response header (a JSON list of sentences) says what was changed. Two words with no operator (senior nurse) return 400, and the X-Query-Corrected header (JSON, parameter name to a list of expressions) holds the caller's own expression corrected: senior AND nurse, senior OR nurse and \"senior nurse\"."},{"name":"description_advanced","in":"query","schema":{"type":"string","minLength":1,"maxLength":200},"example":"\"product manager\"","description":"Boolean description search. Supports AND, OR and NOT keywords, &, | and !, parentheses, prefix terms such as engineer:*, and quoted phrases such as \"product manager\". A positive search term is required."},{"name":"q","in":"query","schema":{"type":"string","minLength":1,"maxLength":200},"description":"Keyword search: the phrase appears in the title or description. Results are ranked by relevance unless sort=updated. 1-200 characters. q is a broad full-text search and the slowest filter: with a narrow filter such as a small country it can run past the 90-second limit (503). For job titles use title instead."},{"name":"location","in":"query","schema":{"type":"string","minLength":1,"maxLength":200},"description":"Any job location contains this text (city, region or country as written). Case-insensitive. 1-200 characters."},{"name":"state","in":"query","schema":{"type":"string","minLength":1,"maxLength":200},"description":"Two-letter subdivision code. On its own it means a U.S. state (state=CA is California only); combine with country for another country's subdivision (country=CA&state=BC is British Columbia)."},{"name":"country","in":"query","schema":{"type":"string","pattern":"^[A-Za-z]{2}(,[A-Za-z]{2}){0,9}$","example":"US,CA"},"description":"Two-letter ISO country code, for example US or CA. Case-insensitive. Send up to 10 codes separated by commas to match jobs in any of them."},{"name":"msa","in":"query","schema":{"type":"string","pattern":"^[0-9]{5}$"},"description":"5-digit CBSA code of a metropolitan or micropolitan statistical area, for example 12420 for Austin-Round Rock-San Marcos, TX. Matches any job location whose msa.cbsa_code equals it."},{"name":"near","in":"query","schema":{"type":"string","minLength":1,"maxLength":200,"example":"Austin, TX"},"description":"Radius search: jobs in a US city within radius_miles of this place. Give a 5-digit US ZIP code (78701), a US city with its state (Austin, TX; Austin, Texas; austin tx) or a latitude and longitude (30.27,-97.74). A city without a state, or a place that is not found, returns 400 invalid_request. Distances are straight-line from the place's centre, using Census Bureau place and ZIP centres, and a job matches when one of its locations is a US city inside the circle (nearest 500 cities). Jobs whose locations are all outside the US, or that name no city, never match a radius search. Combine with any other filter."},{"name":"radius_miles","in":"query","schema":{"type":"number","minimum":1,"maximum":100,"default":25},"description":"Radius in miles around near, from 1 to 100. Defaults to 25 when near is given; sending it without near returns 400 invalid_request."},{"name":"work_arrangement","in":"query","schema":{"type":"string","enum":["remote","hybrid","in_person"]},"description":"One of remote, hybrid or in_person, as the source states it. Jobs whose source doesn't say are not matched."},{"name":"remote_type","in":"query","description":"Alias for work_arrangement; do not send both.","schema":{"type":"string","enum":["remote","hybrid","in_person"]}},{"name":"employment_type","in":"query","schema":{"type":"string","minLength":1,"maxLength":200},"description":"Employment type as published, for example full_time or part_time. Exact match, case-insensitive. Send up to 10 values separated by commas to match jobs with any of them."},{"name":"source","in":"query","schema":{"type":"string","minLength":1,"maxLength":200},"description":"The source vendor, such as greenhouse or smartrecruiters. Board IDs are not exposed."},{"name":"currentness","in":"query","description":"Comma list of current, uncertain and not_current.","schema":{"type":"string","default":"current","example":"current,uncertain"}},{"name":"active","in":"query","description":"true maps to currentness=current and false to currentness=not_current; do not send with currentness.","schema":{"type":"boolean"}},{"name":"posted_since","in":"query","schema":{"oneOf":[{"type":"string","format":"date"},{"type":"string","format":"date-time"}]},"description":"Posted on or after this time, by the date the source published. Accepts an RFC 3339 timestamp with a time zone (2026-09-21T00:00:00Z) or a plain date (2026-09-21). A plain date means the start of that day in UTC."},{"name":"posted_until","in":"query","schema":{"oneOf":[{"type":"string","format":"date"},{"type":"string","format":"date-time"}]},"description":"Posted on or before this time. Accepts an RFC 3339 timestamp with a time zone (2026-09-21T00:00:00Z) or a plain date (2026-09-21). A plain date means the end of that day in UTC."},{"name":"published_since","in":"query","description":"Compatibility alias for posted_since; do not send both.","schema":{"oneOf":[{"type":"string","format":"date"},{"type":"string","format":"date-time"}]}},{"name":"first_seen_since","in":"query","schema":{"oneOf":[{"type":"string","format":"date"},{"type":"string","format":"date-time"}]},"description":"First collected by Atlas on or after this time. Accepts an RFC 3339 timestamp with a time zone (2026-09-21T00:00:00Z) or a plain date (2026-09-21)."},{"name":"updated_since","in":"query","schema":{"oneOf":[{"type":"string","format":"date"},{"type":"string","format":"date-time"}]},"description":"Job record last changed on or after this time; use it for incremental pulls. Accepts an RFC 3339 timestamp with a time zone (2026-09-21T00:00:00Z) or a plain date (2026-09-21)."},{"name":"curated_since","in":"query","schema":{"oneOf":[{"type":"string","format":"date"},{"type":"string","format":"date-time"}]},"description":"Entered the final dataset on or after this time. Accepts an RFC 3339 timestamp with a time zone (2026-09-21T00:00:00Z) or a plain date (2026-09-21)."},{"name":"job_id","in":"query","schema":{"type":"string","format":"uuid"},"description":"One job by its job ID (a lowercase UUID)."},{"name":"description","in":"query","schema":{"type":"string","minLength":1,"maxLength":200},"description":"Words that must appear together in the job description. Use description_advanced for a Boolean expression. With no title, q or company filter, results come newest first only, and each page searches for at most about 1.5 seconds; a page can then hold fewer jobs than limit (even none) while has_more is true, so keep following the cursor."},{"name":"city","in":"query","schema":{"type":"string","minLength":1,"maxLength":200},"description":"City name. Matches any job location whose city contains this text, case-insensitive. Combine with state and country to narrow it."},{"name":"exclude_source","in":"query","schema":{"type":"string","maxLength":200,"example":"indeed,linkedin"},"description":"Comma list of up to 10 source vendors or source types to leave out. A job still matches when another of its postings comes from a source not on the list."},{"name":"source_type","in":"query","schema":{"type":"string","minLength":1,"maxLength":200},"description":"The kind of job source, as in postings[].source_data.source_type. Exact match, case-insensitive."},{"name":"source_class","in":"query","schema":{"type":"string","enum":["ats","employer-site","government-exchange","aggregator","staffing-network","dataset","purchased","third-party-api","unknown"]},"description":"The class of job source a posting came from, for example ats for an applicant tracking system board or employer-site for a company's own careers page."},{"name":"posting_id","in":"query","schema":{"type":"string","minLength":1,"maxLength":200},"description":"The job that holds this posting, by Atlas's posting ID."},{"name":"source_posting_id","in":"query","schema":{"type":"string","minLength":1,"maxLength":200},"description":"Jobs with a posting that has this source posting ID (the job source's own ID for the listing)."},{"name":"posting_status","in":"query","schema":{"type":"string","enum":["listed","no_longer_listed"]},"description":"Jobs with a posting in this state. listed means the source still shows it; no_longer_listed means a completed read no longer found it."},{"name":"stale","in":"query","schema":{"type":"boolean"},"description":"Atlas source-read freshness flag. True when no linked posting keeps the job current and at least one has aged beyond the source-read freshness window. Read evidence uses the later of the completed board read and the last read that listed the posting, not posted date or first-seen age."},{"name":"company_linked","in":"query","schema":{"type":"boolean"},"description":"true for jobs linked to a company record (company_id is set); false for jobs with no linked company."},{"name":"has_description","in":"query","schema":{"type":"boolean"},"description":"true for jobs with a known description; false for jobs without one."},{"name":"has_location","in":"query","schema":{"type":"boolean"},"description":"true for jobs with at least one known location; false for jobs with none."},{"name":"has_pay","in":"query","schema":{"type":"boolean"},"description":"true for jobs with a posting that publishes pay; false for jobs with a posting that does not."},{"name":"has_posting_url","in":"query","schema":{"type":"boolean"},"description":"true for jobs with a posting that has a known listing URL."},{"name":"has_application_url","in":"query","schema":{"type":"boolean"},"description":"true for jobs with a posting that has a known application URL."},{"name":"pay_currency","in":"query","schema":{"type":"string","example":"USD"},"description":"ISO 4217 currency code. Jobs with a posting whose published pay is in this currency."},{"name":"pay_min","in":"query","schema":{"type":"number","minimum":0,"maximum":1000000000},"description":"Lowest yearly pay. Matches postings whose pay floor is at least this amount. Pay is compared per year (hourly x 2,080, monthly x 12); pay with an unknown interval never matches. Amounts are not converted between currencies, so pair it with pay_currency. Up to two decimal places."},{"name":"pay_max","in":"query","schema":{"type":"number","minimum":0,"maximum":1000000000},"description":"Highest yearly pay. Matches postings whose pay ceiling is at most this amount, compared per year the same way as pay_min. Must not be below pay_min."},{"name":"first_seen_until","in":"query","schema":{"oneOf":[{"type":"string","format":"date"},{"type":"string","format":"date-time"}]},"description":"First collected by Atlas on or before this time. Accepts an RFC 3339 timestamp or a plain date."},{"name":"updated_until","in":"query","schema":{"oneOf":[{"type":"string","format":"date"},{"type":"string","format":"date-time"}]},"description":"Last changed on or before this time. Accepts an RFC 3339 timestamp or a plain date."},{"name":"curated_until","in":"query","schema":{"oneOf":[{"type":"string","format":"date"},{"type":"string","format":"date-time"}]},"description":"Entered the final dataset on or before this time. Accepts an RFC 3339 timestamp or a plain date."},{"name":"last_fetch_since","in":"query","schema":{"oneOf":[{"type":"string","format":"date"},{"type":"string","format":"date-time"}]},"description":"Jobs with a posting whose job source was last read completely on or after this time. Accepts an RFC 3339 timestamp or a plain date."},{"name":"last_fetch_until","in":"query","schema":{"oneOf":[{"type":"string","format":"date"},{"type":"string","format":"date-time"}]},"description":"Jobs with a posting whose job source was last read completely on or before this time. Accepts an RFC 3339 timestamp or a plain date."},{"name":"application_check","in":"query","schema":{"type":"string","enum":["available","closed","broken","inconclusive"]},"description":"Jobs with a posting whose latest application check had this result. available means an application could still be started."},{"name":"application_check_since","in":"query","schema":{"oneOf":[{"type":"string","format":"date"},{"type":"string","format":"date-time"}]},"description":"Jobs with a posting whose latest application check ran on or after this time. Accepts an RFC 3339 timestamp or a plain date."},{"name":"include","in":"query","description":"Comma list containing company and/or source_data. company adds the linked public company record; source_data adds each posting's source data.","schema":{"type":"string","example":"company,source_data"}},{"name":"fields","in":"query","description":"Comma list of the job properties to return; repeat the parameter or separate names with commas. Allowed names are job_id, currentness, stale, company_id, employer_name, title, description, work_arrangement, locations, job_first_seen_at, curated_at, job_updated_at, postings, company and normalized. job_id is always returned. Without fields the whole job is returned. An unknown name returns 400. It changes only the shape of each job, never which jobs match.","schema":{"type":"string","example":"title,employer_name,locations"}},{"name":"description_format","in":"query","description":"text returns descriptions as plain text. html returns 503 because source HTML descriptions are not published yet.","schema":{"type":"string","enum":["text","html"],"default":"text"}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000,"default":50},"description":"Page size, 1-250, or 1-1,000 when fields is exactly job_id. Defaults to 50."},{"name":"cursor","in":"query","schema":{"type":"string","minLength":1,"maxLength":2048},"description":"The next_cursor from the previous page. It is tied to the same filters, page size, sort and catalog snapshot; start again from the first page if you get a 400 for a stale cursor."},{"name":"sort","in":"query","schema":{"type":"string","enum":["relevance","updated","random"]},"description":"relevance ranks by how well q, title and description match, and is the default when q or title is set; without q, title or description (title_advanced and description_advanced do not rank) it runs as updated, and the X-Query-Normalized response header says so. updated lists the most recently updated jobs first, and is the default otherwise, including a description search on its own. random walks from a seed-derived pivot in the indexed job-ID order and wraps once; it requires the seed parameter."},{"name":"seed","in":"query","schema":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9_-]+$"},"description":"Reproducible random-order seed. Required with sort=random and rejected for other sort values. Cursors are bound to the seed."}],"responses":{"200":{"description":"A page of public job records.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobListResponse"}}}},"400":{"$ref":"#/components/responses/InvalidRequest"},"401":{"$ref":"#/components/responses/InvalidApiKey"},"429":{"$ref":"#/components/responses/DataApiLimit"},"503":{"$ref":"#/components/responses/Unavailable"},"504":{"$ref":"#/components/responses/QueryTimeout"}}}},"/v1/jobs/search":{"post":{"operationId":"searchJobs","x-oauth-scopes":["jobs:read"],"summary":"Search public jobs with JSON filters","description":"Searches the same published jobs catalog, filters, cursor, page limits, admission, billing and error contract as GET /v1/jobs. The JSON body is limited to 16,384 bytes. It accepts the GET filters plus limit, cursor, sort, seed and fields. This operation is also exposed as search_jobs_json.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"q":{"type":"string","maxLength":200},"title":{"type":"string","maxLength":200},"title_advanced":{"type":"string","maxLength":200},"description":{"type":"string","maxLength":200},"description_advanced":{"type":"string","maxLength":200},"company":{"type":"string","maxLength":200},"company_id":{"type":"string","format":"uuid"},"location":{"type":"string","maxLength":200},"city":{"type":"string","maxLength":200},"state":{"type":"string","maxLength":200},"country":{"oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"near":{"type":"string"},"radius_miles":{"type":"number","minimum":1,"maximum":100},"msa":{"type":"string"},"work_arrangement":{"type":"string","enum":["remote","hybrid","in_person"]},"remote_type":{"type":"string","enum":["remote","hybrid","in_person"]},"employment_type":{"oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"source":{"type":"string"},"exclude_source":{"type":"string"},"source_type":{"type":"string"},"source_class":{"type":"string"},"posting_id":{"type":"string"},"source_posting_id":{"type":"string"},"posting_status":{"type":"string","enum":["listed","no_longer_listed"]},"stale":{"type":"boolean"},"company_linked":{"type":"boolean"},"has_description":{"type":"boolean"},"has_location":{"type":"boolean"},"has_pay":{"type":"boolean"},"has_posting_url":{"type":"boolean"},"has_application_url":{"type":"boolean"},"pay_currency":{"type":"string"},"pay_min":{"type":"number"},"pay_max":{"type":"number"},"first_seen_until":{"type":"string"},"updated_until":{"type":"string"},"curated_until":{"type":"string"},"last_fetch_since":{"type":"string"},"last_fetch_until":{"type":"string"},"application_check":{"type":"string","enum":["available","closed","broken","inconclusive"]},"application_check_since":{"type":"string"},"job_id":{"type":"string","format":"uuid"},"currentness":{"type":"string"},"active":{"type":"boolean"},"posted_since":{"type":"string"},"posted_until":{"type":"string"},"published_since":{"type":"string"},"first_seen_since":{"type":"string"},"updated_since":{"type":"string"},"curated_since":{"type":"string"},"limit":{"type":"integer","minimum":1,"maximum":1000,"default":50},"cursor":{"type":"string","minLength":1,"maxLength":2048},"sort":{"type":"string","enum":["relevance","updated","random"]},"seed":{"type":"string","minLength":1,"maxLength":128},"fields":{"oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"include":{"type":"array","items":{"type":"string","enum":["company","source_data"]}},"description_format":{"type":"string","enum":["text","html"]}}}}}},"responses":{"200":{"description":"A page of public job records.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobListResponse"}}}},"400":{"$ref":"#/components/responses/InvalidRequest"},"401":{"$ref":"#/components/responses/InvalidApiKey"},"429":{"$ref":"#/components/responses/DataApiLimit"},"503":{"$ref":"#/components/responses/Unavailable"},"504":{"$ref":"#/components/responses/QueryTimeout"}}}},"/v1/jobs/search/es_dsl":{"post":{"operationId":"searchPublicJobsEsDsl","x-oauth-scopes":["jobs:read"],"summary":"Search public jobs with Elasticsearch-style clauses","description":"Translates the supported Elasticsearch-style query subset to the same filters as POST /v1/jobs/search. All must and filter clauses are AND-ed. should is supported only for term or match clauses on the same country or employment_type field, including when must/filter is also present. Range gt is treated as inclusive gte, and lt as inclusive lte. The response, cursor, request charge, limits, and errors match POST /v1/jobs/search. Page size is 1-250, or 1-1000 when fields is exactly job_id.","requestBody":{"required":true,"description":"JSON object of at most 16,384 bytes.","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["query"],"properties":{"query":{"type":"object","description":"One supported clause: match_all, bool, term, terms, match, match_phrase, range, exists, query_string, or simple_query_string. Unsupported clauses and fields return 400 invalid_request. See the operation description and Headcount Labs API documentation for the accepted field list."},"limit":{"type":"integer","minimum":1,"maximum":1000,"default":50,"description":"Page size 1-250. Values 251-1000 are accepted only when fields is exactly job_id."},"cursor":{"type":"string","minLength":1,"maxLength":2048},"sort":{"type":"string","enum":["relevance","updated"]},"fields":{"oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"include":{"type":"array","items":{"type":"string","enum":["company","source_data"]}},"description_format":{"type":"string","enum":["text","html"],"default":"text"}}}}}},"responses":{"200":{"description":"A page of public job records.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobListResponse"}}}},"400":{"$ref":"#/components/responses/InvalidRequest"},"401":{"$ref":"#/components/responses/InvalidApiKey"},"429":{"$ref":"#/components/responses/DataApiLimit"},"503":{"$ref":"#/components/responses/Unavailable"},"504":{"$ref":"#/components/responses/QueryTimeout"}}}},"/v1/jobs/exports":{"post":{"operationId":"createJobExport","x-oauth-scopes":["jobs:read"],"summary":"Create a bulk jobs export","security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Filter fields use the same names and validation as POST /v1/jobs/search. Supports search filters, fields, include, description_format, and sort; limit and cursor are forbidden.","additionalProperties":true,"properties":{"q":{"type":"string"},"fields":{"type":"array","items":{"type":"string"}},"include":{"type":"array","items":{"type":"string","enum":["company","source_data"]}},"description_format":{"type":"string","enum":["text","html"],"default":"text"},"sort":{"type":"string","enum":["relevance","updated"]},"max_records":{"type":"integer","minimum":1,"maximum":100000,"default":100000}},"not":{"anyOf":[{"required":["limit"]},{"required":["cursor"]}]}}}}},"responses":{"202":{"description":"Export accepted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobsExport"}}}},"400":{"description":"Invalid export request"},"401":{"description":"Invalid API key"},"409":{"description":"The account already has a queued or running export"},"429":{"description":"Monthly request allowance is insufficient"},"503":{"description":"Export service is unavailable"}}},"get":{"operationId":"listJobExports","x-oauth-scopes":["jobs:read"],"summary":"List recent jobs exports","security":[{"bearerAuth":[]}],"responses":{"200":{"description":"Exports for the authenticated account, newest first, limited to 20","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/JobsExport"}}}}}}},"401":{"description":"Invalid API key"},"503":{"description":"Export service is unavailable"}}}},"/v1/jobs/exports/{exportId}":{"get":{"operationId":"getJobExport","x-oauth-scopes":["jobs:read"],"summary":"Get a jobs export","security":[{"bearerAuth":[]}],"parameters":[{"name":"exportId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Export status and file metadata","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobsExport"}}}},"401":{"description":"Invalid API key"},"404":{"description":"Export does not exist or belongs to another account"},"503":{"description":"Export service is unavailable"}}}},"/v1/jobs/exports/{exportId}/files/{n}":{"get":{"operationId":"readJobExportFile","x-oauth-scopes":["jobs:read"],"summary":"Download a gzip JSON Lines export file","security":[{"bearerAuth":[]}],"parameters":[{"name":"exportId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"n","in":"path","required":true,"schema":{"type":"integer","minimum":1}}],"responses":{"200":{"description":"Gzip-compressed JSON Lines file","headers":{"Content-Disposition":{"schema":{"type":"string"},"example":"attachment; filename=\"jobs-00000000-0000-4000-8000-000000000000-1.jsonl.gz\""}},"content":{"application/gzip":{"schema":{"type":"string","format":"binary"}}}},"401":{"description":"Invalid API key"},"404":{"description":"File is unknown, not ready, expired, or belongs to another account"},"503":{"description":"Export service is unavailable"}}}},"/v1/jobs/changes":{"get":{"operationId":"listJobChanges","x-oauth-scopes":["jobs:read"],"summary":"List public job changes","description":"Lists created, updated and expired job events from the latest published jobs catalog, in event order. Send exactly one of since or after: start with since, then pass resume_cursor as after. A cursor from an older catalog snapshot returns 400. Responds 503 catalog_unavailable while no jobs catalog has been published, and 503 service_unavailable when the catalog changes during the request (retry).","x-applyrelay-availability":"pending_jobs_catalog","parameters":[{"name":"after","in":"query","schema":{"type":"string","minLength":1,"maxLength":2048},"description":"The resume_cursor from your previous changes call. Send exactly one of after or since."},{"name":"since","in":"query","schema":{"type":"string","format":"date-time"},"description":"Start of the change window: changes strictly after this RFC 3339 timestamp. Use it for the first call, then continue with after."},{"name":"types","in":"query","schema":{"type":"string","default":"created,updated,expired"},"description":"Comma list of created, updated and expired. Defaults to all three."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000,"default":100},"description":"Events per page, 1-1,000. Defaults to 100."},{"name":"company_id","in":"query","schema":{"$ref":"#/components/schemas/CompanyId"},"description":"Only changes for this company's jobs (lowercase UUID)."},{"name":"include","in":"query","schema":{"type":"string","enum":["source_data"]},"description":"source_data adds allowlisted source metadata to each job in the events. The source payload and internal extraction details are not published."}],"responses":{"200":{"description":"A page of job changes.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobsChangesResponse"}}}},"400":{"$ref":"#/components/responses/InvalidRequest"},"401":{"$ref":"#/components/responses/InvalidApiKey"},"429":{"$ref":"#/components/responses/DataApiLimit"},"503":{"$ref":"#/components/responses/Unavailable"},"504":{"$ref":"#/components/responses/QueryTimeout"}}}},"/v1/jobs/count":{"get":{"operationId":"countJobs","summary":"Count public jobs","description":"Counts jobs matching the same filters as GET /v1/jobs in the latest published jobs catalog, with that catalog's snapshot watermark. Responds 503 catalog_unavailable while no jobs catalog has been published.","x-applyrelay-availability":"pending_jobs_catalog","parameters":[{"name":"company","in":"query","schema":{"type":"string","minLength":1,"maxLength":200},"description":"Employer name contains this text. Case-insensitive. 1-200 characters. A term of 1-2 characters matches the whole employer name or its first word instead (`hp` finds \"HP Inc.\" but not \"Shop HP Repairs\")."},{"name":"company_id","in":"query","schema":{"$ref":"#/components/schemas/CompanyId"},"description":"Only jobs of this company, by its Atlas company ID (lowercase UUID)."},{"name":"title","in":"query","schema":{"type":"string","minLength":1,"maxLength":200},"description":"Job title contains these words as one phrase, in this order (full-text match). \"senior software engineer\" does not match \"Software Engineer, Senior\" or \"Senior Staff Software Engineer\"; use title_advanced, such as senior AND \"software engineer\", to match the words in any order. 1-200 characters."},{"name":"title_advanced","in":"query","schema":{"type":"string","minLength":1,"maxLength":400},"description":"Boolean title search: the words may appear in any order. Supports AND, OR and NOT keywords, &, | and !, parentheses, prefix terms such as engineer:*, and quoted phrases such as \"product manager\". A positive search term is required. An operator is needed between every two words or groups; a NOT written straight after a word (nurse NOT manager) runs as AND NOT and the X-Query-Normalized response header says so. A count with title_advanced and no company, company_id or job_id is an estimate (count_is_estimate true, count_margin and count_note set). When that estimate cannot be made in time, or another slow filter such as near or source is present, the count returns 400 invalid_request; add company, company_id or job_id, or count by title."},{"name":"description_advanced","in":"query","schema":{"type":"string","minLength":1,"maxLength":200},"example":"\"product manager\"","description":"Boolean description search. Supports AND, OR and NOT keywords, &, | and !, parentheses, prefix terms such as engineer:*, and quoted phrases such as \"product manager\". A positive search term is required."},{"name":"q","in":"query","schema":{"type":"string","minLength":1,"maxLength":200},"description":"Keyword search: the phrase appears in the title or description. 1-200 characters. q is a broad full-text search and the slowest filter: with a narrow filter such as a small country it can run past the 90-second limit (503). For job titles use title instead."},{"name":"location","in":"query","schema":{"type":"string","minLength":1,"maxLength":200},"description":"Any job location contains this text (city, region or country as written). Case-insensitive. 1-200 characters."},{"name":"state","in":"query","schema":{"type":"string","minLength":1,"maxLength":200},"description":"Two-letter subdivision code. On its own it means a U.S. state (state=CA is California only); combine with country for another country's subdivision (country=CA&state=BC is British Columbia)."},{"name":"country","in":"query","schema":{"type":"string","pattern":"^[A-Za-z]{2}(,[A-Za-z]{2}){0,9}$","example":"US,CA"},"description":"Two-letter ISO country code, for example US or CA. Case-insensitive. Send up to 10 codes separated by commas to match jobs in any of them."},{"name":"msa","in":"query","schema":{"type":"string","pattern":"^[0-9]{5}$"},"description":"5-digit CBSA code of a metropolitan or micropolitan statistical area, for example 12420 for Austin-Round Rock-San Marcos, TX. Matches any job location whose msa.cbsa_code equals it."},{"name":"near","in":"query","schema":{"type":"string","minLength":1,"maxLength":200,"example":"Austin, TX"},"description":"Radius search: jobs in a US city within radius_miles of this place. Give a 5-digit US ZIP code (78701), a US city with its state (Austin, TX; Austin, Texas; austin tx) or a latitude and longitude (30.27,-97.74). A city without a state, or a place that is not found, returns 400 invalid_request. Distances are straight-line from the place's centre, using Census Bureau place and ZIP centres, and a job matches when one of its locations is a US city inside the circle (nearest 500 cities). Jobs whose locations are all outside the US, or that name no city, never match a radius search. Combine with any other filter."},{"name":"radius_miles","in":"query","schema":{"type":"number","minimum":1,"maximum":100,"default":25},"description":"Radius in miles around near, from 1 to 100. Defaults to 25 when near is given; sending it without near returns 400 invalid_request."},{"name":"group_by","in":"query","schema":{"type":"string","enum":["employer","company","work_arrangement","title","state","city","metro","country","employment_type"]},"description":"Breaks the matching jobs down by one value. company is the same as employer and metro the same as city. employer adds employers, employers_from_jobs, employers_sampled and employers_unknown_jobs. The other values add group_by, groups (the top 25 values with value and jobs, most jobs first, ties by value), groups_from_jobs, groups_sampled and groups_unknown_jobs. state groups US states. A job with several locations or postings can count under more than one value. The breakdown is exact up to 3,000 matching jobs, estimate from a random sample above, and the top 25 values are returned either way. Above 3,000, each jobs number is scaled from a random sample of matching jobs (picked by job id, which is random), groups_sampled is true, and groups_are_estimates plus groups_note say so, including the sample size. Employer breakdowns use employers_are_estimates and employers_note the same way. If the breakdown times out, count is still returned, groups is empty, and groups_note says the breakdown timed out. count is still the total."},{"name":"work_arrangement","in":"query","schema":{"type":"string","enum":["remote","hybrid","in_person"]},"description":"One of remote, hybrid or in_person, as the source states it. Jobs whose source doesn't say are not matched."},{"name":"remote_type","in":"query","description":"Alias for work_arrangement; do not send both.","schema":{"type":"string","enum":["remote","hybrid","in_person"]}},{"name":"employment_type","in":"query","schema":{"type":"string","minLength":1,"maxLength":200},"description":"Employment type as published, for example full_time or part_time. Exact match, case-insensitive. Send up to 10 values separated by commas to match jobs with any of them."},{"name":"source","in":"query","schema":{"type":"string","minLength":1,"maxLength":200},"description":"The source vendor, such as greenhouse or smartrecruiters. Board IDs are not exposed."},{"name":"currentness","in":"query","schema":{"type":"string","default":"current"},"description":"Comma list of current, uncertain and not_current (combined with OR). Defaults to current. A job is current when a completed read of its job source listed it within the last 31 days and no check has found it closed."},{"name":"active","in":"query","description":"true maps to currentness=current; do not send with currentness.","schema":{"type":"boolean"}},{"name":"posted_since","in":"query","schema":{"oneOf":[{"type":"string","format":"date"},{"type":"string","format":"date-time"}]},"description":"Posted on or after this time, by the date the source published. Accepts an RFC 3339 timestamp with a time zone (2026-09-21T00:00:00Z) or a plain date (2026-09-21). A plain date means the start of that day in UTC."},{"name":"posted_until","in":"query","schema":{"oneOf":[{"type":"string","format":"date"},{"type":"string","format":"date-time"}]},"description":"Posted on or before this time. Accepts an RFC 3339 timestamp with a time zone (2026-09-21T00:00:00Z) or a plain date (2026-09-21). A plain date means the end of that day in UTC."},{"name":"published_since","in":"query","description":"Compatibility alias for posted_since; do not send both.","schema":{"oneOf":[{"type":"string","format":"date"},{"type":"string","format":"date-time"}]}},{"name":"first_seen_since","in":"query","schema":{"oneOf":[{"type":"string","format":"date"},{"type":"string","format":"date-time"}]},"description":"First collected by Atlas on or after this time. Accepts an RFC 3339 timestamp with a time zone (2026-09-21T00:00:00Z) or a plain date (2026-09-21)."},{"name":"updated_since","in":"query","schema":{"oneOf":[{"type":"string","format":"date"},{"type":"string","format":"date-time"}]},"description":"Job record last changed on or after this time; use it for incremental pulls. Accepts an RFC 3339 timestamp with a time zone (2026-09-21T00:00:00Z) or a plain date (2026-09-21)."},{"name":"curated_since","in":"query","schema":{"oneOf":[{"type":"string","format":"date"},{"type":"string","format":"date-time"}]},"description":"Entered the final dataset on or after this time. Accepts an RFC 3339 timestamp with a time zone (2026-09-21T00:00:00Z) or a plain date (2026-09-21)."},{"name":"job_id","in":"query","schema":{"type":"string","format":"uuid"},"description":"One job by its job ID (a lowercase UUID)."},{"name":"description","in":"query","schema":{"type":"string","minLength":1,"maxLength":200},"description":"Words that must appear together in the job description. Use description_advanced for a Boolean expression. With no title, q or company filter the count is an estimate (count_is_estimate true, count_margin and count_note set). The description index finds candidate jobs, a random slice of about 300 of them (by job ID) is checked in full, and the share that matched is applied to all candidates. With 1,500 candidates or fewer the count is exact."},{"name":"city","in":"query","schema":{"type":"string","minLength":1,"maxLength":200},"description":"City name. Matches any job location whose city contains this text, case-insensitive. Combine with state and country to narrow it."},{"name":"exclude_source","in":"query","schema":{"type":"string","maxLength":200,"example":"indeed,linkedin"},"description":"Comma list of up to 10 source vendors or source types to leave out. A job still matches when another of its postings comes from a source not on the list."},{"name":"source_type","in":"query","schema":{"type":"string","minLength":1,"maxLength":200},"description":"The kind of job source, as in postings[].source_data.source_type. Exact match, case-insensitive."},{"name":"source_class","in":"query","schema":{"type":"string","enum":["ats","employer-site","government-exchange","aggregator","staffing-network","dataset","purchased","third-party-api","unknown"]},"description":"The class of job source a posting came from, for example ats for an applicant tracking system board or employer-site for a company's own careers page."},{"name":"posting_id","in":"query","schema":{"type":"string","minLength":1,"maxLength":200},"description":"The job that holds this posting, by Atlas's posting ID."},{"name":"source_posting_id","in":"query","schema":{"type":"string","minLength":1,"maxLength":200},"description":"Jobs with a posting that has this source posting ID (the job source's own ID for the listing)."},{"name":"posting_status","in":"query","schema":{"type":"string","enum":["listed","no_longer_listed"]},"description":"Jobs with a posting in this state. listed means the source still shows it; no_longer_listed means a completed read no longer found it."},{"name":"stale","in":"query","schema":{"type":"boolean"},"description":"Atlas source-read freshness flag. True when no linked posting keeps the job current and at least one has aged beyond the source-read freshness window. Read evidence uses the later of the completed board read and the last read that listed the posting, not posted date or first-seen age."},{"name":"company_linked","in":"query","schema":{"type":"boolean"},"description":"true for jobs linked to a company record (company_id is set); false for jobs with no linked company."},{"name":"has_description","in":"query","schema":{"type":"boolean"},"description":"true for jobs with a known description; false for jobs without one."},{"name":"has_location","in":"query","schema":{"type":"boolean"},"description":"true for jobs with at least one known location; false for jobs with none."},{"name":"has_pay","in":"query","schema":{"type":"boolean"},"description":"true for jobs with a posting that publishes pay; false for jobs with a posting that does not."},{"name":"has_posting_url","in":"query","schema":{"type":"boolean"},"description":"true for jobs with a posting that has a known listing URL."},{"name":"has_application_url","in":"query","schema":{"type":"boolean"},"description":"true for jobs with a posting that has a known application URL."},{"name":"pay_currency","in":"query","schema":{"type":"string","example":"USD"},"description":"ISO 4217 currency code. Jobs with a posting whose published pay is in this currency."},{"name":"pay_min","in":"query","schema":{"type":"number","minimum":0,"maximum":1000000000},"description":"Lowest yearly pay. Matches postings whose pay floor is at least this amount. Pay is compared per year (hourly x 2,080, monthly x 12); pay with an unknown interval never matches. Amounts are not converted between currencies, so pair it with pay_currency. Up to two decimal places."},{"name":"pay_max","in":"query","schema":{"type":"number","minimum":0,"maximum":1000000000},"description":"Highest yearly pay. Matches postings whose pay ceiling is at most this amount, compared per year the same way as pay_min. Must not be below pay_min."},{"name":"first_seen_until","in":"query","schema":{"oneOf":[{"type":"string","format":"date"},{"type":"string","format":"date-time"}]},"description":"First collected by Atlas on or before this time. Accepts an RFC 3339 timestamp or a plain date."},{"name":"updated_until","in":"query","schema":{"oneOf":[{"type":"string","format":"date"},{"type":"string","format":"date-time"}]},"description":"Last changed on or before this time. Accepts an RFC 3339 timestamp or a plain date."},{"name":"curated_until","in":"query","schema":{"oneOf":[{"type":"string","format":"date"},{"type":"string","format":"date-time"}]},"description":"Entered the final dataset on or before this time. Accepts an RFC 3339 timestamp or a plain date."},{"name":"last_fetch_since","in":"query","schema":{"oneOf":[{"type":"string","format":"date"},{"type":"string","format":"date-time"}]},"description":"Jobs with a posting whose job source was last read completely on or after this time. Accepts an RFC 3339 timestamp or a plain date."},{"name":"last_fetch_until","in":"query","schema":{"oneOf":[{"type":"string","format":"date"},{"type":"string","format":"date-time"}]},"description":"Jobs with a posting whose job source was last read completely on or before this time. Accepts an RFC 3339 timestamp or a plain date."},{"name":"application_check","in":"query","schema":{"type":"string","enum":["available","closed","broken","inconclusive"]},"description":"Jobs with a posting whose latest application check had this result. available means an application could still be started."},{"name":"application_check_since","in":"query","schema":{"oneOf":[{"type":"string","format":"date"},{"type":"string","format":"date-time"}]},"description":"Jobs with a posting whose latest application check ran on or after this time. Accepts an RFC 3339 timestamp or a plain date."}],"responses":{"200":{"description":"Matching job count and snapshot watermark.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobCountResponse"}}}},"400":{"$ref":"#/components/responses/InvalidRequest"},"401":{"$ref":"#/components/responses/InvalidApiKey"},"429":{"$ref":"#/components/responses/DataApiLimit"},"503":{"$ref":"#/components/responses/Unavailable"},"504":{"$ref":"#/components/responses/QueryTimeout"}}}},"/v1/jobs/cohort-count":{"get":{"operationId":"countJobCohort","summary":"Count one explicitly configured collection cohort","description":"Opt-in, partial-coverage cohort totals and facets, separate from the published catalog count. Requires jobs:read. Only cohortId is accepted; global filters, group_by, pagination and cohort enumeration are unsupported. Disabled or unknown cohorts return the same 404. A configured cohort whose backend is unavailable returns 503, never a global count or zero. Totals and facet counts are exact decimal strings, including values beyond JavaScript's safe integer range. Facets use the cohort reader's existing semantics, not the global API's filters or demo-tenant exclusions. snapshot_binding identifies the source manifest; snapshot_watermark is null because this reader supplies no source as-of timestamp. No currentness, full-catalog coverage or publication-eligibility guarantee is made. Requires an explicitly staged pinned reader bundle, matching completion receipt and immutable cohort target with an established read-only HTTP binding. Configuration alone does not prove target readiness or freshness.","x-applyrelay-availability":"pending_cohort_native_activation","parameters":[{"name":"cohortId","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":200},"description":"Exact configured collection-run ID, case preserved; no surrounding whitespace or duplicate parameter."}],"responses":{"200":{"description":"Exact counts within the explicitly named partial cohort only.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobCohortCountResponse"}}}},"400":{"$ref":"#/components/responses/InvalidRequest"},"401":{"$ref":"#/components/responses/InvalidApiKey"},"403":{"description":"The credential lacks jobs:read permission."},"404":{"description":"Cohort counting is disabled or this cohort is not configured. Error code cohort_not_found; no cohort enumeration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"$ref":"#/components/responses/DataApiLimit"},"503":{"$ref":"#/components/responses/Unavailable"}}}},"/v1/insights":{"get":{"operationId":"getMarketInsights","summary":"Answer a job-market question from the latest checked snapshot","description":"Precomputed answers to ten ready-made job-market questions and four generic ones (lookup, breakdown, negotiate, dimensions) about current US jobs, rebuilt after each full pass over the job boards. The generic questions answer any metric (job count, posted pay p10 to p90, share showing pay, remote, hybrid and in-person shares, posting age, new postings in 7 and 30 days, top employers) for any one or two of the dimensions title, place (US, state, metro or city), company, seniority, employment_type and remote. industry and skill are not in the data and are listed as unavailable. A cell with fewer than 30 open jobs is not stored, and pay figures need at least 30 jobs with pay; every answer reports its sample size. Use question=negotiate with a title, a place and an optional seniority for the salary to ask for. Use question=dimensions to list what can be asked. Before a snapshot is published, sample answers are recomputed a second, independent way and must all match. Every answer carries as_of, open_jobs, a one-line method, the check result and search filters for GET /v1/jobs. A role outside the snapshot's top roles returns available false with filters for a live GET /v1/jobs/count. Free: no jobs are charged. Needs an API key (a free key is enough; the free tier is counted per key), and a request with no key gets 401. To ask without a key, use the market_insights tool on the keyless MCP endpoint https://api.headcountlabs.com/mcp/public. With no question, lists the questions and the covered roles. Responds 503 service_unavailable while no snapshot is published.","parameters":[{"name":"question","in":"query","schema":{"type":"string","enum":["top_employers","pay","work_arrangement","top_metros","jobs_by_state","top_roles","new_postings_employers","pay_transparency","posting_age","multi_state_employers","lookup","breakdown","negotiate","dimensions"]},"description":"The question to answer. Leave out to list the questions."},{"name":"role","in":"query","schema":{"type":"string","minLength":1,"maxLength":120},"example":"Registered Nurse","description":"A standard job title, case-insensitive, singular or plural. Taken by top_employers, pay, work_arrangement, top_metros, new_postings_employers and posting_age. Leave out for every job."},{"name":"place","in":"query","schema":{"type":"string","minLength":2,"maxLength":60},"example":"TX","description":"US (the default), a state code such as TX or US-TX, or a state name. jobs_by_state, top_metros, pay_transparency and multi_state_employers cover the whole US only."},{"name":"title","in":"query","schema":{"type":"string","minLength":1,"maxLength":120},"example":"Registered Nurse","description":"Generic questions. Same as role; send one of the two, not both."},{"name":"company","in":"query","schema":{"type":"string","minLength":1,"maxLength":120},"description":"Generic questions. An employer name."},{"name":"seniority","in":"query","schema":{"type":"string","minLength":1,"maxLength":60},"example":"senior","description":"Generic questions. Read from words in the job title: intern, entry, senior, lead or principal, manager (includes Project Manager and Assistant Manager), director, executive."},{"name":"employment_type","in":"query","schema":{"type":"string","minLength":1,"maxLength":60},"example":"full time","description":"Generic questions. Full time, part time, contract, temporary, internship or per diem."},{"name":"remote","in":"query","schema":{"type":"string","enum":["remote","hybrid","in_person"]},"description":"Generic questions. The work arrangement the source states."},{"name":"metric","in":"query","schema":{"type":"string","enum":["job_count","pay","pay_share","work_arrangement","posting_age","new_postings","top_employers"]},"description":"lookup only. One metric; leave out for all of them."},{"name":"by","in":"query","schema":{"type":"string","enum":["title","state","metro","city","company","seniority","employment_type","remote","place"]},"description":"breakdown only. What to rank. place means state; use metro or city for those."},{"name":"sort","in":"query","schema":{"type":"string","enum":["jobs","pay_median","pay_p75","pay_p90","share_with_pay","remote_share","new_7_days","new_30_days"]},"description":"breakdown only. The metric to rank by. Default jobs."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":50},"description":"breakdown and dimensions. Rows to return."},{"name":"dimension","in":"query","schema":{"type":"string","enum":["title","place","company","seniority","employment_type","remote"]},"description":"dimensions only. Lists the values of this dimension."},{"name":"q","in":"query","schema":{"type":"string","minLength":1,"maxLength":120},"description":"dimensions only. Text to search for among the values."}],"responses":{"200":{"description":"The answer, or the list of questions when question is left out.","content":{"application/json":{"schema":{"type":"object","properties":{"question":{"type":"string"},"as_of":{"type":"string","format":"date-time"},"snapshot_id":{"type":"string"},"method":{"type":"string"},"checked":{"type":"string","example":"checked: 209 of 209 sample cells matched (counts exact, pay and day figures within 0.01, shares within 0.0001)"},"place":{"type":"string","example":"US-TX"},"place_name":{"type":"string","example":"Texas"},"role":{"type":"string"},"available":{"type":"boolean"},"open_jobs":{"type":"integer"},"summary":{"type":"string","example":"As of 2026-10-14, from 84 open jobs."},"answer":{"type":"object","additionalProperties":true},"suggestions":{"type":"array","items":{"type":"string"}},"search":{"type":"object","properties":{"search_jobs_filters":{"type":"object","additionalProperties":{"type":"string"}},"api_url":{"type":"string","format":"uri"}}}}}}}},"400":{"$ref":"#/components/responses/InvalidRequest"},"401":{"$ref":"#/components/responses/InvalidApiKey"},"429":{"$ref":"#/components/responses/DataApiLimit"},"503":{"$ref":"#/components/responses/Unavailable"}}}},"/v1/jobs/{jobId}":{"get":{"operationId":"getJob","summary":"Get a job by ID","description":"Returns one job with all its linked postings from the latest published jobs catalog. Responds 503 catalog_unavailable while no jobs catalog has been published.","x-applyrelay-availability":"pending_jobs_catalog","parameters":[{"name":"jobId","in":"path","required":true,"schema":{"type":"string","$ref":"#/components/schemas/JobId"},"description":"Atlas job ID (lowercase UUID). Merged and withdrawn issued IDs return 410; a merged response names successor_job_id and its legacy alias merged_into_job_id."},{"name":"If-None-Match","in":"header","required":false,"description":"An ETag from an earlier 200 for the same job and the same fields, include and description_format. When it still matches, the answer is 304 with no body and no records are charged.","schema":{"type":"string"}},{"name":"fields","in":"query","description":"Comma list of the job properties to return; repeat the parameter or separate names with commas. Allowed names are job_id, currentness, stale, company_id, employer_name, title, description, work_arrangement, locations, job_first_seen_at, curated_at, job_updated_at, postings, company and normalized. job_id is always returned. Without fields the whole job is returned. An unknown name returns 400. It changes only the shape of each job, never which jobs match.","schema":{"type":"string","example":"title,employer_name,locations"}}],"responses":{"200":{"description":"A public job record with all linked postings. The ETag header identifies this exact body.","headers":{"ETag":{"description":"Strong validator of the response body. Send it back as If-None-Match to poll for changes cheaply.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobDetailResponse"}}}},"304":{"description":"The If-None-Match value still matches the current body. No body is sent and no records are charged.","headers":{"ETag":{"schema":{"type":"string"}}}},"400":{"$ref":"#/components/responses/InvalidRequest"},"401":{"$ref":"#/components/responses/InvalidApiKey"},"404":{"$ref":"#/components/responses/NotFound"},"410":{"description":"An issued job was merged or withdrawn. A merge supplies its successor; a plain withdrawal does not invent one.","headers":{"Cache-Control":{"required":true,"schema":{"type":"string","pattern":"no-store"}},"Location":{"description":"Informational successor URL on a merged tombstone; this is not an HTTP redirect.","schema":{"type":"string","pattern":"^/v1/jobs/"}}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/MergedJob"},{"$ref":"#/components/schemas/WithdrawnJob"}]}}}},"429":{"$ref":"#/components/responses/DataApiLimit"},"503":{"$ref":"#/components/responses/Unavailable"},"504":{"$ref":"#/components/responses/QueryTimeout"}}}},"/v1/jobs/{jobId}/history":{"get":{"operationId":"getJobHistory","x-oauth-scopes":["jobs:read"],"summary":"Read when a job and its postings were first seen","description":"Past versions of jobs are not served. This answer gives the date the job was first seen, the date each of its public postings was first seen and the job's last update time. data is always an empty list and history_served is false. release_id and cursor are refused with 400, because there is no history to page. A merged job answers 410 with successor_job_id; a withdrawn or unknown job answers like the job detail endpoint. Each answer counts as one record under the existing job-detail admission policy.","parameters":[{"name":"jobId","in":"path","required":true,"schema":{"$ref":"#/components/schemas/JobId"}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":200,"default":100},"description":"Accepted for compatibility; there are no versions to page."}],"responses":{"200":{"description":"The job's first-seen dates, with no past versions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicJobFirstSeenResponse"}}}},"400":{"$ref":"#/components/responses/InvalidRequest"},"401":{"$ref":"#/components/responses/InvalidApiKey"},"404":{"$ref":"#/components/responses/NotFound"},"410":{"description":"The job is withdrawn; a merged job names successor_job_id and merged_into_job_id."},"429":{"$ref":"#/components/responses/DataApiLimit"},"503":{"$ref":"#/components/responses/Unavailable"}}}},"/v1/account/overage":{"put":{"operationId":"setOverage","x-oauth-scopes":["overage:write"],"summary":"Turn overage billing on or off and set its monthly limit","description":"Overage is off by default. This operation preserves the current account policy and billing implementation. monthlyLimitUsd is accepted as an optional positive dollar amount with at most two decimals (up to 100000); null clears the stored value and omission keeps it. The active policy determines admission, counting, and billing. The same setting is available through the set_overage MCP tool. It needs the overage:write permission; a token with only jobs:read gets 403 insufficient_scope. This request is not charged against request windows or delivered-record allowance.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"minProperties":1,"properties":{"enabled":{"type":"boolean"},"monthlyLimitUsd":{"type":["number","null"],"exclusiveMinimum":0,"maximum":100000,"multipleOf":0.01,"description":"Monthly overage limit in US dollars; null clears it (no limit). Omit to keep the stored value."}}}}}},"responses":{"200":{"description":"The overage setting and this month's overage use.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OverageStatus"}}}},"400":{"$ref":"#/components/responses/InvalidRequest"},"401":{"$ref":"#/components/responses/InvalidApiKey"},"403":{"description":"upgrade_required (free plan; the error carries upgrade_url) or no_active_subscription.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"overage_item_conflict. The subscription already carries another plan's overage price; contact support.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"$ref":"#/components/responses/Unavailable"}}}},"/v1/usage/requests":{"get":{"operationId":"listUsageRequests","x-oauth-scopes":["usage:read"],"summary":"List customer request events","description":"Lists the authenticated customer's admitted requests. The cursor freezes admission membership for one hour; settlement status stays current.","parameters":[{"$ref":"#/components/parameters/UsageFrom"},{"$ref":"#/components/parameters/UsageTo"},{"$ref":"#/components/parameters/UsageRouteClass"},{"$ref":"#/components/parameters/UsageApiKeyId"},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50},"description":"Rows per page, 1-100. Defaults to 50."},{"name":"cursor","in":"query","schema":{"type":"string","minLength":1,"maxLength":8192},"description":"The next_cursor from the previous page. Usage cursors expire after one hour."}],"responses":{"200":{"description":"A page of request events.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsageRequestsPage"}}}},"400":{"$ref":"#/components/responses/InvalidRequest"},"401":{"$ref":"#/components/responses/InvalidApiKey"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/DataApiLimit"},"503":{"$ref":"#/components/responses/Unavailable"}}}},"/v1/usage/analytics":{"get":{"operationId":"getUsageAnalytics","x-oauth-scopes":["usage:read"],"summary":"Read customer daily usage","description":"Reports up to 100,000 unique events and 1,000 groups in a period of at most 31 days. Request metrics use admission day; record metrics use finalization day.","parameters":[{"$ref":"#/components/parameters/UsageFrom"},{"$ref":"#/components/parameters/UsageTo"},{"$ref":"#/components/parameters/UsageRouteClass"},{"$ref":"#/components/parameters/UsageApiKeyId"},{"name":"group_by","in":"query","schema":{"type":"string","enum":["route_class","status_class","api_key_id"]},"description":"Group the totals by route_class, status_class or api_key_id. Omit it for one overall total."}],"responses":{"200":{"description":"Daily usage groups.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsageAnalytics"}}}},"400":{"$ref":"#/components/responses/InvalidRequest"},"401":{"$ref":"#/components/responses/InvalidApiKey"},"404":{"$ref":"#/components/responses/NotFound"},"422":{"description":"The report exceeded a complete-result limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"$ref":"#/components/responses/DataApiLimit"},"503":{"$ref":"#/components/responses/Unavailable"}}}}},"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer"}},"parameters":{"CompanyId":{"name":"companyId","in":"path","required":true,"schema":{"$ref":"#/components/schemas/CompanyId"},"description":"Atlas company ID (lowercase UUID). A merged or withdrawn issued ID returns 410 with successor_company_id (null when there is no successor)."},"CompanyLimit":{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50},"description":"Page size, 1-100. Defaults to 50."},"CompanyCursor":{"name":"cursor","in":"query","schema":{"type":"string","minLength":1,"maxLength":2048},"description":"The next_cursor from the previous page. It pins the company release it started on."},"UsageFrom":{"name":"from","in":"query","required":true,"description":"Inclusive UTC RFC 3339 timestamp.","schema":{"type":"string","format":"date-time"}},"UsageTo":{"name":"to","in":"query","required":true,"description":"Exclusive UTC RFC 3339 timestamp; at most 31 days after from.","schema":{"type":"string","format":"date-time"}},"UsageRouteClass":{"name":"route_class","in":"query","schema":{"type":"string","enum":["jobs.list","jobs.detail","jobs.changes","jobs.count","companies.jobs","companies.list","companies.detail","companies.search","usage.requests","usage.analytics"]},"description":"Only requests of this kind, for example jobs.list, jobs.count or companies.detail."},"UsageApiKeyId":{"name":"api_key_id","in":"query","schema":{"type":"string","minLength":1,"maxLength":200},"description":"Only requests made with this key (one of your own keys)."}},"responses":{"CompanyWithdrawn":{"description":"A previously issued company ID was merged or withdrawn from publication.","headers":{"Cache-Control":{"required":true,"schema":{"type":"string","pattern":"no-store"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WithdrawnCompany"}}}},"InvalidRequest":{"description":"The request parameters or body are invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"InvalidApiKey":{"description":"A valid bearer API key is required.","headers":{"WWW-Authenticate":{"required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"NotFound":{"description":"The job, company or customer-owned API key was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"DataApiLimit":{"description":"A request window, the 100,000 free records of the UTC month (accounts without paid usage), the account's monthly spend cap, or an older monthly plan's allowance was reached.","headers":{"Retry-After":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"Unavailable":{"description":"The required service or publication is unavailable (code catalog_unavailable or service_unavailable). service_unavailable is also returned when a search or count is stopped at the 90-second limit (no records are charged; narrow it, for example use title instead of q, rather than repeating it) and when three long searches are already running (retry in a minute).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"QueryTimeout":{"description":"The query was stopped at the time limit (code query_timeout). No records are charged. Do not repeat it unchanged: narrow the filters, for example use title instead of q and add a state or employer. Job searches and counts now report a stopped query as 503 service_unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"schemas":{"PublicJobFirstSeenResponse":{"type":"object","required":["data","job_id","history_served","first_seen_at","last_updated_at","postings","next_cursor","coverage","note"],"properties":{"data":{"type":"array","maxItems":0,"description":"Always empty; past versions are not served."},"job_id":{"$ref":"#/components/schemas/JobId"},"history_served":{"const":false},"first_seen_at":{"type":["string","null"],"format":"date-time","description":"When the job was first seen."},"last_updated_at":{"type":["string","null"],"format":"date-time","description":"When the job record last changed."},"postings":{"type":"array","items":{"type":"object","required":["posting_id","first_seen_at"],"properties":{"posting_id":{"type":"string"},"first_seen_at":{"type":["string","null"],"format":"date-time"}}}},"next_cursor":{"type":"null"},"coverage":{"type":"object","required":["complete_history","past_versions","pre_capture_history"],"properties":{"complete_history":{"const":false},"past_versions":{"const":"not_served"},"pre_capture_history":{"const":"unavailable"}}},"note":{"type":"string"}}},"MergedJob":{"type":"object","required":["data","job_id","membership","successor_job_id","merged_into_job_id"],"additionalProperties":false,"properties":{"data":{"type":"null"},"job_id":{"$ref":"#/components/schemas/JobId"},"membership":{"const":"merged"},"successor_job_id":{"$ref":"#/components/schemas/JobId"},"merged_into_job_id":{"$ref":"#/components/schemas/JobId","description":"Compatibility alias for successor_job_id."}}},"WithdrawnJob":{"allOf":[{"$ref":"#/components/schemas/ErrorEnvelope"},{"type":"object","properties":{"error":{"properties":{"code":{"const":"job_withdrawn"}}}}}]},"WithdrawnCompany":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","request_id","company_id","successor_company_id"],"properties":{"code":{"const":"company_withdrawn"},"message":{"type":"string"},"request_id":{"type":"string"},"company_id":{"$ref":"#/components/schemas/CompanyId"},"successor_company_id":{"oneOf":[{"$ref":"#/components/schemas/CompanyId"},{"type":"null"}]},"canonical_company_id":{"$ref":"#/components/schemas/CompanyId","description":"Legacy successor alias on merged companies."}}}}},"JobsExport":{"type":"object","required":["export_id","status","created_at","completed_at","expires_at","record_count","snapshot_watermark","request","files"],"properties":{"export_id":{"type":"string","format":"uuid"},"status":{"type":"string","enum":["queued","running","completed","failed","expired"]},"created_at":{"type":"string","format":"date-time"},"completed_at":{"type":["string","null"],"format":"date-time"},"expires_at":{"type":["string","null"],"format":"date-time"},"record_count":{"type":"integer","minimum":0},"snapshot_watermark":{"type":["string","null"]},"request":{"type":"object"},"files":{"type":"array","items":{"type":"object","required":["n","records","bytes","url"],"properties":{"n":{"type":"integer","minimum":1},"records":{"type":"integer","minimum":1},"bytes":{"type":"integer","minimum":0},"url":{"type":"string"}}}},"error":{"type":"string"}}},"CompanyId":{"type":"string","format":"uuid","pattern":"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"},"JobId":{"type":"string","format":"uuid","pattern":"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"},"FieldStateSourceOmitted":{"type":"object","description":"The source did not publish this field.","additionalProperties":false,"required":["state"],"properties":{"state":{"const":"source_omitted"}}},"FieldStateSourceUnmapped":{"type":"object","description":"The source published a value outside this field's vocabulary. The value stays null and evidence keeps the source's own words.","additionalProperties":false,"required":["state","value","evidence"],"properties":{"state":{"const":"source_unmapped"},"value":{"type":"null"},"evidence":{"type":"array","items":{"type":"string"}}}},"FieldStateExtractionFailed":{"type":"object","description":"The source published this field but Atlas could not read it.","additionalProperties":false,"required":["state"],"properties":{"state":{"const":"extraction_failed"}}},"FieldStateKnownString":{"type":"object","additionalProperties":false,"required":["state","value"],"properties":{"state":{"const":"known"},"value":{"type":"string"}}},"FieldStateDerivedString":{"type":"object","description":"A value computed from source data by a fixed rule, never by a model. Evidence names the rule's input.","additionalProperties":false,"required":["state","value","evidence"],"properties":{"state":{"const":"derived"},"value":{"type":"string"},"evidence":{"type":"array","items":{"type":"string"}}}},"FieldStateString":{"oneOf":[{"$ref":"#/components/schemas/FieldStateKnownString"},{"$ref":"#/components/schemas/FieldStateSourceOmitted"},{"$ref":"#/components/schemas/FieldStateSourceUnmapped"},{"$ref":"#/components/schemas/FieldStateExtractionFailed"},{"$ref":"#/components/schemas/FieldStateDerivedString"}]},"FieldStateKnownDescription":{"type":"object","description":"The description text. evidence is present only when Atlas has a note about how the text was made, such as \"description made from the source's sections (...); the source published no single description\" when the source publishes its text only in separate sections, or \"display formatting derived from source description HTML as Markdown\".","additionalProperties":false,"required":["state","value"],"properties":{"state":{"const":"known"},"value":{"type":"string"},"evidence":{"type":"array","items":{"type":"string"}}}},"FieldStateSourceOmittedDescription":{"type":"object","description":"The source published no description. evidence is present when Atlas read the posting's detail response in full and found every description field present and empty: \"no description published by the source; every description field in the detail response is present and empty (...)\", with the source's field names. It is never present on extraction_failed, which means the source published a description that Atlas could not read.","additionalProperties":false,"required":["state"],"properties":{"state":{"const":"source_omitted"},"evidence":{"type":"array","items":{"type":"string"}}}},"FieldStateDescription":{"oneOf":[{"$ref":"#/components/schemas/FieldStateKnownDescription"},{"$ref":"#/components/schemas/FieldStateSourceOmittedDescription"},{"$ref":"#/components/schemas/FieldStateSourceUnmapped"},{"$ref":"#/components/schemas/FieldStateExtractionFailed"},{"$ref":"#/components/schemas/FieldStateDerivedString"}]},"FieldStateKnownWorkArrangement":{"type":"object","additionalProperties":false,"required":["state","value"],"properties":{"state":{"const":"known"},"value":{"type":"string","enum":["remote","hybrid","in_person"]}}},"FieldStateDerivedWorkArrangement":{"type":"object","description":"A value computed from source data by a fixed rule, never by a model. Evidence names the rule's input.","additionalProperties":false,"required":["state","value","evidence"],"properties":{"state":{"const":"derived"},"value":{"type":"string","enum":["remote","hybrid","in_person"]},"evidence":{"type":"array","items":{"type":"string"}}}},"FieldStateWorkArrangement":{"oneOf":[{"$ref":"#/components/schemas/FieldStateKnownWorkArrangement"},{"$ref":"#/components/schemas/FieldStateSourceOmitted"},{"$ref":"#/components/schemas/FieldStateSourceUnmapped"},{"$ref":"#/components/schemas/FieldStateExtractionFailed"},{"$ref":"#/components/schemas/FieldStateDerivedWorkArrangement"}]},"FieldStateKnownObject":{"type":"object","additionalProperties":false,"required":["state","value"],"properties":{"state":{"const":"known"},"value":{"type":"object","additionalProperties":true}}},"FieldStateDerivedObject":{"type":"object","description":"A value computed from source data by a fixed rule, never by a model. Evidence names the rule's input.","additionalProperties":false,"required":["state","value","evidence"],"properties":{"state":{"const":"derived"},"value":{"type":"object","additionalProperties":true},"evidence":{"type":"array","items":{"type":"string"}}}},"FieldStateObject":{"oneOf":[{"$ref":"#/components/schemas/FieldStateKnownObject"},{"$ref":"#/components/schemas/FieldStateSourceOmitted"},{"$ref":"#/components/schemas/FieldStateSourceUnmapped"},{"$ref":"#/components/schemas/FieldStateExtractionFailed"},{"$ref":"#/components/schemas/FieldStateDerivedObject"}]},"PublicMoneyAmountStatus":{"type":"string","enum":["ok","missing","invalid","unknown_unit","out_of_int64","unsafe_json_integer"]},"PublicMoney":{"type":"object","additionalProperties":false,"required":["kind","min_cents","max_cents","amount_cents","currency","period","source_path","amount_status"],"properties":{"kind":{"type":"string","enum":["range","average"]},"min_cents":{"type":["integer","null"],"minimum":-9007199254740991,"maximum":9007199254740991},"max_cents":{"type":["integer","null"],"minimum":-9007199254740991,"maximum":9007199254740991},"amount_cents":{"type":["integer","null"],"minimum":-9007199254740991,"maximum":9007199254740991},"currency":{"type":["string","null"]},"period":{"type":"string","enum":["hour","day","week","month","year","unknown"]},"source_path":{"type":"string","description":"Field path identifying the published amount; never the original source object."},"amount_status":{"type":"object","additionalProperties":false,"required":["min","max","amount"],"properties":{"min":{"$ref":"#/components/schemas/PublicMoneyAmountStatus"},"max":{"$ref":"#/components/schemas/PublicMoneyAmountStatus"},"amount":{"$ref":"#/components/schemas/PublicMoneyAmountStatus"}}}}},"PublicEmploymentTypeCanonical":{"description":"CC-018 derived employment metadata, independent of the unchanged raw employment_type string. Explicit null value records abstention; the whole object is never null. Evidence contains only approved source paths and quotes.","type":"object","additionalProperties":false,"required":["value","basis","evidence","policyVersion"],"properties":{"value":{"description":"Canonical employment type, or null when the source conflicts or omits it.","type":["string","null"],"enum":["full-time","part-time","contract","temporary","internship",null]},"basis":{"description":"How the value was decided: stated by the source, from stated weekly hours, conflicting source statements, or not stated.","type":"string","enum":["source_stated","weekly_hours","conflicting","source_omitted"]},"policyVersion":{"description":"Version of the canonical employment policy; currently 1.","const":1},"evidence":{"description":"Source paths and quotes the value was decided from.","type":"array","items":{"type":"object","additionalProperties":false,"required":["sourcePath","quote"],"properties":{"sourcePath":{"description":"Path of the source field the quote came from.","type":"string","minLength":1},"quote":{"description":"Quoted source text.","type":"string","minLength":1}}}}},"allOf":[{"if":{"properties":{"basis":{"enum":["conflicting","source_omitted"]}}},"then":{"properties":{"value":{"type":"null"}}},"else":{"properties":{"value":{"type":"string"}}}},{"if":{"properties":{"basis":{"enum":["source_stated","weekly_hours","conflicting"]}}},"then":{"properties":{"evidence":{"minItems":1}}}}]},"PublicSupplementalPay":{"description":"CC-019 supplemental component. Order, nullable amounts, cadence and amount statuses are preserved without annualization, salary promotion or currency conversion. Raw values, source objects and native receipts are excluded.","type":"object","additionalProperties":false,"required":["componentType","cadence","value","sourcePath"],"properties":{"componentType":{"description":"Kind of supplemental pay, or null when the source does not say.","type":["string","null"],"enum":["sign_on_incentive","bonus",null]},"sourcePath":{"description":"Path of the source field this component came from.","type":"string"},"cadence":{"description":"Whether the component is paid once, on a recurring period, or unknown.","oneOf":[{"type":"object","additionalProperties":false,"required":["kind"],"properties":{"kind":{"description":"Paid once, or cadence unknown.","type":"string","enum":["one_time","unknown"]}}},{"type":"object","additionalProperties":false,"required":["kind","period"],"properties":{"kind":{"description":"Paid on a recurring period.","const":"recurring"},"period":{"description":"Recurrence period.","type":"string","enum":["hour","day","week","month","year","unknown"]}}}]},"value":{"description":"Stated amount in integer cents, or null when the source gives no amount.","oneOf":[{"type":"null"},{"type":"object","additionalProperties":false,"required":["kind","min_cents","max_cents","amount_cents","currency","period","amount_status"],"properties":{"kind":{"description":"Shape of the stated amount.","type":["string","null"],"enum":["range","minimum","maximum","exact","average",null]},"min_cents":{"description":"Minimum in integer cents.","type":["integer","null"],"minimum":-9007199254740991,"maximum":9007199254740991},"max_cents":{"description":"Maximum in integer cents.","type":["integer","null"],"minimum":-9007199254740991,"maximum":9007199254740991},"amount_cents":{"description":"Single amount in integer cents.","type":["integer","null"],"minimum":-9007199254740991,"maximum":9007199254740991},"currency":{"description":"ISO currency code as stated, or null.","type":["string","null"]},"period":{"description":"Pay period of the amount, without conversion.","type":"string","enum":["hour","day","week","month","year","unknown"]},"amount_status":{"description":"Parse status of each amount.","type":"object","additionalProperties":false,"required":["min","max","amount"],"properties":{"min":{"$ref":"#/components/schemas/PublicMoneyAmountStatus"},"max":{"$ref":"#/components/schemas/PublicMoneyAmountStatus"},"amount":{"$ref":"#/components/schemas/PublicMoneyAmountStatus"}}}}}]}}},"JobPosting":{"type":"object","additionalProperties":false,"required":["posting_id","source","source_posting_id","posting_status","posting_url","application_url","location","pay","source_posted_at","first_seen_at","last_completed_fetch_at","latest_application_check","attribution"],"properties":{"posting_id":{"description":"Atlas's ID for this posting (one public listing of the job on one job source).","type":"string"},"source":{"type":"string","description":"The job source vendor, such as greenhouse or smartrecruiters."},"source_posting_id":{"description":"The job source's own ID for this posting.","type":"string"},"posting_status":{"description":"listed while the source still shows the posting; no_longer_listed once a completed fetch no longer finds it.","type":"string","enum":["listed","no_longer_listed"]},"posting_url":{"description":"The posting's public page on the job source.","$ref":"#/components/schemas/FieldStateString"},"application_url":{"description":"Where to apply for this posting, when the source gives an application link.","$ref":"#/components/schemas/FieldStateString"},"location":{"description":"The posting's location as the source published it (city, region, country). When the posting itself states a US postal code that is real and lies in the stated state, the object also has zip, the 5-digit ZIP (ZIP+4 is cut to 5). zip is absent for a city-only location, a street address without a ZIP, a remote posting and any non-US location; it is never derived from a city or a point.","$ref":"#/components/schemas/FieldStateObject"},"pay":{"description":"Pay as the source published it (minimum, maximum, currency and period), not converted.","$ref":"#/components/schemas/FieldStateObject"},"money":{"description":"Approved normalized money entries in source order. Amounts are integer cents, without currency or period conversion. Absent on projections published before money transport; available independently of include=source_data. Legacy pay retains its original units.","type":"array","items":{"$ref":"#/components/schemas/PublicMoney"}},"employment_type_canonical":{"description":"Optional approved canonical employment refinement; absent on older projections or invalid canonical metadata. Available independently of include=source_data and subject to the parent posting's rights.","$ref":"#/components/schemas/PublicEmploymentTypeCanonical"},"supplemental_pay":{"description":"Optional approved supplemental pay components. Absent, null and an empty array remain distinct. Available independently of include=source_data and subject to the parent posting's rights; legacy pay and money are unchanged.","type":["array","null"],"items":{"$ref":"#/components/schemas/PublicSupplementalPay"}},"source_posted_at":{"description":"The date the job source says the posting was published.","type":["string","null"],"format":"date-time"},"first_seen_at":{"description":"When Atlas first collected this posting.","type":"string","format":"date-time"},"last_completed_fetch_at":{"description":"When Atlas last read the posting's job source completely.","type":["string","null"],"format":"date-time"},"latest_application_check":{"description":"Atlas's latest check of whether an application can still be started (available, closed, broken or inconclusive) and when it ran.","oneOf":[{"type":"object","additionalProperties":false,"required":["result","checked_at"],"properties":{"result":{"type":"string","enum":["available","closed","broken","inconclusive"]},"checked_at":{"type":"string","format":"date-time"}}},{"type":"null"}]},"attribution":{"type":"object","description":"What the job source's rights record says about crediting it. null means the rights record does not say. When required is true, show text and link with the job.","additionalProperties":false,"required":["required","text","link"],"properties":{"required":{"description":"true when the job source asks to be credited next to the job.","type":["boolean","null"]},"text":{"description":"The credit text to show.","type":["string","null"]},"link":{"description":"The credit link to show.","type":["string","null"]}}},"hiring_team":{"type":"array","description":"The roles and titles of the recruiters and hiring managers that the source published for this posting. Present only when source data contains a hiring team. Contact names, email addresses, phone numbers and photos are not included, and a contact with neither a role nor a title is left out.","items":{"type":"object","additionalProperties":false,"properties":{"title":{"type":"string","description":"The contact title as published by the source."},"role":{"type":"string","description":"The contact role as published by the source."},"profile_url":{"type":"string","format":"uri","description":"The contact profile URL, when the source supplies an HTTP or HTTPS URL."}}}},"source_data":{"type":"object","description":"Allowlisted source metadata, present only when requested. The source payload and internal extraction details are not published.","additionalProperties":false,"properties":{"job_location_type":{"type":["string","null"],"description":"The source's own work-location label, as published."},"source_posted_at":{"description":"The source's posted date, as published.","type":["string","null"]},"source_updated_at":{"description":"The source's own last-updated time, as published.","type":["string","null"]},"employment_type":{"description":"The source's employment type label, such as full_time, as published.","type":["string","null"]},"source_type":{"description":"The kind of job source, such as an ATS board or an employer site.","type":["string","null"]},"availability":{"description":"Whether the source shows the posting as listed.","type":"string"}}}}},"Job":{"type":"object","additionalProperties":false,"required":["job_id","currentness","stale","company_id","employer_name","title","description","work_arrangement","locations","job_first_seen_at","curated_at","job_updated_at","postings"],"properties":{"job_id":{"description":"The combined Headcount Labs job ID. One job links every posting of the same opening.","$ref":"#/components/schemas/JobId"},"merged_into_job_id":{"$ref":"#/components/schemas/JobId","description":"Compatibility successor alias on merged-job tombstones."},"currentness":{"description":"current while a linked posting is listed and accepting applications; uncertain when Atlas cannot confirm that; not_current when every linked posting is no longer listed.","type":"string","enum":["current","uncertain","not_current"]},"stale":{"description":"Atlas source-read freshness flag, copied without an API age rule. True when no linked posting keeps the job current and at least one is stale. Atlas measures read freshness from the later of the completed board read and the last read that listed that posting; posted date and first-seen age do not set this flag.","type":"boolean"},"company_id":{"description":"The Atlas company record. Null when the job's employer is not yet linked to a company record; employer_name then carries the name the source published.","oneOf":[{"$ref":"#/components/schemas/CompanyId"},{"type":"null"}]},"employer_name":{"description":"The employer name.","$ref":"#/components/schemas/FieldStateString"},"title":{"description":"The job title.","$ref":"#/components/schemas/FieldStateString"},"description":{"description":"The job description as plain text.","$ref":"#/components/schemas/FieldStateDescription"},"work_arrangement":{"description":"remote, hybrid or in_person, as the source states it.","$ref":"#/components/schemas/FieldStateWorkArrangement"},"locations":{"description":"Every location of the job, combined from its linked postings. A known location value holds the address fields (street, city, region, postal_code, country); zip, the 5-digit US ZIP the posting states for that place when it states one that is real and in the stated state (the key is absent otherwise); and, when Atlas could place the location, county_fips (5-digit US county FIPS code, a string such as 48453) and msa (cbsa_code, cbsa_title and type, metro or micro, of the metropolitan or micropolitan statistical area; null when the location is in no statistical area).","type":"array","items":{"$ref":"#/components/schemas/FieldStateObject"}},"job_first_seen_at":{"description":"When Atlas first collected any posting of this job.","type":"string","format":"date-time"},"curated_at":{"description":"When the job first entered the final dataset.","type":"string","format":"date-time"},"job_updated_at":{"description":"When the job record last changed; sort=updated orders by this.","type":"string","format":"date-time"},"postings":{"type":"array","items":{"$ref":"#/components/schemas/JobPosting"}},"company":{"description":"The linked public company record. Present only with include=company or fields=company; null when the job has no public company record.","oneOf":[{"$ref":"#/components/schemas/Company"},{"type":"null"}]},"normalized":{"description":"Rule ids Atlas applied to normalize this job's fields. Present only when at least one rule applied; served by the fresh catalog.","type":"array","items":{"type":"object","additionalProperties":false,"required":["field","rule_id"],"properties":{"field":{"type":"string","description":"The job field the rule changed, such as title or locations."},"rule_id":{"type":"string","description":"Id of the Atlas normalization rule that changed the field."}}}}}},"JobDetailResponse":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Job"}}},"JobListResponse":{"type":"object","additionalProperties":false,"required":["data","next_cursor","snapshot_watermark"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Job"}},"next_cursor":{"type":["string","null"]},"snapshot_watermark":{"type":"string","format":"date-time","description":"Complete through: every change up to this time is in the catalog."},"newest_update":{"type":"string","format":"date-time","description":"Newest update: when the newest fresh data was written. Present when fresh data has been written; it can be later than snapshot_watermark while older changes are still being applied."},"total":{"type":["integer","null"],"description":"How many jobs match the filters, the same number GET /v1/jobs/count returns. Counted beside the page and given only when the count finishes within the time the page took, so a search is never slower; null (with total_note) when the filters are slow to count (description, description_advanced, title_advanced or q without company, near or source filters) or the count was not ready. Use GET /v1/jobs/count then."},"total_is_estimate":{"type":"boolean","description":"true when total is an estimate rather than an exact count, as count_is_estimate on GET /v1/jobs/count."},"total_margin":{"type":"integer","description":"When total is an estimate: the 95% range either side of it."},"total_note":{"type":"string","description":"Why total is null."}}},"JobChange":{"type":"object","required":["event_id","job_id","type","occurred_at"],"properties":{"event_id":{"type":"string"},"job_id":{"$ref":"#/components/schemas/JobId"},"type":{"type":"string","enum":["created","updated","expired"]},"occurred_at":{"type":"string","format":"date-time"},"job":{"$ref":"#/components/schemas/Job"}}},"JobsChangesResponse":{"type":"object","required":["data","resume_cursor","has_more","snapshot_watermark"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/JobChange"}},"resume_cursor":{"type":"string"},"has_more":{"type":"boolean"},"snapshot_watermark":{"type":"string","format":"date-time"}}},"JobCohortCountResponse":{"type":"object","additionalProperties":false,"required":["scope","cohortId","coverage","count","count_is_estimate","snapshot_binding","snapshot_watermark","full_catalog_coverage","current","publication_eligible","company_activity_supported","facets"],"properties":{"scope":{"type":"string","const":"cohort"},"cohortId":{"type":"string","minLength":1,"maxLength":200},"coverage":{"type":"string","const":"partial"},"count":{"type":"string","pattern":"^(0|[1-9][0-9]*)$","description":"Exact nonnegative decimal total within this cohort; never converted to a JSON number."},"count_is_estimate":{"type":"boolean","const":false},"snapshot_binding":{"type":"string","minLength":1,"description":"Source manifest binding supplied by the reader, not a timestamp or freshness claim."},"snapshot_watermark":{"type":"null","description":"No source as-of timestamp is supplied by this reader."},"full_catalog_coverage":{"type":"boolean","const":false},"current":{"type":"boolean","const":false},"publication_eligible":{"type":"boolean","const":false},"company_activity_supported":{"type":"boolean","const":false},"facets":{"type":"array","description":"Existing cohort facet tuples; overlapping facet counts must not be summed as a catalog total.","items":{"type":"object","additionalProperties":false,"required":["facet","value","currentness","count"],"properties":{"facet":{"type":"string"},"value":{"type":"string"},"currentness":{"type":"string"},"count":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"}}}}}},"JobCountResponse":{"type":"object","required":["count","snapshot_watermark"],"properties":{"count":{"type":"integer","minimum":0},"snapshot_watermark":{"type":"string","format":"date-time","description":"Complete through: every change up to this time is in the catalog."},"newest_update":{"type":"string","format":"date-time","description":"Newest update: when the newest fresh data was written. Present when fresh data has been written; it can be later than snapshot_watermark while older changes are still being applied."},"count_is_estimate":{"type":"boolean","description":"Present and true when the filters were too broad to count exactly in time. count is then an estimate from one slice of the job ID space, or, for a description search with no title, q or company filter, from the share of matching jobs in a random slice of those the description index found; count_margin and count_note say how far off it can be."},"count_margin":{"type":"integer","minimum":0,"description":"Only with count_is_estimate. The 95% range either side of count."},"count_note":{"type":"string","description":"Only with count_is_estimate. How the estimate was made."},"group_by":{"type":"string","enum":["work_arrangement","title","state","city","country","employment_type"],"description":"Only with group_by other than employer. The grouping that was applied."},"groups":{"type":"array","maxItems":25,"description":"Only with group_by other than employer. The values with the most grouped jobs, most first, ties by value. Jobs with no known value are counted in groups_unknown_jobs.","items":{"type":"object","required":["value","jobs"],"properties":{"value":{"type":"string"},"jobs":{"type":"integer","minimum":1}}}},"groups_from_jobs":{"type":"integer","minimum":0,"description":"Only with group_by other than employer. How many matching jobs the breakdown is based on. For an exact breakdown this is every match. For an estimate it is the number of matching jobs in the random slice, not the scaled total."},"groups_sampled":{"type":"boolean","description":"Only with group_by other than employer. True when the breakdown is not an exact count of every match."},"groups_are_estimates":{"type":"boolean","description":"Present and true when each jobs number was scaled from a random slice of matching jobs, not counted exactly."},"groups_note":{"type":"string","description":"Plain-language note when the breakdown is an estimate (how it was scaled) or when the breakdown timed out. Absent when the breakdown is exact."},"groups_unknown_jobs":{"type":"integer","minimum":0,"description":"Only with group_by other than employer. Matching jobs that have no known value for the grouping. Scaled the same way as jobs when the breakdown is an estimate."},"employers":{"type":"array","maxItems":25,"description":"Only with group_by=employer. The employers with the most grouped jobs, most first, ties by name. Jobs with no known employer name are left out and counted in employers_unknown_jobs.","items":{"type":"object","required":["employer_name","company_id","jobs"],"properties":{"employer_name":{"type":"string"},"company_id":{"oneOf":[{"$ref":"#/components/schemas/CompanyId"},{"type":"null"}],"description":"The Atlas company ID when the employer is linked to one."},"jobs":{"type":"integer","minimum":1}}}},"employers_from_jobs":{"type":"integer","minimum":0,"description":"Only with group_by=employer. How many matching jobs the breakdown is based on. For an exact breakdown this is every match. For an estimate it is the number of matching jobs in the random slice, not the scaled total."},"employers_sampled":{"type":"boolean","description":"Only with group_by=employer. True when the employer breakdown is not an exact count of every match."},"employers_are_estimates":{"type":"boolean","description":"Present and true when each employer jobs number was scaled from a random slice of matching jobs, not counted exactly."},"employers_note":{"type":"string","description":"Plain-language note when the employer breakdown is an estimate (how it was scaled) or when the breakdown timed out. Absent when the breakdown is exact."},"employers_unknown_jobs":{"type":"integer","minimum":0,"description":"Only with group_by=employer. Grouped jobs that have no known employer name."}}},"Company":{"type":"object","additionalProperties":false,"required":["company_id","name","country","status","region","address_source","identifiers","industries"],"properties":{"company_id":{"$ref":"#/components/schemas/CompanyId"},"name":{"type":"string"},"country":{"type":["string","null"],"description":"ISO 3166-1 alpha-2 code, or null when the registry country is unknown."},"status":{"type":"string","enum":["active","retired","merged"]},"region":{"type":["string","null"],"description":"State or province code from the same government address as country, or null when unknown."},"address_source":{"type":["string","null"],"enum":["sec","dol_form5500",null],"description":"Which government address gave country and region: sec (SEC business address) or dol_form5500 (Form 5500 plan sponsor address). Null when no government address is known."},"identifiers":{"type":"array","description":"Public registry identifiers, each from a US-government public source. Empty when none is known.","items":{"type":"object","additionalProperties":false,"required":["scheme","value","exchange","source"],"properties":{"scheme":{"type":"string","enum":["sec_cik","ein","uei","ticker"],"description":"sec_cik is the 10-digit SEC Central Index Key; ein the 9-digit IRS Employer Identification Number; uei the 12-character SAM.gov Unique Entity ID; ticker a stock symbol from the SEC's company ticker list."},"value":{"type":"string"},"exchange":{"type":["string","null"],"description":"The listing exchange for a ticker when the SEC gives one, otherwise null."},"source":{"type":"string","enum":["sec","dol_form5500","sam_gov"]}}}},"industries":{"type":"array","description":"Industry codes, each from a US-government public source. Empty when none is known.","items":{"type":"object","additionalProperties":false,"required":["system","code","source"],"properties":{"system":{"type":"string","enum":["naics","sic"]},"code":{"type":"string","pattern":"^[0-9]{2,6}$"},"source":{"type":"string","enum":["sec","dol_form5500","sam_gov"]}}}}}},"CompanyPage":{"type":"object","additionalProperties":false,"required":["data","next_cursor"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Company"}},"next_cursor":{"type":["string","null"]}}},"CompanySearchRequest":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string","minLength":1,"maxLength":200,"description":"Case-insensitive canonical-name substring after trimming."},"country":{"type":"string","pattern":"^[A-Za-z]{2}$","description":"ISO 3166-1 alpha-2 code, case-insensitive."},"status":{"type":"string","enum":["active","retired","merged"]},"limit":{"type":"integer","minimum":1,"maximum":100,"default":50},"cursor":{"type":"string","minLength":1,"maxLength":2048}}},"ErrorEnvelope":{"type":"object","additionalProperties":false,"required":["error"],"properties":{"error":{"type":"object","additionalProperties":false,"required":["code","message","request_id"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"request_id":{"type":"string"},"alias":{"type":"string","description":"Previous error code, when the primary `code` is new. Older clients can still key off this field."},"limit_scope":{"type":"string","description":"Which limit a 429 hit (minute, day, month, concurrency, search_in_progress, bad_key, overage, spend_cap, free_records, and similar)."},"retryable":{"type":"boolean","description":"Present on some errors (for example query_too_broad is false) so clients need not infer retryability from the Retry-After header alone."}}}}},"UsageRequestRow":{"type":"object","additionalProperties":false,"required":["request_id","api_key_id","route_class","admitted_at","finalized_at","state","http_status","request_charged","records_returned","policy_id","policy_version","settlement_policy_id","settlement_policy_version"],"properties":{"request_id":{"type":"string"},"api_key_id":{"type":"string"},"route_class":{"type":"string"},"admitted_at":{"type":"string","format":"date-time"},"finalized_at":{"type":["string","null"]},"state":{"type":"string"},"http_status":{"type":["integer","null"]},"request_charged":{"type":"boolean"},"records_returned":{"type":"integer","minimum":0},"policy_id":{"type":["string","null"]},"policy_version":{"type":["integer","null"]},"settlement_policy_id":{"type":["string","null"]},"settlement_policy_version":{"type":["integer","null"]}}},"OverageStatus":{"type":"object","required":["overage_enabled","overage_monthly_limit_usd","overage_limit_remaining_usd","overage_jobs_used","overage_usd"],"properties":{"overage_enabled":{"type":"boolean"},"overage_monthly_limit_usd":{"type":["number","null"],"description":"The monthly overage limit in US dollars; null when the customer set none."},"overage_limit_remaining_usd":{"type":["number","null"],"description":"Dollars of the limit not yet used this month; null when there is no limit."},"overage_jobs_used":{"type":"integer","description":"Jobs used this UTC month past the plan limit and the carried-over jobs."},"overage_usd":{"type":"number","description":"This month's overage so far at the plan's rate, rounded up to the cent."}}},"UsageRequestsPage":{"type":"object","additionalProperties":false,"required":["data","next_cursor","admissions_captured_at"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/UsageRequestRow"}},"next_cursor":{"type":["string","null"]},"admissions_captured_at":{"type":"string","format":"date-time"}}},"UsageDailyGroup":{"type":"object","additionalProperties":false,"required":["day","group","request_events","charged_requests","pending_requests","rate_limited_requests","usage_limited_requests","http_status_2xx","http_status_3xx","http_status_4xx","http_status_5xx","error_rate","returned_records","job_records_returned","company_records_returned"],"properties":{"day":{"type":"string","format":"date"},"group":{"type":"string"},"request_events":{"type":"integer"},"charged_requests":{"type":"integer"},"pending_requests":{"type":"integer"},"rate_limited_requests":{"type":"integer"},"usage_limited_requests":{"type":"integer"},"http_status_2xx":{"type":"integer"},"http_status_3xx":{"type":"integer"},"http_status_4xx":{"type":"integer"},"http_status_5xx":{"type":"integer"},"error_rate":{"type":["number","null"],"minimum":0,"maximum":1,"description":"Share of admitted requests in this day and group that returned a 4xx or 5xx response, rounded to four decimal places; null when no requests were admitted."},"returned_records":{"type":"integer"},"job_records_returned":{"type":"integer"},"company_records_returned":{"type":"integer"}}},"UsageAnalytics":{"type":"object","additionalProperties":false,"required":["query_timestamp","time_basis","group_by","data"],"properties":{"query_timestamp":{"type":"string","format":"date-time"},"time_basis":{"type":"object","additionalProperties":false,"required":["requestMetrics","returnedRecordMetrics","pendingAndRejections"],"properties":{"requestMetrics":{"type":"string","const":"admitted_at_utc_day"},"returnedRecordMetrics":{"type":"string","const":"finalized_at_utc_day"},"pendingAndRejections":{"type":"string","const":"included_on_admission_day"}}},"group_by":{"type":["string","null"],"enum":["route_class","status_class","api_key_id",null]},"data":{"type":"array","items":{"$ref":"#/components/schemas/UsageDailyGroup"}}}}}}}