{"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/cloud:azure-communication-chat/chat-thread-list-chat-read-receipts":{"get":{"operationId":"cloud_azure_communication_chat_chat_thread_list_chat_read_receipts","summary":"Gets chat message read receipts for a thread.","description":"GET /chat/threads/{chatThreadId}/readReceipts","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":true,"description":"The endpoint of the Azure Communication resource.","schema":{"type":"string","description":"The endpoint of the Azure Communication resource."}},{"name":"chatThreadId","in":"query","required":true,"description":"Thread id to get the chat message read receipts for.","schema":{"type":"string","description":"Thread id to get the chat message read receipts for."}},{"name":"maxPageSize","in":"query","required":false,"description":"The maximum number of chat message read receipts to be returned per page.","schema":{"type":"integer","description":"The maximum number of chat message read receipts to be returned per page."}},{"name":"skip","in":"query","required":false,"description":"Skips chat message read receipts up to a specified position in response.","schema":{"type":"integer","description":"Skips chat message read receipts up to a specified position in response."}},{"name":"api-version","in":"query","required":false,"description":"Version of API to invoke.","schema":{"type":"string","default":"2025-03-15","description":"Version of API to invoke."}}],"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/cloud:azure-communication-chat/chat-thread-send-chat-read-receipt":{"post":{"operationId":"cloud_azure_communication_chat_chat_thread_send_chat_read_receipt","summary":"Sends a read receipt event to a thread, on behalf of a user.","description":"POST /chat/threads/{chatThreadId}/readReceipts","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["endpoint","chatThreadId","body"],"properties":{"endpoint":{"type":"string","description":"The endpoint of the Azure Communication resource."},"chatThreadId":{"type":"string","description":"Thread id to send the read receipt event to."},"api-version":{"type":"string","default":"2025-03-15","description":"Version of API to invoke."},"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/cloud:azure-communication-chat/chat-thread-list-chat-messages":{"get":{"operationId":"cloud_azure_communication_chat_chat_thread_list_chat_messages","summary":"Gets a list of messages from a thread.","description":"GET /chat/threads/{chatThreadId}/messages","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":true,"description":"The endpoint of the Azure Communication resource.","schema":{"type":"string","description":"The endpoint of the Azure Communication resource."}},{"name":"chatThreadId","in":"query","required":true,"description":"The thread id of the message.","schema":{"type":"string","description":"The thread id of the message."}},{"name":"maxPageSize","in":"query","required":false,"description":"The maximum number of messages to be returned per page.","schema":{"type":"integer","description":"The maximum number of messages to be returned per page."}},{"name":"startTime","in":"query","required":false,"description":"The earliest point in time to get messages after. The timestamp should be in RFC3339 format: `yyyy-MM-ddTHH:mm:ssZ`.","schema":{"type":"string","description":"The earliest point in time to get messages after. The timestamp should be in RFC3339 format: `yyyy-MM-ddTHH:mm:ssZ`."}},{"name":"api-version","in":"query","required":false,"description":"Version of API to invoke.","schema":{"type":"string","default":"2025-03-15","description":"Version of API to invoke."}}],"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/cloud:azure-communication-chat/chat-thread-send-chat-message":{"post":{"operationId":"cloud_azure_communication_chat_chat_thread_send_chat_message","summary":"Sends a message to a thread.","description":"POST /chat/threads/{chatThreadId}/messages","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["endpoint","chatThreadId","body"],"properties":{"endpoint":{"type":"string","description":"The endpoint of the Azure Communication resource."},"chatThreadId":{"type":"string","description":"The thread id to send the message to."},"api-version":{"type":"string","default":"2025-03-15","description":"Version of API to invoke."},"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/cloud:azure-communication-chat/chat-thread-get-chat-message":{"get":{"operationId":"cloud_azure_communication_chat_chat_thread_get_chat_message","summary":"Gets a message by id.","description":"GET /chat/threads/{chatThreadId}/messages/{chatMessageId}","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":true,"description":"The endpoint of the Azure Communication resource.","schema":{"type":"string","description":"The endpoint of the Azure Communication resource."}},{"name":"chatThreadId","in":"query","required":true,"description":"The thread id to which the message was sent.","schema":{"type":"string","description":"The thread id to which the message was sent."}},{"name":"chatMessageId","in":"query","required":true,"description":"The message id.","schema":{"type":"string","description":"The message id."}},{"name":"api-version","in":"query","required":false,"description":"Version of API to invoke.","schema":{"type":"string","default":"2025-03-15","description":"Version of API to invoke."}}],"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/cloud:azure-communication-chat/chat-thread-update-chat-message":{"post":{"operationId":"cloud_azure_communication_chat_chat_thread_update_chat_message","summary":"Updates a message.","description":"PATCH /chat/threads/{chatThreadId}/messages/{chatMessageId}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["endpoint","chatThreadId","chatMessageId","body"],"properties":{"endpoint":{"type":"string","description":"The endpoint of the Azure Communication resource."},"chatThreadId":{"type":"string","description":"The thread id to which the message was sent."},"chatMessageId":{"type":"string","description":"The message id."},"api-version":{"type":"string","default":"2025-03-15","description":"Version of API to invoke."},"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/cloud:azure-communication-chat/chat-thread-delete-chat-message":{"post":{"operationId":"cloud_azure_communication_chat_chat_thread_delete_chat_message","summary":"Deletes a message.","description":"DELETE /chat/threads/{chatThreadId}/messages/{chatMessageId}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["endpoint","chatThreadId","chatMessageId"],"properties":{"endpoint":{"type":"string","description":"The endpoint of the Azure Communication resource."},"chatThreadId":{"type":"string","description":"The thread id to which the message was sent."},"chatMessageId":{"type":"string","description":"The message id."},"api-version":{"type":"string","default":"2025-03-15","description":"Version of API to invoke."}}}}}},"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/cloud:azure-communication-chat/chat-thread-list-chat-participants":{"get":{"operationId":"cloud_azure_communication_chat_chat_thread_list_chat_participants","summary":"Gets the participants of a thread.","description":"GET /chat/threads/{chatThreadId}/participants","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":true,"description":"The endpoint of the Azure Communication resource.","schema":{"type":"string","description":"The endpoint of the Azure Communication resource."}},{"name":"chatThreadId","in":"query","required":true,"description":"Thread id to get participants for.","schema":{"type":"string","description":"Thread id to get participants for."}},{"name":"maxPageSize","in":"query","required":false,"description":"The maximum number of participants to be returned per page.","schema":{"type":"integer","description":"The maximum number of participants to be returned per page."}},{"name":"skip","in":"query","required":false,"description":"Skips participants up to a specified position in response.","schema":{"type":"integer","description":"Skips participants up to a specified position in response."}},{"name":"api-version","in":"query","required":false,"description":"Version of API to invoke.","schema":{"type":"string","default":"2025-03-15","description":"Version of API to invoke."}}],"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/cloud:azure-communication-chat/chat-thread-remove-chat-participant":{"post":{"operationId":"cloud_azure_communication_chat_chat_thread_remove_chat_participant","summary":"Remove a participant from a thread.","description":"POST /chat/threads/{chatThreadId}/participants/:remove","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["endpoint","chatThreadId","body"],"properties":{"endpoint":{"type":"string","description":"The endpoint of the Azure Communication resource."},"chatThreadId":{"type":"string","description":"Thread id to remove the participant from."},"api-version":{"type":"string","default":"2025-03-15","description":"Version of API to invoke."},"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/cloud:azure-communication-chat/chat-thread-add-chat-participants":{"post":{"operationId":"cloud_azure_communication_chat_chat_thread_add_chat_participants","summary":"Adds thread participants to a thread. If participants already exist, no change occurs.","description":"POST /chat/threads/{chatThreadId}/participants/:add","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["endpoint","chatThreadId","body"],"properties":{"endpoint":{"type":"string","description":"The endpoint of the Azure Communication resource."},"chatThreadId":{"type":"string","description":"Id of the thread to add participants to."},"api-version":{"type":"string","default":"2025-03-15","description":"Version of API to invoke."},"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/cloud:azure-communication-chat/chat-list-chat-threads":{"get":{"operationId":"cloud_azure_communication_chat_chat_list_chat_threads","summary":"Gets the list of chat threads of a user.","description":"GET /chat/threads","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":true,"description":"The endpoint of the Azure Communication resource.","schema":{"type":"string","description":"The endpoint of the Azure Communication resource."}},{"name":"maxPageSize","in":"query","required":false,"description":"The maximum number of chat threads returned per page.","schema":{"type":"integer","description":"The maximum number of chat threads returned per page."}},{"name":"startTime","in":"query","required":false,"description":"The earliest point in time to get chat threads up to. The timestamp should be in RFC3339 format: `yyyy-MM-ddTHH:mm:ssZ`.","schema":{"type":"string","description":"The earliest point in time to get chat threads up to. The timestamp should be in RFC3339 format: `yyyy-MM-ddTHH:mm:ssZ`."}},{"name":"api-version","in":"query","required":false,"description":"Version of API to invoke.","schema":{"type":"string","default":"2025-03-15","description":"Version of API to invoke."}}],"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/cloud:azure-communication-chat/chat-create-chat-thread":{"post":{"operationId":"cloud_azure_communication_chat_chat_create_chat_thread","summary":"Creates a chat thread.","description":"POST /chat/threads","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["endpoint","body"],"properties":{"endpoint":{"type":"string","description":"The endpoint of the Azure Communication resource."},"repeatability-request-id":{"type":"string","description":"If specified, the client directs that the request is repeatable; that is, that the client can make the request multiple times with the…"},"api-version":{"type":"string","default":"2025-03-15","description":"Version of API to invoke."},"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/cloud:azure-communication-chat/chat-thread-get-chat-thread-properties":{"get":{"operationId":"cloud_azure_communication_chat_chat_thread_get_chat_thread_properties","summary":"Gets a chat thread's properties.","description":"GET /chat/threads/{chatThreadId}","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":true,"description":"The endpoint of the Azure Communication resource.","schema":{"type":"string","description":"The endpoint of the Azure Communication resource."}},{"name":"chatThreadId","in":"query","required":true,"description":"Id of the thread.","schema":{"type":"string","description":"Id of the thread."}},{"name":"api-version","in":"query","required":false,"description":"Version of API to invoke.","schema":{"type":"string","default":"2025-03-15","description":"Version of API to invoke."}}],"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/cloud:azure-communication-chat/chat-thread-update-chat-thread-properties":{"post":{"operationId":"cloud_azure_communication_chat_chat_thread_update_chat_thread_properties","summary":"Updates a thread's properties.","description":"PATCH /chat/threads/{chatThreadId}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["endpoint","chatThreadId","body"],"properties":{"endpoint":{"type":"string","description":"The endpoint of the Azure Communication resource."},"chatThreadId":{"type":"string","description":"The id of the thread to update."},"api-version":{"type":"string","default":"2025-03-15","description":"Version of API to invoke."},"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/cloud:azure-communication-chat/chat-delete-chat-thread":{"post":{"operationId":"cloud_azure_communication_chat_chat_delete_chat_thread","summary":"Deletes a thread.","description":"DELETE /chat/threads/{chatThreadId}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["endpoint","chatThreadId"],"properties":{"endpoint":{"type":"string","description":"The endpoint of the Azure Communication resource."},"chatThreadId":{"type":"string","description":"Id of the thread to be deleted."},"api-version":{"type":"string","default":"2025-03-15","description":"Version of API to invoke."}}}}}},"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/cloud:azure-communication-chat/chat-thread-send-typing-notification":{"post":{"operationId":"cloud_azure_communication_chat_chat_thread_send_typing_notification","summary":"Posts a typing event to a thread, on behalf of a user.","description":"POST /chat/threads/{chatThreadId}/typing","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["endpoint","chatThreadId"],"properties":{"endpoint":{"type":"string","description":"The endpoint of the Azure Communication resource."},"chatThreadId":{"type":"string","description":"Id of the thread."},"api-version":{"type":"string","default":"2025-03-15","description":"Version of API to invoke."},"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"}}},"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"}}}}}}}