{"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-query-suggestions/custom-get":{"get":{"operationId":"search_tools_algolia_query_suggestions_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-query-suggestions/custom-post":{"post":{"operationId":"search_tools_algolia_query_suggestions_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-query-suggestions/custom-put":{"post":{"operationId":"search_tools_algolia_query_suggestions_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-query-suggestions/custom-delete":{"post":{"operationId":"search_tools_algolia_query_suggestions_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-query-suggestions/get-all-configs":{"get":{"operationId":"search_tools_algolia_query_suggestions_get_all_configs","summary":"List configurations","description":"GET /1/configs","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-query-suggestions/create-config":{"post":{"operationId":"search_tools_algolia_query_suggestions_create_config","summary":"Create a configuration","description":"POST /1/configs","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-query-suggestions/get-config":{"get":{"operationId":"search_tools_algolia_query_suggestions_get_config","summary":"Retrieve a configuration","description":"GET /1/configs/{indexName}","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":"indexName","in":"query","required":true,"description":"Query Suggestions index name.","schema":{"type":"string","description":"Query Suggestions index name."}}],"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-query-suggestions/update-config":{"post":{"operationId":"search_tools_algolia_query_suggestions_update_config","summary":"Update a configuration","description":"PUT /1/configs/{indexName}","tags":["search-tools"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["indexName","body"],"properties":{"region":{"type":"string","enum":["us","eu"],"default":"us","description":"The region where your Algolia application is hosted."},"indexName":{"type":"string","description":"Query Suggestions index name."},"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-query-suggestions/delete-config":{"post":{"operationId":"search_tools_algolia_query_suggestions_delete_config","summary":"Delete a configuration","description":"DELETE /1/configs/{indexName}","tags":["search-tools"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["indexName"],"properties":{"region":{"type":"string","enum":["us","eu"],"default":"us","description":"The region where your Algolia application is hosted."},"indexName":{"type":"string","description":"Query Suggestions index name."}}}}}},"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-query-suggestions/get-config-status":{"get":{"operationId":"search_tools_algolia_query_suggestions_get_config_status","summary":"Retrieve configuration status","description":"GET /1/configs/{indexName}/status","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":"indexName","in":"query","required":true,"description":"Query Suggestions index name.","schema":{"type":"string","description":"Query Suggestions index name."}}],"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-query-suggestions/get-log-file":{"get":{"operationId":"search_tools_algolia_query_suggestions_get_log_file","summary":"Retrieve logs","description":"GET /1/logs/{indexName}","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":"indexName","in":"query","required":true,"description":"Query Suggestions index name.","schema":{"type":"string","description":"Query Suggestions index name."}}],"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-query-suggestions/set-client-api-key":{"get":{"operationId":"search_tools_algolia_query_suggestions_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"}}}}}}}