Creates or updates a secure authentication profile for an agent. This endpoint can either create a new profile (returning a new auth token) or update an existing one (using the provided auth token). Authentication profiles are uniquely identified by agent_id + name.
auth_token is provided:
name parameter is required to identify your new profilename already exists for the given agent_id, the existing profile will be replaced with a new one and a new auth token will be generatedauth_token is provided:
agent_id and nameauth_token parameter insteadshould_save_session parameter controls whether the agent should maintain session state between runstrue, any session data from the agent will be preserved for future runsfalse or not provided, session data is not preserved between runsThe ID of the agent to associate with this auth profile
The API key for authentication
Key-value pairs of authentication data that matches the agent's input arguments
Name of the authentication profile (required for creation, optional for updates)
Whether to save session data between agent runs (optional)
The auth token for updating an existing profile (required for updates)
Authentication profile created or updated successfully