# Retrieve a linguistic engine

`GET https://api.lingohub.com/v2/linguistic-engines/{linguisticEngineId}`

LingoHub API V2 (Beta) · [Linguistic Engines](https://developers.lingohub.com/reference/v2/operations/tags/linguistic-engines.md) · operation `getLinguisticEngine`

Returns the engine if this workspace can see it. Archived engines are still returned here, so older references resolve. Requires workspace-level AI translation view permission.

## Parameters

| Parameter | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `linguisticEngineId` | path | yes | string |  |

## Example request

```sh
curl --request GET \
  --url https://api.lingohub.com/v2/linguistic-engines/LINGUISTIC_ENGINE_ID \
  --header 'Authorization: Bearer YOUR_API_KEY'
```

## Responses

- `200`: Resource retrieved.
- `400`: 
- `401`: 
- `403`: 
- `404`: 
- `429`: 
- `500`: 
- `503`: 

## OpenAPI definition

The complete definition of this operation, with every schema it references:

````json
{
  "openapi": "3.1.0",
  "info": {
    "title": "LingoHub API V2 (Beta)",
    "version": "2.0"
  },
  "servers": [
    {
      "url": "https://api.lingohub.com",
      "description": "LingoHub"
    }
  ],
  "tags": [
    {
      "name": "Linguistic Engines",
      "description": "Read the translation engines a LINA can use."
    }
  ],
  "paths": {
    "/v2/linguistic-engines/{linguisticEngineId}": {
      "get": {
        "tags": [
          "Linguistic Engines"
        ],
        "summary": "Retrieve a linguistic engine",
        "description": "Returns the engine if this workspace can see it. Archived engines are still returned here, so older references resolve. Requires workspace-level AI translation view permission.",
        "operationId": "getLinguisticEngine",
        "parameters": [
          {
            "name": "linguisticEngineId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "description": "Public id composed of the resource type prefix and its UUID.",
              "pattern": "^engine_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Resource retrieved.",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/ETag"
              },
              "RateLimit": {
                "$ref": "#/components/headers/RateLimit"
              },
              "RateLimit-Policy": {
                "$ref": "#/components/headers/RateLimit-Policy"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LinguisticEngine"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequests"
          },
          "500": {
            "$ref": "#/components/responses/InternalServerError"
          },
          "503": {
            "$ref": "#/components/responses/ServiceUnavailable"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ]
      }
    }
  },
  "components": {
    "headers": {
      "ETag": {
        "description": "Opaque strong validator for this representation. Keep its quotation marks and use it as If-Match on a documented conditional write. A replay carries the original ETag, which may now be stale.",
        "schema": {
          "type": "string"
        }
      },
      "RateLimit": {
        "description": "State of the rate-limit policy currently closest to rejection (IETF draft-ietf-httpapi-ratelimit-headers): the quoted policy name with `r` = requests remaining right now and `t` = seconds until the full quota is available again. Example: `\"api-key\";r=42;t=7`. Advisory: absent when the request fails authentication or the limiter state is momentarily unknown.",
        "schema": {
          "type": "string"
        }
      },
      "RateLimit-Policy": {
        "description": "The rate-limit policies applied to the request: each quoted policy name with `q` = sustained request quota per window of `w` seconds. Example: `\"api-key\";q=180;w=60, \"workspace\";q=600;w=60`. Advisory: absent when the request fails authentication or the limiter state is momentarily unknown.",
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "description": "Seconds to wait before retrying.",
        "schema": {
          "type": "integer",
          "format": "int32"
        }
      }
    },
    "schemas": {
      "LinguisticEngine": {
        "type": "object",
        "description": "A workspace-visible engine and its safe translation capabilities.",
        "properties": {
          "object_type": {
            "type": "string",
            "description": "Always `LINGUISTIC_ENGINE`.",
            "enum": [
              "LINGUISTIC_ENGINE"
            ],
            "example": "LINGUISTIC_ENGINE"
          },
          "id": {
            "type": "string",
            "description": "Unique engine identity.",
            "example": "engine_0197c8f2-5a6b-7cde-8f12-3456789abcde",
            "minLength": 1,
            "pattern": "^engine_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
          },
          "model": {
            "$ref": "#/components/schemas/LinguisticEngineModel",
            "description": "Configured engine model.",
            "example": "AI_GPT_5_4"
          },
          "type": {
            "$ref": "#/components/schemas/LinguisticEngineType",
            "description": "AI or machine translation engine.",
            "example": "AI"
          },
          "provider": {
            "$ref": "#/components/schemas/LinguisticEngineProvider",
            "description": "Model provider.",
            "example": "OPENAI"
          },
          "ownership": {
            "$ref": "#/components/schemas/LinguisticEngineOwnership",
            "description": "Who provides the engine: LingoHub, or the workspace with its own provider connection. A workspace engine has the model, provider and context support of the LingoHub engine it was added from.",
            "example": "LINGOHUB"
          },
          "is_enabled": {
            "type": "boolean",
            "description": "Current engine availability including workspace and connection status.",
            "example": true
          },
          "linguistic_credits_multiplier_basis_points": {
            "type": "integer",
            "format": "int32",
            "description": "Credit multiplier in basis points; 10000 is 1.0x.",
            "example": 10000
          },
          "is_style_guide_context_supported": {
            "type": "boolean",
            "description": "Whether style guide context is supported.",
            "example": true
          },
          "is_glossary_context_supported": {
            "type": "boolean",
            "description": "Whether glossary context is supported.",
            "example": true
          },
          "is_labels_context_supported": {
            "type": "boolean",
            "description": "Whether labels context is supported.",
            "example": true
          },
          "is_segments_context_supported": {
            "type": "boolean",
            "description": "Whether segments context is supported.",
            "example": true
          },
          "is_translation_memory_context_supported": {
            "type": "boolean",
            "description": "Whether translation memory context is supported.",
            "example": true
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "description": "Stored engine creation time.",
            "example": "2026-09-29T10:00:00.123Z"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time",
            "description": "Stored engine metadata update time; availability may also change with workspace or connection settings.",
            "example": "2026-09-29T10:00:00.123Z"
          }
        },
        "required": [
          "created_at",
          "id",
          "is_enabled",
          "is_glossary_context_supported",
          "is_labels_context_supported",
          "is_segments_context_supported",
          "is_style_guide_context_supported",
          "is_translation_memory_context_supported",
          "linguistic_credits_multiplier_basis_points",
          "model",
          "object_type",
          "ownership",
          "provider",
          "type",
          "updated_at"
        ]
      },
      "LinguisticEngineModel": {
        "type": "string",
        "description": "The model an engine runs. New models are added over time, so clients must accept values they don't know.",
        "enum": [
          "MT_GOOGLE_TRANSLATE_V3",
          "MT_DEEPL_TRANSLATE_V1",
          "MT_AWS_TRANSLATE",
          "AI_GPT_5_4",
          "AI_GPT_5_4_MINI",
          "AI_GPT_5_4_NANO",
          "AI_GPT_5_6_SOL",
          "AI_GPT_5_6_TERRA",
          "AI_GPT_5_6_LUNA",
          "AI_GEMINI_2_5_FLASH",
          "AI_GEMINI_2_5_PRO",
          "AI_GEMINI_3_6_FLASH",
          "AI_GEMINI_3_5_FLASH_LITE",
          "AI_CLAUDE_OPUS_4_7",
          "AI_CLAUDE_SONNET_4_6",
          "AI_CLAUDE_HAIKU_4_5",
          "AI_CLAUDE_OPUS_5",
          "AI_CLAUDE_SONNET_5",
          "AI_MISTRAL_LARGE_3",
          "AI_MISTRAL_SMALL_4",
          "AI_MISTRAL_MEDIUM_3_5",
          "AI_MISTRAL_LARGE_4",
          "AI_GPT_6_LUNA",
          "AI_GPT_6_1_TERRA",
          "AI_GPT_6_1_SOL",
          "AI_GEMINI_3_8_FLASH",
          "AI_CLAUDE_OPUS_5_5",
          "AI_CLAUDE_SONNET_5_5",
          "AI_CLAUDE_HAIKU_5_5"
        ]
      },
      "LinguisticEngineType": {
        "type": "string",
        "description": "`AI`: a large language model that can use context such as glossaries and style guides. `MT`: a machine translation service.",
        "enum": [
          "MT",
          "AI"
        ]
      },
      "LinguisticEngineProvider": {
        "type": "string",
        "description": "The company whose service runs the engine's model.",
        "enum": [
          "GOOGLE",
          "DEEPL",
          "AWS",
          "OPENAI",
          "ANTHROPIC",
          "MISTRAL"
        ]
      },
      "LinguisticEngineOwnership": {
        "type": "string",
        "description": "Who provides the engine. `LINGOHUB`: an engine LingoHub provides to every workspace. `WORKSPACE`: an engine the workspace added with its own provider connection (its own provider API key).",
        "enum": [
          "LINGOHUB",
          "WORKSPACE"
        ]
      },
      "Error": {
        "type": "object",
        "description": "RFC 9457 problem details. `code` identifies the problem type (one per `type` URL); `errors` lists rejected fields or parameters; `required_permission` names the permission a 403 lacked.",
        "properties": {
          "type": {
            "type": "string",
            "description": "URL identifying the problem type and pointing to its documentation.",
            "example": "https://api.lingohub.com/errors/resource-not-found"
          },
          "title": {
            "type": "string",
            "description": "Short, constant summary of the problem type.",
            "example": "Resource not found"
          },
          "status": {
            "type": "integer",
            "format": "int32",
            "description": "HTTP status code.",
            "example": 404
          },
          "detail": {
            "type": "string",
            "description": "Human-readable explanation of this occurrence of the problem.",
            "example": "Resource with ID 'pr_0197c8f2-5a6b-7cde-8f12-3456789abcde' was not found."
          },
          "instance": {
            "type": "string",
            "description": "Path of the request that produced the problem.",
            "example": "/v2/projects/pr_0197c8f2-5a6b-7cde-8f12-3456789abcde"
          },
          "code": {
            "$ref": "#/components/schemas/ErrorCode",
            "description": "Machine-readable problem type.",
            "example": "resource_not_found"
          },
          "request_id": {
            "type": "string",
            "description": "Correlation id of the request, also returned in the `X-Request-ID` header. Quote it when contacting support.",
            "example": "f47ac10b-58cc-4372-a567-0e02b2c3d479"
          },
          "errors": {
            "type": "array",
            "description": "Rejected fields or parameters. Present when the problem concerns specific fields or parameters.",
            "example": [
              {
                "detail": "must be at least 2 characters long",
                "pointer": "#/name",
                "parameter": "limit",
                "code": "minLength"
              }
            ],
            "items": {
              "$ref": "#/components/schemas/FieldError"
            }
          },
          "required_permission": {
            "$ref": "#/components/schemas/RequiredPermission",
            "description": "The permission the API key lacks. Present on 403 responses."
          }
        },
        "required": [
          "code",
          "detail",
          "instance",
          "request_id",
          "status",
          "title",
          "type"
        ]
      },
      "ErrorCode": {
        "type": "string",
        "description": "Machine-readable problem type of a V2 error response. Each code has a fixed HTTP status and documentation at its `type` URL.",
        "enum": [
          "invalid_json",
          "invalid_parameter",
          "missing_parameter",
          "unknown_parameter",
          "invalid_filter",
          "invalid_cursor",
          "bad_request",
          "missing_api_key",
          "invalid_api_key",
          "expired_api_key",
          "revoked_api_key",
          "disabled_api_key",
          "insufficient_permissions",
          "resource_not_found",
          "route_not_found",
          "method_not_allowed",
          "not_acceptable",
          "precondition_failed",
          "content_too_large",
          "unsupported_media_type",
          "already_exists",
          "idempotency_outcome_unknown",
          "idempotency_key_in_use",
          "stack_not_empty",
          "branch_not_ready",
          "backup_not_ready",
          "backup_in_use",
          "default_branch_protected",
          "owner_membership_protected",
          "source_language_protected",
          "branch_limit_reached",
          "context_image_limit_reached",
          "automation_limit_reached",
          "translation_order_pending",
          "git_integration_not_configured",
          "branch_git_integration_not_configured",
          "git_integration_unauthorized",
          "conflict",
          "validation_failed",
          "idempotency_key_mismatch",
          "rate_limit_exceeded",
          "internal_error",
          "upstream_error",
          "service_unavailable",
          "upstream_timeout"
        ]
      },
      "FieldError": {
        "type": "object",
        "description": "A rejected field or parameter. `pointer` locates a body field (RFC 6901 JSON Pointer), `parameter` a query, path or header parameter or a field of a multipart upload; both are set for a position inside a JSON-valued parameter such as `filter`.",
        "properties": {
          "detail": {
            "type": "string",
            "description": "Human-readable description of the problem.",
            "example": "must be at least 2 characters long"
          },
          "pointer": {
            "type": [
              "string",
              "null"
            ],
            "description": "JSON Pointer to the offending body field, or to the position inside a JSON-valued parameter.",
            "example": "#/name"
          },
          "parameter": {
            "type": [
              "string",
              "null"
            ],
            "description": "Name of the offending query, path or header parameter, or of the multipart form field.",
            "example": "limit"
          },
          "code": {
            "$ref": "#/components/schemas/FieldErrorCode",
            "description": "Why the field or parameter was rejected.",
            "example": "minLength"
          }
        },
        "required": [
          "code",
          "detail",
          "parameter",
          "pointer"
        ]
      },
      "FieldErrorCode": {
        "type": "string",
        "description": "Why a field or parameter was rejected: the JSON Schema keyword of the violated rule, or one of the documented rules that no schema can express.",
        "enum": [
          "required",
          "type",
          "enum",
          "minLength",
          "maxLength",
          "minimum",
          "maximum",
          "pattern",
          "format",
          "additionalProperties",
          "minItems",
          "maxItems",
          "uniqueItems",
          "already_exists",
          "not_found",
          "not_supported",
          "unsupported_file_extension",
          "file_too_large",
          "file_empty",
          "invalid_archive",
          "empty_archive"
        ]
      },
      "RequiredPermission": {
        "type": "object",
        "description": "The permission the API key lacks, in the vocabulary of the API key permission settings.",
        "properties": {
          "scope": {
            "$ref": "#/components/schemas/PermissionScope",
            "description": "Where the permission applies.",
            "example": "STACK"
          },
          "target": {
            "$ref": "#/components/schemas/PermissionTarget",
            "description": "The area the permission governs.",
            "example": "SETTINGS"
          },
          "level": {
            "$ref": "#/components/schemas/PermissionLevel",
            "description": "The access level required.",
            "example": "MANAGE"
          }
        },
        "required": [
          "level",
          "scope",
          "target"
        ]
      },
      "PermissionScope": {
        "type": "string",
        "description": "Where a permission applies: `WORKSPACE` permissions cover workspace-level resources, `STACK` permissions the resources of a stack (its projects, branches, resources, languages, ...).",
        "enum": [
          "WORKSPACE",
          "STACK"
        ]
      },
      "PermissionTarget": {
        "type": "string",
        "description": "The area a permission governs.",
        "enum": [
          "GENERAL",
          "BILLING_SUBSCRIPTION",
          "WORKSPACES",
          "MEMBERS",
          "PLUGINS_INTEGRATIONS",
          "LOGS",
          "API_ACCESS",
          "STACKS",
          "TRANSLATION_ORDERS",
          "WORK_REPORTS",
          "STYLE_GUIDES",
          "GLOSSARIES",
          "TRANSLATION_MEMORIES",
          "LABELS",
          "AI_TRANSLATION",
          "QUICK_TRANSLATIONS",
          "SETTINGS",
          "ACTIVITIES",
          "RESOURCES",
          "CONTEXT_IMAGES",
          "LANGUAGES",
          "SEGMENT_KEYS",
          "SEGMENTS",
          "SEGMENT_TEXTS"
        ]
      },
      "PermissionLevel": {
        "type": "string",
        "description": "Access level of a permission: `MANAGE` includes `WRITE` and `VIEW`.",
        "enum": [
          "NO_ACCESS",
          "VIEW",
          "WRITE",
          "MANAGE"
        ]
      }
    },
    "responses": {
      "BadRequest": {
        "description": "The request is malformed: an unknown or invalid query parameter, an invalid id in the path, or a body that is not valid JSON. `code` names the problem, `errors` the parameter or field.",
        "headers": {
          "RateLimit": {
            "$ref": "#/components/headers/RateLimit"
          },
          "RateLimit-Policy": {
            "$ref": "#/components/headers/RateLimit-Policy"
          }
        },
        "content": {
          "application/problem+json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      },
      "Unauthorized": {
        "description": "Invalid or missing API key.",
        "content": {
          "application/problem+json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      },
      "Forbidden": {
        "description": "Insufficient permissions.",
        "headers": {
          "RateLimit": {
            "$ref": "#/components/headers/RateLimit"
          },
          "RateLimit-Policy": {
            "$ref": "#/components/headers/RateLimit-Policy"
          }
        },
        "content": {
          "application/problem+json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      },
      "NotFound": {
        "description": "The resource does not exist, or the API key cannot see it.",
        "headers": {
          "RateLimit": {
            "$ref": "#/components/headers/RateLimit"
          },
          "RateLimit-Policy": {
            "$ref": "#/components/headers/RateLimit-Policy"
          }
        },
        "content": {
          "application/problem+json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      },
      "TooManyRequests": {
        "description": "The API rate limit was exceeded. Wait for the number of seconds given in the Retry-After header, then retry.",
        "headers": {
          "Retry-After": {
            "$ref": "#/components/headers/Retry-After"
          },
          "RateLimit": {
            "$ref": "#/components/headers/RateLimit"
          },
          "RateLimit-Policy": {
            "$ref": "#/components/headers/RateLimit-Policy"
          }
        },
        "content": {
          "application/problem+json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      },
      "InternalServerError": {
        "description": "An unexpected internal server error occurred.",
        "headers": {
          "RateLimit": {
            "$ref": "#/components/headers/RateLimit"
          },
          "RateLimit-Policy": {
            "$ref": "#/components/headers/RateLimit-Policy"
          }
        },
        "content": {
          "application/problem+json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      },
      "ServiceUnavailable": {
        "description": "The service is temporarily unavailable. Retry after the number of seconds in the Retry-After header.",
        "headers": {
          "Retry-After": {
            "$ref": "#/components/headers/Retry-After"
          },
          "RateLimit": {
            "$ref": "#/components/headers/RateLimit"
          },
          "RateLimit-Policy": {
            "$ref": "#/components/headers/RateLimit-Policy"
          }
        },
        "content": {
          "application/problem+json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      }
    },
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "description": "API key authentication. Create API keys in your LingoHub workspace settings. Keys use the `lh-api_` prefix. Pass the full key as the Bearer token.",
        "scheme": "bearer"
      }
    }
  }
}
````
