---
title: "Search strings"
method: POST
path: "/strings-view-service-graphql-api/v2/projects/{projectId}/graphql"
tags: ["Content Search"]
---

# Search strings

`POST /strings-view-service-graphql-api/v2/projects/{projectId}/graphql`

Search for strings in your project using GraphQL.

**Example Query:**
```graphql
  query Search($searchStringsFilter: SearchStringsFilter!) {
    searchStrings(searchStringsFilter: $searchStringsFilter) {
      content {
        source {
          hashcode
        }
        translations {
          translationForms {
            translationText
            pluralForm
          }
        }
      }
      totalCount
      totalWordCount
      __typename
    }
  }
```

## Path parameters

- `projectId` string, uuid, required

## Response `200`

OK

- ContentSearchResponse
  - `data` object
    - `searchStrings` object
      - `content` object[] — Array of string content with translations
        - `source` object
          - `hashcode` string — Unique hash identifier for the source string
        - `translations` object[] — Array of translations for the source string
          - `translationForms` object[] — Translation text variations (including plural forms)
            - `translationText` string — The translated text
            - `pluralForm` string, nullable — Plural form identifier if applicable
      - `totalCount` integer — Total number of strings found
      - `totalWordCount` integer — Total word count
      - `__typename` string — GraphQL type name

## Other responses

- `500` — Unexpected error

---

[API](https://skmtc.net/smartling/apis/smartling-rest-api-reference.md) · [All operations](https://skmtc.net/smartling/apis/smartling-rest-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/smartling/smartling-rest-api-reference/revisions/2a73d11e9b98/schema)
