Skip to main content
By the end of this guide you’ll have an API project the agent has learned, planned, written as Python tests, and run against your live API, with every request and response captured. No code on your side.
Doing UI testing instead? See the UI Quickstart.

Step 1: Tell the Agent About Your API

Click New Project. The page asks “What should we test?” Give the agent your API’s base address and say it is an API.
The New Project page with the orders API's address typed in the chat box
Use the + menu to give it more to work from:
A PRD isn’t only for UI. It lets the agent test what each endpoint is for, not just its shape: the order-placement scenarios your product supports, not just POST /orders.

Step 2: Create the Project

The agent asks once for what only you know: whether this is production, how the API authenticates, and what to cover first. Then a card reads Ready to create . Click Review to check it on the Setup tab, and Create Project when it looks right.
The Ready to create Orders API card in the chat, with the proposed project on the Setup tab beside it

Step 3: Set Up Credentials

Tell the agent how your API authenticates. It writes the environment and asks you to confirm it, then asks for each secret on its own card. Type the token, key or password there: it is saved straight to the environment, encrypted, and never appears in the chat.
A card above the chat box asking for the bearer token for Staging: the token field, Save and Not Now
Don’t paste a token or password into a message. Use the card.

Credentials Setup

Every auth type the agent supports, and what you type for each

Step 4: Watch It Call Your API

The agent learns your API by calling it for real, the same way a test run does. Each try shows in the chat as a step like “Calling GET /orders and 3 more”, and the Exploration tab lists every endpoint it called with the status that came back.
The Exploration tab on an API project: API Calls lists each endpoint the agent called, with its status and how many times

API Calls

How the calls are sent, and what the agent won’t do

Step 5: Review the Proposed Test Cases

When the plan is ready, a card reads N changes to the Test Plan. Click Review Changes to open it on the Plan tab, grouped by use case. The tests cover what fits your API: happy paths, authorization, error handling and edge cases, and multi-step workflows. Each one’s code has already passed once against your API. Untick any test you don’t want, or edit one before it is saved. Your tests stay as they are until you apply.
The Plan tab beside the session: 48 proposed tests grouped by use case, with Apply and Run 48 Tests

Proposed Test Cases

Reviewing, editing, rejecting and applying a proposal

Step 6: Apply and Run

Click Apply and Run N Tests. The run docks under the chat box; click Watch to open it. Each test shows Queued, Running, then Passed, Failed, or Blocked.
API tests executing

Step 7: Review the Results

Click any test to open its detail page: the generated Code, its Stdout (the HTTP calls and what your API returned), the error trace where an assertion failed, and an AI cause-and-fix suggestion.
API test detail page
When tests fail, click Have the Agent Look on the card above the chat box. The agent judges each failure: your API is wrong, the test is wrong (it fixes the test and says what it changed), or something got in the way, such as an expired token.
After a run with failures, the card above the chat box with Have the Agent Look
The run’s Test Report rolls up pass / fail / blocked counts with cause-and-fix highlights, ready to share with the team.
Test Report summary view

Step 8: Rerun and Schedule

To run again, use Run test on a single test or Run all on the Test Cases toolbar. See Rerun, and set up Auto-Auth so tokens refresh before every run.

Where to Go Next

Endpoint Tests

What a generated API test looks like

Integration Tests

Multi-step workflows that chain endpoints

Auto-Auth

Keep tokens fresh on every run

Test Schedules

Run on a cadence to catch regressions