{"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/search-tools:algolia-abtesting/custom-get":{"get":{"operationId":"search_tools_algolia_abtesting_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","de"],"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-abtesting/custom-post":{"post":{"operationId":"search_tools_algolia_abtesting_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","de"],"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-abtesting/custom-put":{"post":{"operationId":"search_tools_algolia_abtesting_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","de"],"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-abtesting/custom-delete":{"post":{"operationId":"search_tools_algolia_abtesting_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","de"],"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-abtesting/set-client-api-key":{"get":{"operationId":"search_tools_algolia_abtesting_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","de"],"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"}}}}}}}