# General Translation Platform: Check if context generation is needed URL: https://generaltranslation.com/en-US/docs/platform/openapi/reference/context/check-freshness.mdx --- title: "Check if context generation is needed" description: "Check whether the Project needs translation context generated. This deprecated endpoint is retained for backward compatibility and is no longer called by current clients. API reference for Check if context generation is needed." method: GET full: true _openapi: method: GET route: /v2/project/setup/should-generate toc: [] structuredData: headings: [] contents: - content: > Check whether the Project needs translation context generated. This deprecated endpoint is retained for backward compatibility and is no longer called by current clients. --- ## `GET https://api.gtx.dev/v2/project/setup/should-generate` Check whether the Project needs translation context generated. This deprecated endpoint is retained for backward compatibility and is no longer called by current clients. Authentication: send an API key as a bearer token in the `Authorization: Bearer ` header. ### Parameters - `gt-api-version` (header, "2025-01-01.v0" | "2025-11-03.v1" | "2026-02-18.v1" | "2026-03-06.v1", optional): API version. Defaults to the earliest supported version. Latest is `2026-03-06.v1`. - `gt-project-id` (header, string, optional): Target project ID. Required when authenticating with an organization API key. ### Responses **200**: Whether context generation is recommended. Response body (`application/json`, object): - `shouldSetupProject` (boolean) **401**: Missing or invalid API key. Response body (`application/json`, object): - `error` (string): Human-readable error message. **403**: The API key lacks the required permission, or the action is not allowed on the current plan. Response body (`application/json`, object): - `error` (string): Human-readable error message. The complete OpenAPI 3.1 spec is available at https://generaltranslation.com/openapi.yaml.