Goldmine
Filter Sets

Fetch multiple filter sets by ID

POST
/contracts.v1.Contracts/GetFilterSets

Returns the filter sets matching the given IDs within a workspace, alongside the IDs that did not resolve. Soft-deleted filter sets are treated as not found.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://loading/contracts.v1.Contracts/GetFilterSets" \  -H "Content-Type: application/json" \  -d '{    "workspaceId": "AAECAwQFBgcICQoLDA0ODw==",    "filterSetIds": [      "EBESExQVFhcYGRobHB0eHw==",      "ICEiIyQlJicoKSorLC0uLw=="    ]  }'
{
  "filterSets": [
    {
      "id": "EBESExQVFhcYGRobHB0eHw==",
      "workspaceId": "AAECAwQFBgcICQoLDA0ODw==",
      "name": "StatTrak AK-47 Redline, Field-Tested or better",
      "description": "Reusable fragment matching StatTrak AK-47 Redline skins with a float of 0.27 or lower.",
      "predicate": {
        "group": {
          "condition": "PREDICATE_CONDITION_AND",
          "rules": [
            {
              "rule": {
                "field": "PREDICATE_FIELD_WEAPON",
                "operator": "PREDICATE_OPERATOR_EQ",
                "value": {
                  "stringValue": "AK-47"
                }
              }
            },
            {
              "rule": {
                "field": "PREDICATE_FIELD_PAINT",
                "operator": "PREDICATE_OPERATOR_EQ",
                "value": {
                  "stringValue": "Redline"
                }
              }
            },
            {
              "rule": {
                "field": "PREDICATE_FIELD_HAS_STAT_TRAK",
                "operator": "PREDICATE_OPERATOR_EQ",
                "value": {
                  "boolValue": true
                }
              }
            },
            {
              "rule": {
                "field": "PREDICATE_FIELD_MAX_WEAR",
                "operator": "PREDICATE_OPERATOR_LTE",
                "value": {
                  "numberValue": 0.27
                }
              }
            }
          ]
        }
      },
      "version": "2",
      "createdAt": "2026-03-05T14:30:00Z",
      "updatedAt": "2026-04-18T08:45:00Z"
    }
  ],
  "notFoundIds": [
    "ICEiIyQlJicoKSorLC0uLw=="
  ]
}
{
  "code": "invalid_argument",
  "message": "The request was malformed, such as a missing required field or an unparseable cursor."
}
{
  "code": "unauthenticated",
  "message": "The request lacks a valid API key in the Authorization header."
}
{
  "code": "permission_denied",
  "message": "The API key is not allowed to perform this action on this workspace."
}
{
  "code": "resource_exhausted",
  "message": "The request was rate limited. Slow down and retry later."
}
{
  "code": "internal",
  "message": "An internal server error occurred."
}