# General Translation Platform: Get a CLI wizard session URL: https://generaltranslation.com/en-US/docs/platform/openapi/reference/cli/get-session.mdx --- title: "Get a CLI wizard session" description: "Return credentials when sign-in completes, or a waiting response while the session is pending. Version 2026-03-06.v1 returns apiKeys; earlier versions return apiKey. Limited to 60 requests per minute. API reference for Get a CLI wizard session." method: GET full: true _openapi: method: GET route: /cli/wizard/{sessionId} toc: [] structuredData: headings: [] contents: - content: > Return credentials when sign-in completes, or a waiting response while the session is pending. Version 2026-03-06.v1 returns `apiKeys`; earlier versions return `apiKey`. Limited to 60 requests per minute. --- ## `GET https://api.gtx.dev/cli/wizard/{sessionId}` Return credentials when sign-in completes, or a waiting response while the session is pending. Version 2026-03-06.v1 returns `apiKeys`; earlier versions return `apiKey`. Limited to 60 requests per minute. 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`. - `sessionId` (path, string, required): ### Responses **200**: CLI wizard session credentials. Response body (`application/json`, object): - `apiKey` (string): Returned by API versions before 2026-03-06.v1. - `apiKeys` (object[]): Returned by API version 2026-03-06.v1 and later. - `key` (string, required) - `type` ("development" | "production", required) - `projectId` (string, required) **202**: CLI wizard session is waiting for sign-in. Response body (`application/json`, object): - `message` (string, required) **400**: The request was invalid. Response body (`application/json`, object): - `error` (string, required): Human-readable error message. Response body (`text/html`, string): **404**: The requested resource was not found. Response body (`application/json`, object): - `error` (string, required): Human-readable error message. Response body (`text/html`, string): **413**: The request body exceeds the endpoint limit. Response body (`text/html`, string): **429**: Rate limit or quota exceeded. Response body (`application/json`, object): - `error` (string, required): Human-readable error message. Response body (`text/html`, string): **500**: The server could not complete the request. Response body (`application/json`, object): - `error` (string, required): Human-readable error message. Response body (`text/html`, string): The complete OpenAPI 3.1 spec is available at https://generaltranslation.com/openapi.yaml.