{"id":"b69491f9-09d2-4850-8200-fe915115875c","task_name":"Create Read-only Nia API Key","summary":"Create a read-only API key in Nia with a custom label and copy it to your clipboard for immediate use. This workflow is useful when you need a restricted API key for testing, sharing with team members, or integrating with third-party services that only require read access to Nia's search and index capabilities.","description":"Creates a read-only API key in Nia with a custom label and copies it to clipboard.","tools_used":[],"agent_steps":[{"step_number":1,"action_type":"click","url":"https://app.trynia.ai/home","element":{"name":"API Keys","role":"link","selector":"","xpath":"//html/body/div[2]/div/div/div[1]/div[1]/div[2]/div[5]/a[1]","attributes":{"href":"/api-keys"}},"value":"","keys":[],"file_paths":[],"description":"Navigate to the API Keys section by clicking the 'API Keys' link in the left sidebar or main navigation menu. This page displays all your existing API keys and provides the interface to create new ones."},{"step_number":2,"action_type":"click","url":"https://app.trynia.ai/api-keys","element":{"name":"Create API key","role":"button","selector":"","xpath":"//html/body/div[2]/div/div/main/div/main/div/div/div/div[1]/button","attributes":{"aria-label":"Create API key"}},"value":"","keys":[],"file_paths":[],"description":"Click the 'Create API key' button to open the new API key creation dialog. This initiates the workflow to generate a fresh key with your specified configuration."},{"step_number":3,"action_type":"type","url":"https://app.trynia.ai/api-keys","element":{"name":"Key Label","role":"textbox","selector":"","xpath":"//*[@id=\"name\"]","attributes":{"id":"name","placeholder":"My App"}},"value":"","keys":[],"file_paths":[],"description":"Enter a descriptive label for your API key in the 'Key Label' text field. This label helps you identify the purpose of the key later (e.g., 'Production Search Agent', 'Testing', 'Slack Integration'). Labels are visible only to you and do not affect the key's functionality."},{"step_number":4,"action_type":"click","url":"https://app.trynia.ai/api-keys","element":{"name":"Read-only access","role":"switch","selector":"","xpath":"//*[@id=\"read-only\"]","attributes":{"id":"read-only","type":"button","data-state":"unchecked"}},"value":"","keys":[],"file_paths":[],"description":"Enable read-only access by clicking the 'Read-only access' toggle switch. This restricts the key to read operations only (search, index retrieval) and prevents any write, delete, or account-modification actions. Leave this toggle enabled if you only need to query data."},{"step_number":5,"action_type":"click","url":"https://app.trynia.ai/api-keys","element":{"name":"Create Key","role":"button","selector":"","xpath":"//html/body/div[9]/div[3]/button[2]","attributes":{}},"value":"","keys":[],"file_paths":[],"description":"Click the 'Create Key' button to generate your new read-only API key. Nia will validate your settings and display the newly created key in a confirmation dialog."},{"step_number":6,"action_type":"click","url":"https://app.trynia.ai/api-keys","element":{"name":"Copy Key","role":"button","selector":"","xpath":"//html/body/div[9]/div[4]/button","attributes":{}},"value":"","keys":[],"file_paths":[],"description":"Click the 'Copy Key' button in the confirmation dialog to copy your new API key to your system clipboard. You can then paste it directly into your application code, environment file, or secret management system."},{"step_number":7,"action_type":"click","url":"https://app.trynia.ai/api-keys","element":{"name":"Done","role":"button","selector":"","xpath":"//html/body/div[9]/div[4]/button[2]","attributes":{}},"value":"","keys":[],"file_paths":[],"description":"Click the 'Done' button to close the confirmation dialog and return to the API Keys settings page. Your newly created read-only key will now appear in the list of API keys with its label and access level (read-only) displayed."}]}