AI Marketplace icon

AI Marketplace

Interact with AI Marketplace API

Actions24

Overview

This node performs authentication operations for the AI Marketplace API, specifically user login. It allows users to authenticate by providing their email and password, and then obtains access tokens for subsequent API interactions. This is useful for scenarios where secure access to the AI Marketplace services is required, such as automating user login processes or integrating AI Marketplace authentication into workflows.

Use Case Examples

  1. Logging in a user to obtain an access token for further API requests.
  2. Automating the authentication process in a workflow that interacts with AI Marketplace resources.

Properties

Name Meaning
Environment The environment to connect to, either Development or Production.
Override Base URL Optional URL to override the default base URL for the selected environment.
Email User email address used for login authentication.
Password User password used for login authentication.
Additional Fields Optional additional settings such as request timeout and response format.

Output

JSON

  • accessToken - Access token returned upon successful login, used for authenticated API requests.
  • sessionToken - Session token set to the access token for convenience.
  • refreshToken - Refresh token for renewing the access token (if provided).
  • user - User details returned from the login response.

Dependencies

  • Requires an API key credential for authenticated requests after login.

Troubleshooting

  • Common issues include invalid email or password resulting in authentication failure.
  • Timeout errors if the request takes longer than the specified timeout period.
  • Ensure the base URL is correct or overridden properly to avoid connection errors.
  • Error messages from the API are propagated and should be checked for details on failure.

Discussion