Tricentis V4 Query API

Query V4 APIs

Operations 4

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /api/v4/query Create a saved session query · Create query #
Ask an LLM
“How do I save a new query for finding sessions?”
“Can I share a new query with my team when I create it?”
Tell an agent
Create query {name} in project {project}.
Save team query {name} with clauses {clauses}, team {is_team}.
PUT /api/v4/query/{queryid} Update a saved session query · Update query #
Ask an LLM
“Can I rename a saved query or change its clauses?”
“What changes can I make to an existing session query?”
Tell an agent
Rename query {query} to {name}.
Update the clauses of query {query} to {clauses}.
DELETE /api/v4/query/{queryid} Delete a saved session query · Delete query #
Ask an LLM
“Is there a way to delete a saved query?”
“Can I remove one session query by id?”
Tell an agent destructive · confirm first
Delete query {query}.
Remove saved session query {query}.
PUT /api/v4/query/share Share saved queries · Share queries #
Ask an LLM
“How do I share my saved queries with others?”
“Can I share several queries at once?”
Tell an agent
Share my selected queries.
Share these saved session queries with the team.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/tricentis:tricentis-v4-query-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

tricentis-v4-query-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: qTest Explorer | Sessions V4 Query API
  version: 1.0.0
  description: These APIs are for internal reference by Tricentis development team only. They are not intended to be used publicly by any qTest or non-qTest users and so there is no support provided by Tricentis at any level. If you want to access these APIs, please send a support ticket to support@tricentis.com.
servers:
- url: https://session-js.qtestnet.com/
tags:
- name: v4-query
  description: Query V4 APIs
paths:
  /api/v4/query:
    post:
      tags:
      - v4-query
      summary: Create query
      responses:
        201:
          $ref: '#/components/schemas/Query'
        401:
          description: Unauthorized
        403:
          description: Forbidden
        500:
          description: Server error
      security:
      - v3_auth: []
      x-swagger-router-controller: api.query
      requestBody:
        content:
          application/json:
            schema:
              type: object
              $ref: '#/components/schemas/CreateQuery'
        description: Create query model
        required: true
      operationId: postApiV4Query
      x-operation-id-source: derived
  /api/v4/query/{queryid}:
    put:
      tags:
      - v4-query
      summary: Update query
      parameters:
      - name: queryid
        in: path
        description: query's id
        required: true
        schema:
          type: integer
      responses:
        200:
          $ref: '#/components/schemas/Query'
        401:
          description: Unauthorized
        403:
          description: Forbidden
        404:
          description: NotFound
        500:
          description: Server error
      security:
      - v3_auth: []
      x-swagger-router-controller: api.query
      requestBody:
        content:
          application/json:
            schema:
              type: object
              $ref: '#/components/schemas/Query'
        description: Update query
        required: true
      operationId: putApiV4QueryByQueryid
      x-operation-id-source: derived
    delete:
      tags:
      - v4-query
      summary: Delete query
      parameters:
      - name: queryid
        in: path
        description: query's id
        required: true
        schema:
          type: integer
      responses:
        200:
          description: Ok
        401:
          description: Unauthorized
        403:
          description: Forbidden
        500:
          description: Server error
      security:
      - v3_auth: []
      x-swagger-router-controller: api.query
      operationId: deleteApiV4QueryByQueryid
      x-operation-id-source: derived
  /api/v4/query/share:
    put:
      tags:
      - v4-query
      summary: Share queries
      responses:
        200:
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    description: number of queries
                    type: integer
                  failed:
                    description: number of queries
                    type: integer
                  errors:
                    description: error
                    type: object
                    properties:
                      id:
                        description: query's id
                        type: integer
                      error:
                        type: string
        401:
          description: Unauthorized
        403:
          description: Forbidden
        404:
          description: NotFound
        500:
          description: Server error
      security:
      - v3_auth: []
      x-swagger-router-controller: api.query
      requestBody:
        content:
          application/json:
            schema:
              type: array
              items:
                type: object
                properties:
                  queryId:
                    type: string
                  isShared:
                    type: boolean
        description: Share queries
        required: true
      operationId: putApiV4QueryShare
      x-operation-id-source: derived
components:
  schemas:
    QueryClause:
      type: object
      properties:
        leftGroup:
          type: string
        rightGroup:
          type: string
        criteria:
          type: string
        operator:
          type: string
        value:
          type: string
    Query:
      type: object
      properties:
        id:
          type: string
        parent_id:
          type: string
        name:
          type: string
        summary:
          type: string
        type:
          type: integer
        is_system:
          type: boolean
        is_team:
          type: boolean
        qid:
          type: string
        query_clauses:
          type: array
          items:
            $ref: '#/components/schemas/QueryClause'
        children:
          type: array
          description: Queries array
          items:
            type: object
    CreateQuery:
      type: object
      properties:
        name:
          type: string
        queryClauses:
          type: array
          items:
            $ref: '#/components/schemas/QueryClause'
        isTeam:
          type: boolean
        projectId:
          type: integer
  securitySchemes:
    v2_auth:
      type: apiKey
      name: Authorization
      in: header
    v3_auth:
      type: apiKey
      name: Authorization
      in: header