{ "opencollection": "1.0.0", "info": { "name": "OpenAPI Specification Agents - Conversation Subscriptions API", "version": "v1.2.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Subscriptions", "type": "folder" }, "items": [ { "info": { "name": "Creates a subscription to a Knowledge Model trigger", "type": "http" }, "http": { "method": "POST", "url": "https://30f873b4-88d4-49ba-b327-6f651d7b99e6.remockly.com/intelligence/api/knowledge-models/:km_id/triggers/:trigger_id/subscriptions", "params": [ { "name": "km_id", "value": "", "type": "path" }, { "name": "trigger_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates a subscription to a Knowledge Model trigger" }, { "info": { "name": "List all Subscriptions", "type": "http" }, "http": { "method": "GET", "url": "https://30f873b4-88d4-49ba-b327-6f651d7b99e6.remockly.com/intelligence/api/subscriptions", "params": [ { "name": "page", "value": "", "type": "query" }, { "name": "pageSize", "value": "", "type": "query" }, { "name": "sort", "value": "", "type": "query", "description": "Defines the strategy to proceed for case insensitive sorting. It must be just one field, and it should start with \"+\" to apply ASC order or \"-\" to apply DESC order. Non prefix will sort as ASC. Non existing field at the header will throw an error" } ] }, "docs": "List all Subscriptions" }, { "info": { "name": "Updates the subscription metadata", "type": "http" }, "http": { "method": "PUT", "url": "https://30f873b4-88d4-49ba-b327-6f651d7b99e6.remockly.com/intelligence/api/subscriptions/:subscription_id", "params": [ { "name": "subscription_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates the subscription metadata" }, { "info": { "name": "Unsubscribe from a trigger removing all the data of the subscription", "type": "http" }, "http": { "method": "DELETE", "url": "https://30f873b4-88d4-49ba-b327-6f651d7b99e6.remockly.com/intelligence/api/subscriptions/:subscription_id", "params": [ { "name": "subscription_id", "value": "", "type": "path" } ] }, "docs": "Unsubscribe from a trigger removing all the data of the subscription" }, { "info": { "name": "Retrieves the next page of failed events", "type": "http" }, "http": { "method": "PATCH", "url": "https://30f873b4-88d4-49ba-b327-6f651d7b99e6.remockly.com/intelligence/api/subscriptions/:subscription_id/events", "params": [ { "name": "subscription_id", "value": "", "type": "path" } ] }, "docs": "Retrieves the next page of failed events" }, { "info": { "name": "Pauses the subscription (stops emitting events)", "type": "http" }, "http": { "method": "PATCH", "url": "https://30f873b4-88d4-49ba-b327-6f651d7b99e6.remockly.com/intelligence/api/subscriptions/:subscription_id/pause", "params": [ { "name": "subscription_id", "value": "", "type": "path" } ] }, "docs": "Pauses the subscription (stops emitting events)" }, { "info": { "name": "Resumes a paused subscription (events queued are now emitted)", "type": "http" }, "http": { "method": "PATCH", "url": "https://30f873b4-88d4-49ba-b327-6f651d7b99e6.remockly.com/intelligence/api/subscriptions/:subscription_id/resume", "params": [ { "name": "subscription_id", "value": "", "type": "path" } ] }, "docs": "Resumes paused subscription (events queued are now emitted)" }, { "info": { "name": "Resumes paused subscription discarding historic events (new events only are emitted)", "type": "http" }, "http": { "method": "PATCH", "url": "https://30f873b4-88d4-49ba-b327-6f651d7b99e6.remockly.com/intelligence/api/subscriptions/:subscription_id/resume-from-latest", "params": [ { "name": "subscription_id", "value": "", "type": "path" } ] }, "docs": "Resumes paused subscription discarding history events (new events only are emitted)" }, { "info": { "name": "Replay subscription (re-emit events from the specified position)", "type": "http" }, "http": { "method": "PATCH", "url": "https://30f873b4-88d4-49ba-b327-6f651d7b99e6.remockly.com/intelligence/api/subscriptions/:subscription_id/replay", "params": [ { "name": "subscription_id", "value": "", "type": "path" }, { "name": "fromOffset", "value": "", "type": "query" } ] }, "docs": "Replay subscription (re-emit events from the specified position)" } ] } ], "bundled": true }