
How It Works
- On the Access details step of New Project, enter your Base Endpoint and click Upload API docs: OpenAPI, Swagger, a Postman collection, or any free-form reference (markdown, PDF, plain text).
- Discovery starts right away. A toast shows how many APIs and endpoints were found; a typical run takes 30 seconds to 3 minutes.
- Review the endpoints in the Set Up Your Tests dialog, then save them.

Discovery happens only while you create the project. After that, the endpoint list is locked; to test a fundamentally different set of endpoints, start a new project.
Reviewing the Endpoints
Endpoints are grouped by resource family (for example, everything under/users/*). For each one you can:
- Remove it with the trash icon. Removed endpoints get no tests.
- Fix the path by clicking the row, if a placeholder like
{userId}was captured as a literal value. - Set the auth type (Basic, Bearer, API-key, or None). Use Customize Header to set it for many endpoints at once.

Adding Endpoints Manually
If discovery missed an endpoint, click Add API in the Set Up Your Tests dialog. With no docs at all, use Add Endpoints Manually on the Access details step.
Auth
The auth you set here is what your test runs start with. After the project is created, change it per endpoint with Customize Header in Project Settings → Test Execution → Environment, or set up Auto-Auth for tokens that expire. Give TestSprite a long-lived test account with access to your whole API, since discovery and test runs both call it. Anything your docs don’t say, such as an unusual auth header or endpoints to skip, goes in Extra Instructions on the Extra Context step.Troubleshooting
- An endpoint behind complex auth is missing (HMAC signing, mutual TLS, IP restrictions). Add it manually.
- An endpoint needs existing data, like
POST /orders/{id}/cancel. Add it manually; integration tests work out the dependency chain. - An undocumented endpoint with an unusual path (for example
/api/v2/foo.action) wasn’t found. Add it manually. - GraphQL or RPC APIs. TestSprite is REST-first. GraphQL discovery is best-effort, so upload your
.graphqlschema with your docs. Pure RPC (gRPC, JSON-RPC) isn’t supported.
Where to Go Next
Plan Generation & Editing
Turn the endpoints into a test plan
Auto-Auth
Keep tokens fresh on every run