Skip to main content
GET
/
{projectId}
/
filters
Get filter values
curl --request GET \
  --url https://api.testdino.com/api/public/v1/{projectId}/filters \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "environments": [
      {
        "environment": "<string>",
        "authors": [
          {
            "author": "<string>",
            "branches": [
              "<string>"
            ]
          }
        ]
      }
    ],
    "testRunTags": [
      "<string>"
    ],
    "testCaseTags": [
      "<string>"
    ]
  }
}

Authorizations

Authorization
string
header
required

Project PAT (tdp_) token with public-api scope

Path Parameters

projectId
string
required

The project identifier (e.g. project_abc123). Must match the project associated with your PAT.

Query Parameters

dateRange
enum<string>

Predefined date range filter. Takes precedence over startDate/endDate if both are provided. For custom ranges, omit this and use startDate+endDate instead.

Available options:
7d,
14d,
30d,
60d,
90d
environment
string

Filter results by environment name (e.g. production, staging). Use the /filters endpoint to discover available environments.

startDate
string<date>

Start of a custom date range (ISO 8601 date, e.g. 2026-03-01). Must be used together with endDate. Ignored if dateRange is also provided.

endDate
string<date>

End of a custom date range (ISO 8601 date, e.g. 2026-03-31). Must be used together with startDate. Ignored if dateRange is also provided.

Response

Filter values

success
boolean
data
object