{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://apizie.tech"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/ai:languagetool/post-check":{"post":{"operationId":"ai_languagetool_post_check","summary":"Check a text","description":"POST /check","tags":["ai"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"Form fields as a JSON object"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"live"}},"/v1/ai:languagetool/get-languages":{"get":{"operationId":"ai_languagetool_get_languages","summary":"Get a list of supported languages.","description":"GET /languages","tags":["ai"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/ai:languagetool/get-words":{"get":{"operationId":"ai_languagetool_get_words","summary":"List words in dictionaries","description":"GET /words","tags":["ai"],"parameters":[{"name":"offset","in":"query","required":false,"description":"Offset of where to start in the list of words. Defaults to 0.","schema":{"type":"integer","description":"Offset of where to start in the list of words. Defaults to 0."}},{"name":"limit","in":"query","required":false,"description":"Maximum number of words to return. Defaults to 10.","schema":{"type":"integer","description":"Maximum number of words to return. Defaults to 10."}},{"name":"username","in":"query","required":true,"description":"Your username as used to log in at languagetool.org.","schema":{"type":"string","description":"Your username as used to log in at languagetool.org."}},{"name":"apiKey","in":"query","required":true,"description":"Your API key","schema":{"type":"string","description":"Your API key"}},{"name":"dicts","in":"query","required":false,"description":"Comma-separated list of dictionaries to include words from; uses special default dictionary if this is unset","schema":{"type":"string","description":"Comma-separated list of dictionaries to include words from; uses special default dictionary if this is unset"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/ai:languagetool/post-words-add":{"post":{"operationId":"ai_languagetool_post_words_add","summary":"Add word to a dictionary","description":"POST /words/add","tags":["ai"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"Form fields as a JSON object"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"live"}},"/v1/ai:languagetool/post-words-delete":{"post":{"operationId":"ai_languagetool_post_words_delete","summary":"Remove word from a dictionary","description":"POST /words/delete","tags":["ai"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"Form fields as a JSON object"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"live"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"dev-tools:hash"},"data":{},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}