{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://zieapi.vercel.app"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/search-tools:algolia-personalization/custom-get":{"get":{"operationId":"search_tools_algolia_personalization_custom_get","summary":"Send requests to the Algolia REST API","description":"GET /{path}","tags":["search-tools"],"parameters":[{"name":"region","in":"query","required":false,"description":"The region where your Algolia application is hosted.","schema":{"type":"string","enum":["us","eu"],"default":"us","description":"The region where your Algolia application is hosted."}},{"name":"path","in":"query","required":true,"description":"Path of the endpoint, for example `1/newFeature`.","schema":{"type":"string","description":"Path of the endpoint, for example `1/newFeature`."}},{"name":"parameters","in":"query","required":false,"description":"Query parameters to apply to the current query.","schema":{"type":"object","description":"Query parameters to apply to the current query."}}],"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":"byok"}},"/v1/search-tools:algolia-personalization/custom-post":{"post":{"operationId":"search_tools_algolia_personalization_custom_post","summary":"Send requests to the Algolia REST API","description":"POST /{path}","tags":["search-tools"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["path"],"properties":{"region":{"type":"string","enum":["us","eu"],"default":"us","description":"The region where your Algolia application is hosted."},"path":{"type":"string","description":"Path of the endpoint, for example `1/newFeature`."},"parameters":{"type":"object","description":"Query parameters to apply to the current query."},"body":{"type":"object","description":"JSON request body"}}}}}},"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":"byok"}},"/v1/search-tools:algolia-personalization/custom-put":{"post":{"operationId":"search_tools_algolia_personalization_custom_put","summary":"Send requests to the Algolia REST API","description":"PUT /{path}","tags":["search-tools"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["path"],"properties":{"region":{"type":"string","enum":["us","eu"],"default":"us","description":"The region where your Algolia application is hosted."},"path":{"type":"string","description":"Path of the endpoint, for example `1/newFeature`."},"parameters":{"type":"object","description":"Query parameters to apply to the current query."},"body":{"type":"object","description":"JSON request body"}}}}}},"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":"byok"}},"/v1/search-tools:algolia-personalization/custom-delete":{"post":{"operationId":"search_tools_algolia_personalization_custom_delete","summary":"Send requests to the Algolia REST API","description":"DELETE /{path}","tags":["search-tools"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["path"],"properties":{"region":{"type":"string","enum":["us","eu"],"default":"us","description":"The region where your Algolia application is hosted."},"path":{"type":"string","description":"Path of the endpoint, for example `1/newFeature`."},"parameters":{"type":"object","description":"Query parameters to apply to the current query."}}}}}},"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":"byok"}},"/v1/search-tools:algolia-personalization/get-user-token-profile":{"get":{"operationId":"search_tools_algolia_personalization_get_user_token_profile","summary":"Retrieve a user profile","description":"GET /1/profiles/personalization/{userToken}","tags":["search-tools"],"parameters":[{"name":"region","in":"query","required":false,"description":"The region where your Algolia application is hosted.","schema":{"type":"string","enum":["us","eu"],"default":"us","description":"The region where your Algolia application is hosted."}},{"name":"userToken","in":"query","required":true,"description":"Unique identifier representing a user for which to fetch the personalization profile.","schema":{"type":"string","description":"Unique identifier representing a user for which to fetch the personalization profile."}}],"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":"byok"}},"/v1/search-tools:algolia-personalization/delete-user-profile":{"post":{"operationId":"search_tools_algolia_personalization_delete_user_profile","summary":"Delete a user profile","description":"DELETE /1/profiles/{userToken}","tags":["search-tools"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["userToken"],"properties":{"region":{"type":"string","enum":["us","eu"],"default":"us","description":"The region where your Algolia application is hosted."},"userToken":{"type":"string","description":"Unique identifier representing a user for which to fetch the personalization profile."}}}}}},"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":"byok"}},"/v1/search-tools:algolia-personalization/get-personalization-strategy":{"get":{"operationId":"search_tools_algolia_personalization_get_personalization_strategy","summary":"Retrieve the personalization strategy","description":"GET /1/strategies/personalization","tags":["search-tools"],"parameters":[{"name":"region","in":"query","required":false,"description":"The region where your Algolia application is hosted.","schema":{"type":"string","enum":["us","eu"],"default":"us","description":"The region where your Algolia application is hosted."}}],"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":"byok"}},"/v1/search-tools:algolia-personalization/set-personalization-strategy":{"post":{"operationId":"search_tools_algolia_personalization_set_personalization_strategy","summary":"Define the personalization strategy","description":"POST /1/strategies/personalization","tags":["search-tools"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"region":{"type":"string","enum":["us","eu"],"default":"us","description":"The region where your Algolia application is hosted."},"body":{"type":"object","description":"JSON request body"}}}}}},"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":"byok"}},"/v1/search-tools:algolia-personalization/set-client-api-key":{"get":{"operationId":"search_tools_algolia_personalization_set_client_api_key","summary":"Switch the API key used to authenticate requests","description":"GET /setClientApiKey","tags":["search-tools"],"parameters":[{"name":"region","in":"query","required":false,"description":"The region where your Algolia application is hosted.","schema":{"type":"string","enum":["us","eu"],"default":"us","description":"The region where your Algolia application is hosted."}},{"name":"apiKey","in":"query","required":true,"description":"API key to use for subsequent requests.","schema":{"type":"string","description":"API key to use for subsequent requests."}}],"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":"byok"}}},"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"}}}}}}}