Overview
This guide walks through creating a workbook agent called Attraction Rating (rates attractions on a 1-10 scale), enabling it for API use, and managing versions.1) Create the agent in a workbook
Open the agent pane and create a new agent.

2) Edit the agent settings
After the column is added to the table, click the column header and select Edit agent.
3) Enable API usage
In the agent editor, click Advanced and then click Use in API.



4) Call the agent from the API
Use theattribute_key shown in the UI with the /enrich endpoint.
5) Edit the agent and create a new version
To make changes, return to the agent editor, update the prompt, and click Use in API again. The text below will show which version you are about to create (for example, “will save as version 2 of Attraction Rating”).


6) Manage default versions
Click Saved enrichments to view all versions. The default version is labeled and shows API enabled.

