Skip to main content
POST

Authorizations

Authorization
string
header
required

Send Authorization: Bearer tst_live_….

Format (services/api-keys.ts): the literal prefix tst_live_ followed by 24 random bytes rendered as 32 base64url characters. Only the SHA-256 hash is stored server-side. The shape check that routes a token down the API-key path rather than the Clerk JWT path requires the tst_live_ prefix and a total length of at least 25 characters.

Keys are minted in the dashboard at /settings/team. The same header also accepts a Clerk session JWT, which is how the web app authenticates, but the JWT path is out of scope for this document.

Body

application/json
baseUrl
string
required

The site under test. The scheme may be omitted, in which case https:// is prepended, and a trailing slash on the path is removed before storage and before the duplicate check. Private, loopback, link-local and cloud-metadata hosts are rejected.

Required string length: 3 - 500
name
string

Display name. Defaults to the hostname with a leading www. stripped.

Required string length: 1 - 100

Response

A project with this normalised base URL already existed in the organization; it was returned with lastUsedAt refreshed.

project
Project · object
required

A website-under-test. Handlers return the whole DB row, so several internal columns are visible.

created
boolean
required