{"openapi":"3.2.0","info":{"title":"o1 API","description":"The o1 series of models are trained with reinforcement learning to perform complex reasoning. o1 models think before they answer, producing a long internal chain of thought before responding to the user.","version":"1.0.0"},"servers":[{"url":"https://hgrmi.jojapi.net"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/chat/completions":{"post":{"operationId":"post_chat_completions","summary":"Chat Completions","description":"Creates a model response for the given chat conversation","requestBody":{"content":{"application/json":{"schema":{"type":"object"},"example":{"model":"o1","stream":false,"messages":[{"role":"user","content":"There are ten birds in a tree. A hunter shoots one. How many are left in the tree?"}]}}}}}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-JoJAPI-Key","description":"Your JoJ API key."}}}}