{ "opencollection": "1.0.0", "info": { "name": "ChartHop access action API", "version": "V1.0.0" }, "items": [ { "info": { "name": "action", "type": "folder" }, "items": [ { "info": { "name": "Return all actions in the organization paginated", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/v1/org/:orgId/action", "params": [ { "name": "orgId", "value": "", "type": "path", "description": "Org identifier (either id or slug)" }, { "name": "from", "value": "", "type": "query", "description": "Action id to start paginating from" }, { "name": "limit", "value": "", "type": "query", "description": "Number of results to return" }, { "name": "assessmentId", "value": "", "type": "query", "description": "Retrieve actions associated with an assessment" }, { "name": "formId", "value": "", "type": "query", "description": "Retrieve actions associated with a form" }, { "name": "stepType", "value": "", "type": "query", "description": "Filter to actions containing at least one step of the given type(s), for example: ai,signature" }, { "name": "agentUserId", "value": "", "type": "query", "description": "Filter to actions containing an AI step assigned to the given agent user" }, { "name": "returnAccess", "value": "", "type": "query", "description": "Return access information -- pass a list of actions to check, for example: create,update,delete" } ] }, "docs": "Return all actions in the organization paginated" }, { "info": { "name": "Create an action", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/v1/org/:orgId/action", "params": [ { "name": "orgId", "value": "", "type": "path", "description": "Org identifier (either id or slug)" } ] }, "docs": "Create an action" }, { "info": { "name": "Delete a set of actions", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/v1/org/:orgId/action/bulk-delete", "params": [ { "name": "orgId", "value": "", "type": "path", "description": "Org identifier (either id or slug)" } ] }, "docs": "Delete a set of actions" }, { "info": { "name": "Return a particular action by id", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/v1/org/:orgId/action/:actionId", "params": [ { "name": "orgId", "value": "", "type": "path", "description": "Org identifier (either id or slug)" }, { "name": "actionId", "value": "", "type": "path", "description": "Action id" } ] }, "docs": "Return a particular action by id" }, { "info": { "name": "Update an existing action", "type": "http" }, "http": { "method": "PATCH", "url": "{{baseUrl}}/v1/org/:orgId/action/:actionId", "params": [ { "name": "orgId", "value": "", "type": "path", "description": "Org identifier (either id or slug)" }, { "name": "actionId", "value": "", "type": "path", "description": "Action id" } ] }, "docs": "Update an existing action" }, { "info": { "name": "Delete an action", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/v1/org/:orgId/action/:actionId", "params": [ { "name": "orgId", "value": "", "type": "path", "description": "Org identifier (either id or slug)" }, { "name": "actionId", "value": "", "type": "path", "description": "Action id" } ] }, "docs": "Delete an action" }, { "info": { "name": "Run an action - for testing", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/v1/org/:orgId/action/:actionId/run", "params": [ { "name": "orgId", "value": "", "type": "path", "description": "Org identifier (either id or slug)" }, { "name": "actionId", "value": "", "type": "path", "description": "Action id" } ] }, "docs": "Run an action - for testing" } ] } ], "bundled": true }