{ "opencollection": "1.0.0", "info": { "name": "Arthur Scope Agents V1 Webhooks V1 API", "version": "0.1.0" }, "items": [ { "info": { "name": "Webhooks V1", "type": "folder" }, "items": [ { "info": { "name": "Get Webhooks.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/v1/workspaces/:workspace_id/webhooks", "params": [ { "name": "workspace_id", "value": "", "type": "path" }, { "name": "sort", "value": "", "type": "query", "description": "Override the field used for sorting the returned list. Optional." }, { "name": "order", "value": "", "type": "query", "description": "Override the sort order used. Optional." }, { "name": "name", "value": "", "type": "query", "description": "Search term to filter webhooks by name." }, { "name": "page", "value": "", "type": "query", "description": "The page to return starting from 1 up to total_pages." }, { "name": "page_size", "value": "", "type": "query", "description": "The number of records per page. The max is 1000." } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://platform-auth.arthur.ai/realms/arthur/protocol/openid-connect/auth", "accessTokenUrl": "https://platform-auth.arthur.ai/realms/arthur/protocol/openid-connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Return a list of webhooks associated with a workspace. Requires workspace_list_webhooks permission." }, { "info": { "name": "Post Webhook.", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/api/v1/workspaces/:workspace_id/webhooks", "params": [ { "name": "workspace_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://platform-auth.arthur.ai/realms/arthur/protocol/openid-connect/auth", "accessTokenUrl": "https://platform-auth.arthur.ai/realms/arthur/protocol/openid-connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Creates a webhook in a given workspace. Requires workspace_create_webhook permission." }, { "info": { "name": "Post Test Webhook.", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/api/v1/workspaces/:workspace_id/webhooks/test", "params": [ { "name": "workspace_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://platform-auth.arthur.ai/realms/arthur/protocol/openid-connect/auth", "accessTokenUrl": "https://platform-auth.arthur.ai/realms/arthur/protocol/openid-connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Tests a webhook in a given workspace. Requires workspace_test_webhook permission." }, { "info": { "name": "Get Webhook.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/v1/webhooks/:webhook_id", "params": [ { "name": "webhook_id", "value": "", "type": "path" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://platform-auth.arthur.ai/realms/arthur/protocol/openid-connect/auth", "accessTokenUrl": "https://platform-auth.arthur.ai/realms/arthur/protocol/openid-connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Requires webhook_read permission." }, { "info": { "name": "Patch Webhook.", "type": "http" }, "http": { "method": "PATCH", "url": "{{baseUrl}}/api/v1/webhooks/:webhook_id", "params": [ { "name": "webhook_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://platform-auth.arthur.ai/realms/arthur/protocol/openid-connect/auth", "accessTokenUrl": "https://platform-auth.arthur.ai/realms/arthur/protocol/openid-connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Requires webhook_update permission." }, { "info": { "name": "Delete Webhook.", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/api/v1/webhooks/:webhook_id", "params": [ { "name": "webhook_id", "value": "", "type": "path" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://platform-auth.arthur.ai/realms/arthur/protocol/openid-connect/auth", "accessTokenUrl": "https://platform-auth.arthur.ai/realms/arthur/protocol/openid-connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Requires webhook_delete permission." } ] } ], "bundled": true }