{"openapi":"3.1.0","info":{"title":"Apizie: ai","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://zieapi.vercel.app"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/ai:name-insights/age":{"get":{"operationId":"ai_name_insights_age","summary":"Age","description":"Estimated age for a name.","tags":["ai"],"parameters":[{"name":"name","in":"query","required":true,"schema":{"type":"string"},"example":"michael"},{"name":"countryId","in":"query","required":false,"schema":{"type":"string"},"example":"US"}],"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":604800,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/ai:name-insights/gender":{"get":{"operationId":"ai_name_insights_gender","summary":"Gender","description":"Gender probability for a name.","tags":["ai"],"parameters":[{"name":"name","in":"query","required":true,"schema":{"type":"string"},"example":"andrea"},{"name":"countryId","in":"query","required":false,"schema":{"type":"string"},"example":"IT"}],"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":604800,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/ai:name-insights/nationality":{"get":{"operationId":"ai_name_insights_nationality","summary":"Nationality","description":"Likely countries for a name.","tags":["ai"],"parameters":[{"name":"name","in":"query","required":true,"schema":{"type":"string"},"example":"nathaniel"}],"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":604800,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/ai:mymemory-translate/translate":{"get":{"operationId":"ai_mymemory_translate_translate","summary":"Translate","description":"Translate a short text.","tags":["ai"],"parameters":[{"name":"text","in":"query","required":true,"schema":{"type":"string"},"example":"Good morning, how are you?"},{"name":"langpair","in":"query","required":true,"description":"source|target ISO codes","schema":{"type":"string","description":"source|target ISO codes"},"example":"en|es"}],"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":86400,"x-apizie-min-plan":null,"x-apizie-bulk":true,"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"}}}}}}}