{ "opencollection": "1.0.0", "info": { "name": "Lightdash AiAgents My Account API", "version": "0.3156.1" }, "items": [ { "info": { "name": "My Account", "type": "folder" }, "items": [ { "info": { "name": "Get authenticated user", "type": "http" }, "http": { "method": "GET", "url": "/api/v1/user" }, "docs": "Get authenticated user" }, { "info": { "name": "Register user", "type": "http" }, "http": { "method": "POST", "url": "/api/v1/user", "body": { "type": "json", "data": "{}" } }, "docs": "Register user" }, { "info": { "name": "Create email one-time passcode", "type": "http" }, "http": { "method": "PUT", "url": "/api/v1/user/me/email/otp" }, "docs": "Create a new one-time passcode for the current user's primary email.\nThe user will receive an email with the passcode." }, { "info": { "name": "Get email verification status", "type": "http" }, "http": { "method": "GET", "url": "/api/v1/user/me/email/status", "params": [ { "name": "passcode", "value": "", "type": "query", "description": "the one-time passcode sent to the user's primary email" } ] }, "docs": "Get the verification status for the current user's primary email" }, { "info": { "name": "List available organizations", "type": "http" }, "http": { "method": "GET", "url": "/api/v1/user/me/allowedOrganizations" }, "docs": "List the organizations that the current user can join.\nThis is based on the user's primary email domain and the organization's allowed email domains." }, { "info": { "name": "Join organization", "type": "http" }, "http": { "method": "POST", "url": "/api/v1/user/me/joinOrganization/:organizationUuid", "params": [ { "name": "organizationUuid", "value": "", "type": "path", "description": "the uuid of the organization to join" } ] }, "docs": "Add the current user to an organization that accepts users with a verified email domain.\nThis will fail if the organization email domain does not match the user's primary email domain." }, { "info": { "name": "Leave organization", "type": "http" }, "http": { "method": "DELETE", "url": "/api/v1/user/me/leaveOrganization" }, "docs": "Remove the current user from their organization. Fails if the caller is\nthe only admin remaining. The user record is preserved so they can join\nanother organization later." }, { "info": { "name": "Delete user", "type": "http" }, "http": { "method": "DELETE", "url": "/api/v1/user/me" }, "docs": "Delete user" }, { "info": { "name": "List warehouse credentials", "type": "http" }, "http": { "method": "GET", "url": "/api/v1/user/warehouseCredentials" }, "docs": "Get user warehouse credentials" }, { "info": { "name": "Create warehouse credentials", "type": "http" }, "http": { "method": "POST", "url": "/api/v1/user/warehouseCredentials", "body": { "type": "json", "data": "{}" } }, "docs": "Create user warehouse credentials" }, { "info": { "name": "Update warehouse credentials", "type": "http" }, "http": { "method": "PATCH", "url": "/api/v1/user/warehouseCredentials/:uuid", "params": [ { "name": "uuid", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update user warehouse credentials" }, { "info": { "name": "Delete warehouse credentials", "type": "http" }, "http": { "method": "DELETE", "url": "/api/v1/user/warehouseCredentials/:uuid", "params": [ { "name": "uuid", "value": "", "type": "path" } ] }, "docs": "Delete user warehouse credentials" }, { "info": { "name": "Get login options", "type": "http" }, "http": { "method": "GET", "url": "/api/v1/user/login-options", "params": [ { "name": "email", "value": "", "type": "query" } ] }, "docs": "Get login options" }, { "info": { "name": "List personal access tokens", "type": "http" }, "http": { "method": "GET", "url": "/api/v1/user/me/personal-access-tokens" }, "docs": "List personal access tokens" }, { "info": { "name": "Create personal access token", "type": "http" }, "http": { "method": "POST", "url": "/api/v1/user/me/personal-access-tokens", "body": { "type": "json", "data": "{}" } }, "docs": "Create personal access token" }, { "info": { "name": "Delete personal access token", "type": "http" }, "http": { "method": "DELETE", "url": "/api/v1/user/me/personal-access-tokens/:personalAccessTokenUuid", "params": [ { "name": "personalAccessTokenUuid", "value": "", "type": "path" } ] }, "docs": "Delete personal access token" }, { "info": { "name": "Rotate personal access token", "type": "http" }, "http": { "method": "PATCH", "url": "/api/v1/user/me/personal-access-tokens/:personalAccessTokenUuid/rotate", "params": [ { "name": "personalAccessTokenUuid", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Rotate personal access token" }, { "info": { "name": "Get account", "type": "http" }, "http": { "method": "GET", "url": "/api/v1/user/account" }, "docs": "Get account information" } ] } ], "bundled": true }