Skip to content
The docs are now organized by product area. Old links still work. Report a broken link

Qualflare API

The Qualflare REST API at api.qualflare.com/api/v1: authenticate with a project access token, page and sort lists, and find each endpoint and the MCP server.

Last updated

The Qualflare API is a REST API at https://api.qualflare.com/api/v1 that reads and changes the data of one project, the one the project access token you send belongs to.

Base URLhttps://api.qualflare.com/api/v1
AuthenticationAuthorization: Bearer $QF_TOKEN with a project access token
FormatJSON; send Content-Type: application/json with a body
ProjectThe one the token belongs to; no route takes a project ID
ReadsAny token. Token creator: Viewer+ · project (requires the Viewer role or higher in the project)
UploadsAny token. Token creator: Editor+ · project (requires the Editor role or higher in the project)
Other writesA token created with Allow writes. Token creator: Editor+ · project (requires the Editor role or higher in the project)
LimitsRate limits and request sizes
ErrorsErrors and status codes

Authentication

Send a project access token (create one) as Authorization: Bearer <token>, or in a QF_TOKEN header (the one the qf CLI sends) or an Access-Token header. A request with no token gets 401 and access token is required, and a wrong, revoked or expired token gets 401 and invalid or expired access token. The API is for servers, CI jobs and scripts: it sends CORS headers only for Qualflare's own web apps, so a web page on your own site can't call it.

Make your first request

This request lists the test suites of the token's project.

GET /api/v1/suites

Needs a project access token whose creator has the Viewer role or higher in the project.

NameTypeDefaultRequiredDescription
pagequery, integer1NoPage number, 1 to 1,000
qquery, stringNoText to look for in suite names and descriptions, up to 255 characters
sortByquery, stringNoseq, name, priority, createdAt, updatedAt, caseCount, teamName or coverageScore
sortDirquery, booleanfalseNotrue sorts in descending order
curl -sS "https://api.qualflare.com/api/v1/suites?page=1" \
  -H "Authorization: Bearer $QF_TOKEN"

Returns 200: A page of suites: items and paging, 20 suites per page.

Conventions

  • Records are addressed by their number in the project, the seq Qualflare shows on them, such as /api/v1/suite/12. A failure cluster uses its id (Find a record's number).
  • Paginated lists return items and paging (page, pages, perPage, totalItems). page takes 1 to 1,000 and defaults to 1. Each resource has its own fixed page size.
  • sortBy takes the fields each resource lists, and sortDir=true sorts in descending order. Launches and defects come back newest first by default.
  • Responses carry an X-Request-Id header. Quote it when you contact support.

Versioning

Every REST API route starts with /api/v1.

Check that the API answers

GET https://api.qualflare.com/health needs no token and answers {"status":"ok"}.

curl -fsS https://api.qualflare.com/health

API pages