{"openapi":"3.1.0","info":{"title":"The Task Exposure Index API","version":"1.0.0","description":"Task-level measurement of what current AI systems can produce in US occupations. Free, CC BY 4.0, no key. Exposure is not displacement: these figures say what a machine can produce, not what an employer will do. Quote the release identifier.","license":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/"}},"servers":[{"url":"https://taskexposure.org"}],"paths":{"/api/search":{"get":{"summary":"Search occupations by title","parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","schema":{"type":"integer","default":10}}],"responses":{"200":{"description":"Matching occupations with their scores"}}}},"/api/occupation/{slug}":{"get":{"summary":"One occupation's full record","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The published record"},"404":{"description":"No such occupation"}}}},"/api/compare":{"get":{"summary":"Compare two occupations and say what drives the gap","parameters":[{"name":"a","in":"query","required":true,"schema":{"type":"string"}},{"name":"b","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Both records plus the driver of the difference"}}}},"/api/rank":{"get":{"summary":"Occupations ranked by exposed share","parameters":[{"name":"order","in":"query","schema":{"type":"string","enum":["most_exposed","least_exposed"]}},{"name":"band","in":"query","schema":{"type":"string","enum":["exposed","assisted","untouched","any"]}},{"name":"min_wage","in":"query","schema":{"type":"integer"}},{"name":"limit","in":"query","schema":{"type":"integer","default":20}}],"responses":{"200":{"description":"Ranked occupations"}}}},"/api/methodology":{"get":{"summary":"How the index is built and what it does not claim","responses":{"200":{"description":"Method, reliability and limits"}}}},"/mcp":{"post":{"summary":"Model Context Protocol endpoint, JSON-RPC 2.0","description":"Streamable HTTP transport. Tools: search_occupations, get_occupation, compare_occupations, rank_occupations, get_methodology","responses":{"200":{"description":"A JSON-RPC response"}}}}}}