{"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/communication:twilio-knowledge-v1/list-knowledge":{"get":{"operationId":"communication_twilio_knowledge_v1_list_knowledge","summary":"List all knowledge","description":"GET /v1/Knowledge","tags":["communication"],"parameters":[{"name":"Page","in":"query","required":false,"description":"The page index. This value is simply for client state.","schema":{"type":"integer","description":"The page index. This value is simply for client state."}},{"name":"PageSize","in":"query","required":false,"description":"How many resources to return in each list page. The default is 50, and the maximum is 1000.","schema":{"type":"integer","description":"How many resources to return in each list page. The default is 50, and the maximum is 1000."}},{"name":"PageToken","in":"query","required":false,"description":"The page token. This is provided by the API.","schema":{"type":"string","description":"The page token. This is provided by the API."}},{"name":"Tags","in":"query","required":false,"description":"Json array of tag and value pairs for tag filtering.","schema":{"type":"string","description":"Json array of tag and value pairs for tag filtering."}}],"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/communication:twilio-knowledge-v1/create-knowledge":{"post":{"operationId":"communication_twilio_knowledge_v1_create_knowledge","summary":"Create knowledge","description":"POST /v1/Knowledge","tags":["communication"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"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/communication:twilio-knowledge-v1/fetch-knowledge":{"get":{"operationId":"communication_twilio_knowledge_v1_fetch_knowledge","summary":"Get knowledge","description":"GET /v1/Knowledge/{id}","tags":["communication"],"parameters":[{"name":"id","in":"query","required":true,"schema":{"type":"string"}}],"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/communication:twilio-knowledge-v1/update-knowledge":{"post":{"operationId":"communication_twilio_knowledge_v1_update_knowledge","summary":"Update knowledge","description":"PUT /v1/Knowledge/{id}","tags":["communication"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string"},"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/communication:twilio-knowledge-v1/delete-knowledge":{"post":{"operationId":"communication_twilio_knowledge_v1_delete_knowledge","summary":"Delete knowledge","description":"DELETE /v1/Knowledge/{id}","tags":["communication"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"the Knowledge ID."}}}}}},"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/communication:twilio-knowledge-v1/fetch-knowledge-status":{"get":{"operationId":"communication_twilio_knowledge_v1_fetch_knowledge_status","summary":"Get knowledge status","description":"GET /v1/Knowledge/{id}/Status","tags":["communication"],"parameters":[{"name":"id","in":"query","required":true,"description":"the Knowledge ID.","schema":{"type":"string","description":"the Knowledge ID."}}],"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/communication:twilio-knowledge-v1/list-knowledge-chunks":{"get":{"operationId":"communication_twilio_knowledge_v1_list_knowledge_chunks","summary":"List knowledge chunks","description":"GET /v1/Knowledge/{id}/Chunks","tags":["communication"],"parameters":[{"name":"id","in":"query","required":true,"description":"The knowledge ID.","schema":{"type":"string","description":"The knowledge ID."}},{"name":"PageSize","in":"query","required":false,"description":"How many resources to return in each list page. The default is 50, and the maximum is 1000.","schema":{"type":"integer","description":"How many resources to return in each list page. The default is 50, and the maximum is 1000."}},{"name":"PageToken","in":"query","required":false,"description":"The page token. This is provided by the API.","schema":{"type":"string","description":"The page token. This is provided by the API."}}],"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"}}}}}}}