Tests API
The Tests API lets your own code do what you do in the AutoProctor dashboard: list your tests and their results, close or hide a test, delete what you no longer need, and check your plan and credits. Use them to pull results into your own tools, flag attempts with a low Trust Score for review, or let an AI assistant work through your results for you.
The Tests API is for your AutoProctor tests, the ones you create and run in the dashboard. To add proctoring to tests on your own website, use the SDK instead.
Who can use them
The Tests API is part of the Elite plan. The plan is checked on every request. If it lapses, is downgraded or your balance goes negative, the key returns 403. It works again within a minute of the plan being valid again. You don't need a new key. See Plan checks.
Base URL
All endpoints live under one base URL:
https://www.autoproctor.co/api/v3
Authentication
Generate an API key on the Developers page, then send it with every request, either as an X-API-Key header or as a bearer token:
curl "https://www.autoproctor.co/api/v3/tests/?fields=id,title,num_started,num_finished&limit=10" \
-H "X-API-Key: $AUTOPROCTOR_API_KEY"
curl "https://www.autoproctor.co/api/v3/tests/?fields=id,title&limit=10" \
-H "Authorization: Bearer $AUTOPROCTOR_API_KEY"
A key acts as you: it sees exactly the tests you see in your dashboard, including tests other admins added you to as a collaborator. See Authentication & API keys.
What you can do
| Resource | What you can do |
|---|---|
| Tests | List and read your tests; close, reopen or hide a test; delete a closed test |
| Test attempts | List and read attempts with their Trust Score and proctoring summary; delete an attempt |
| Subscription details | Read your plan, its status and your remaining credits |
| Usage | Read attempts and credits used per month |
The API reference lists every endpoint with its parameters, fields and an example. Each endpoint also has a Try it panel: paste your key and send a real request from the page. The key stays in that browser tab only, and a delete asks you to type the id first.
Reading lists
List endpoints share a few query parameters:
fields(required): the columns to return, comma-separated, for examplefields=label,trust_score,test_finish_time.expand: related records to include, for exampleexpand=test_takeron test attempts. Name their columns infieldsastest_taker.email.limit: rows per page, at most100.cursor: thenext_cursorvalue from the previous page. Whenhas_moreisfalseyou have every row. Send it with exactly the samefields, filters,sort_fieldandsort_diras the first request: the cursor only marks where the next page starts.- Filters:
column[op]=value, for exampletrust_score[lt]=0.5ortest_id[eq]=1234. Onlycolumn[op]=valueis a filter. Any other unknown query parameter is ignored, not rejected, sotest_id=1234returns every attempt, not just that test's.
Date filters take a date like 2026-09-01 or a full timestamp like 2026-09-01T10:00:00Z, so you can send back a timestamp a response returned. A value the field can't hold (a malformed date, or a status that doesn't exist) returns 400 with the allowed values.
trust_score runs from 0 to 1 (0.42 is 42% in the dashboard) and is null until it is calculated. Use trust_score_pct for the dashboard's number.
curl reads [ and ] in a URL as a range, so pass -g (or encode them as %5B and %5D) when you send a filter:
curl -g "https://www.autoproctor.co/api/v3/test-attempts/?fields=label,trust_score&trust_score[lt]=0.5&limit=100" \
-H "X-API-Key: $AUTOPROCTOR_API_KEY"
A list response looks like this:
{
"data": [ { "label": "aB3dE", "trust_score": 0.42 } ],
"has_more": true,
"next_cursor": "…"
}
Requests share a per-minute and per-hour limit. See Errors & rate limits for status codes, limits and retries.
Use with an AI assistant
The whole API is described in a machine-readable OpenAPI document:
https://www.autoproctor.co/api/v3/openapi.json
Give that URL to your AI assistant or tool, together with an API key, and it can find the right endpoint itself. Give it a read-only key unless it needs to change something: a read-only key can read everything but can't close, hide or delete. Each change is described on its endpoint, under Tests and Test attempts in the sidebar.