{"openapi":"3.1.0","info":{"title":"TEAS Practice Exam API","version":"1.0.0","description":"Take a free TEAS practice exam for the ATI TEAS 7. Practice tests in reading, math, science and English, with every answer explained. No account needed."},"servers":[{"url":"https://teaspracticeexam.com"}],"security":[{"bearer":[]}],"paths":{"/api/v1/attempts":{"get":{"summary":"List Practice attempts","description":"One finished quiz, drill or mock exam with its score and the sub-areas it covered.","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","maximum":200}},{"name":"offset","in":"query","schema":{"type":"integer"}}],"responses":{"200":{"description":"OK"},"401":{"description":"Invalid key"},"429":{"description":"Rate or quota limit"}}},"post":{"summary":"Create a Practice attempt","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Practiceattempt"}}}},"responses":{"201":{"description":"Created"},"402":{"description":"Record limit"},"422":{"description":"Invalid"}}}},"/api/v1/attempts/{id}":{"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"get":{"summary":"Read a Practice attempt","responses":{"200":{"description":"OK"},"404":{"description":"Not found"}}},"patch":{"summary":"Update a Practice attempt","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Practiceattempt"}}}},"responses":{"200":{"description":"OK"},"404":{"description":"Not found"}}},"delete":{"summary":"Delete a Practice attempt","responses":{"204":{"description":"Deleted"},"404":{"description":"Not found"}}}},"/api/v1/onboarding":{"get":{"summary":"Onboarding questions","description":"The questions that finish setting up an account. No key needed; with a key the reply also carries the current answers. Costs no quota.","security":[],"responses":{"200":{"description":"OK"}}},"post":{"summary":"Answer onboarding for your user","description":"Stores the answers exactly as the onboarding form does, marked as answered by an agent. Idempotent. Costs no quota.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["answers"],"properties":{"answers":{"type":"object","properties":{"test_date":{"type":"string","enum":["Within 2 weeks","2 to 6 weeks","More than 6 weeks","Not booked yet"],"description":"When is your TEAS test?"},"program":{"type":"string","enum":["ADN or associate nursing","BSN","Accelerated BSN","LPN or LVN","Allied health","Not sure yet"],"description":"What program are you applying to?"},"worry_section":{"type":"string","enum":["Reading","Math","Science","English and language usage","Not sure yet"],"description":"Which section worries you most?"},"target":{"type":"string","description":"What score are you aiming for?"}},"required":["test_date","program","worry_section"]},"client":{"type":"string","description":"Your name, such as Claude Code."}}}}}},"responses":{"200":{"description":"Saved"},"401":{"description":"Invalid key"},"422":{"description":"Invalid answers"},"429":{"description":"Too many answers this minute"}}}}},"components":{"schemas":{"Practiceattempt":{"type":"object","additionalProperties":false,"required":["title","mode","section","correct","total"],"properties":{"title":{"type":"string","description":"What was practiced"},"mode":{"type":"string","enum":["section_quiz","topic_drill","full_mock","weak_area_drill"],"description":"Which kind of practice this was"},"section":{"type":"string","enum":["reading","math","science","english","all"],"description":"TEAS section practiced"},"correct":{"type":"number","description":"Number of questions answered correctly"},"total":{"type":"number","description":"Number of questions in the attempt"},"score_percent":{"type":"number","description":"Correct divided by questions"},"minutes":{"type":"number","description":"Time spent in minutes"},"breakdown":{"type":"string","description":"JSON object of sub-area id to correct and total"},"answers":{"type":"string","description":"JSON array of question id"}}}},"securitySchemes":{"bearer":{"type":"http","scheme":"bearer"}}}}