# Retrieve a workspace audit log

`GET https://api.lingohub.com/v2/audit-logs/{auditLogId}`

LingoHub API V2 (Beta) · [Audit Logs](https://developers.lingohub.com/reference/v2/operations/tags/audit-logs.md) · operation `getAuditLog`

Returns one audit log entry: what changed, who changed it, in which project, and the changed values with their previous ones. Secrets are never shown. Entries older than the plan keeps audit logs answer 404. Requires the workspace's logs view permission.

## Parameters

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

## Example request

```sh
curl --request GET \
  --url https://api.lingohub.com/v2/audit-logs/AUDIT_LOG_ID \
  --header 'Authorization: Bearer YOUR_API_KEY'
```

## Responses

- `200`: The audit log entry with its changed values.
- `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": "Audit Logs",
      "description": "Read the workspace's audit log: who changed what, and when."
    }
  ],
  "paths": {
    "/v2/audit-logs/{auditLogId}": {
      "get": {
        "tags": [
          "Audit Logs"
        ],
        "summary": "Retrieve a workspace audit log",
        "description": "Returns one audit log entry: what changed, who changed it, in which project, and the changed values with their previous ones. Secrets are never shown. Entries older than the plan keeps audit logs answer 404. Requires the workspace's logs view permission.",
        "operationId": "getAuditLog",
        "parameters": [
          {
            "name": "auditLogId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "description": "Public id composed of the resource type prefix and its UUID.",
              "pattern": "^audit_[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": "The audit log entry with its changed values.",
            "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/AuditLogWithChanges"
                }
              }
            }
          },
          "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": {
      "AuditLogWithChanges": {
        "type": "object",
        "description": "One change in the workspace's audit log: what changed, who changed it, in which project, and the changed values with their previous ones.",
        "properties": {
          "object_type": {
            "type": "string",
            "description": "Always `AUDIT_LOG`.",
            "enum": [
              "AUDIT_LOG"
            ],
            "example": "AUDIT_LOG"
          },
          "id": {
            "type": "string",
            "description": "Unique identifier of the audit log entry.",
            "example": "audit_0197c8f2-5a6b-7cde-8f12-3456789abcde",
            "minLength": 1,
            "pattern": "^audit_[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}$"
          },
          "request_id": {
            "type": "string",
            "format": "uuid",
            "description": "Id of the request that made the change, as V2 problem details and the X-Request-ID response header carry it; the API log entries of an API request have the same request_id.",
            "example": "0197c8f2-5a6b-7cde-8f12-3456789abcde"
          },
          "category": {
            "$ref": "#/components/schemas/AuditLogCategory",
            "description": "Area of the change.",
            "example": "PROJECTS"
          },
          "target": {
            "$ref": "#/components/schemas/AuditLogTarget",
            "description": "What was changed.",
            "example": "GENERAL"
          },
          "event": {
            "$ref": "#/components/schemas/AuditLogEvent",
            "description": "Kind of change.",
            "example": "UPDATE"
          },
          "actor_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "The actor who made the change: the permanent identity of a user, API key, LINA or LingoHub itself. It stays the same after a member is removed from the workspace or a user, API key or LINA is deleted. Null only for entries without an actor.",
            "example": "act_0197c8f2-5a6b-7cde-8f12-3456789abcde",
            "pattern": "^act_[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}$"
          },
          "actor_type": {
            "description": "What kind of actor made the change; null only for entries without an actor.",
            "example": "API_KEY",
            "oneOf": [
              {
                "$ref": "#/components/schemas/AuditActorType"
              },
              {
                "type": "null"
              }
            ]
          },
          "actor_name": {
            "type": [
              "string",
              "null"
            ],
            "description": "Current name of who made the change; a deleted user, API key or LINA is named \"Deleted User\", \"Deleted API Key\" or \"Deleted LINA\". Null only for entries without an actor.",
            "example": "CI deployment key"
          },
          "project_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "The project the change was made in; null when there is none or it was deleted.",
            "example": "pr_0197c8f2-5a6b-7cde-8f12-3456789abcde",
            "pattern": "^pr_[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}$"
          },
          "project_name": {
            "type": [
              "string",
              "null"
            ],
            "description": "Name of the project when the change was made; kept after the project is deleted.",
            "example": "Website"
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "description": "When the change was made.",
            "example": "2025-01-15T10:30:00.123Z"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time",
            "description": "When the audit log entry was last changed.",
            "example": "2025-01-15T10:30:00.123Z"
          },
          "changes": {
            "description": "The changed values; null when the stored record of the change can't be read.",
            "oneOf": [
              {
                "$ref": "#/components/schemas/AuditChanges"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "actor_id",
          "actor_name",
          "actor_type",
          "category",
          "changes",
          "created_at",
          "event",
          "id",
          "object_type",
          "project_id",
          "project_name",
          "request_id",
          "target",
          "updated_at"
        ]
      },
      "AuditLogCategory": {
        "type": "string",
        "description": "Public audit log category.",
        "enum": [
          "WORKSPACES",
          "TMS",
          "MARKETPLACE",
          "API",
          "MEMBERS",
          "LABELS",
          "PROJECTS",
          "USERS"
        ]
      },
      "AuditLogTarget": {
        "type": "string",
        "description": "Public audit log target.",
        "enum": [
          "GENERAL",
          "PROFILE",
          "PROFILE_URL",
          "SUBSCRIPTION",
          "BILLING_INFOS",
          "PAYMENT_INFOS",
          "INVOICES",
          "PAYMENTS",
          "GLOSSARIES",
          "TRANSLATION_MEMORIES",
          "STYLE_GUIDES",
          "ORDERS",
          "KEYS",
          "WEBHOOKS",
          "INVITATION",
          "PERMISSION",
          "ROLE",
          "LOCALES",
          "RESOURCES",
          "PACKAGES",
          "BACKUPS",
          "PRE_TRANSLATION",
          "INTEGRATIONS",
          "API_LOGS",
          "STACK",
          "LINA",
          "AUDIT_LOGS",
          "SEGMENT_TEXT_EDITS",
          "WORK_LOGS",
          "PASSWORD",
          "WORKSPACE",
          "TWO_FACTOR",
          "TEXT_PROCESSINGS",
          "SETTINGS",
          "BRANCHES"
        ]
      },
      "AuditLogEvent": {
        "type": "string",
        "description": "Public audit log event.",
        "enum": [
          "CREATE",
          "UPDATE",
          "DELETE",
          "RENAME",
          "IMPORT",
          "EXPORT",
          "DEACTIVATE",
          "ACTIVATE",
          "CANCEL",
          "RENEW",
          "APPROVE",
          "FAIL",
          "ACCEPT",
          "DECLINE",
          "TRANSFER",
          "RESET",
          "CONFIRM",
          "ENABLE",
          "DISABLE",
          "SCHEDULE"
        ]
      },
      "AuditActorType": {
        "type": "string",
        "description": "Kind of permanent audit actor.",
        "enum": [
          "LINGOHUB_ROBOT",
          "USER",
          "API_KEY",
          "LINA"
        ]
      },
      "AuditChanges": {
        "type": "object",
        "description": "What the change did, per affected object: each field with its new and previous value. Creates and deletes list the object's fields with `is_changed` false. Secrets, URLs and other sensitive fields are shown as redacted. At most 100 objects and 256 fields per object are listed; `omitted_*` counts the rest.",
        "properties": {
          "omitted_datasets": {
            "type": "integer",
            "format": "int32",
            "description": "Objects not listed beyond the first 100.",
            "example": 0,
            "minimum": 0
          },
          "datasets": {
            "type": "array",
            "description": "The affected objects, in recorded order.",
            "example": [
              {
                "entity_type": "PROJECT",
                "entity_id": "pr_0197c8f2-5a6b-7cde-8f12-3456789abcde",
                "omitted_entries": 0,
                "entries": [
                  {
                    "name": "name",
                    "is_changed": true,
                    "value": "Website (EN)",
                    "previous_value": "Website",
                    "is_redacted": false
                  },
                  {
                    "name": "website",
                    "is_changed": false,
                    "value": null,
                    "previous_value": null,
                    "is_redacted": true
                  }
                ]
              }
            ],
            "items": {
              "$ref": "#/components/schemas/AuditDataset"
            }
          }
        },
        "required": [
          "datasets",
          "omitted_datasets"
        ]
      },
      "AuditDataset": {
        "type": "object",
        "description": "One object the change affected, with its changed fields. An object that can't be read is listed as UNKNOWN without fields.",
        "properties": {
          "entity_type": {
            "$ref": "#/components/schemas/AuditEntityType",
            "description": "Kind of object; UNKNOWN when it can't be read or isn't known.",
            "example": "PROJECT"
          },
          "entity_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "Id of the object, also after it was deleted; null when the object has none or it wasn't recorded.",
            "example": "pr_0197c8f2-5a6b-7cde-8f12-3456789abcde",
            "pattern": "^(api|bii|bkp|bkr|gls|iau|ivo|la|lina|pis|pr|prb|prl|rc|rol|sg|space|stack|stackl|sub|svi|tm|whe|wsu)_[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}$"
          },
          "omitted_entries": {
            "type": "integer",
            "format": "int32",
            "description": "Fields not listed: those beyond the first 256 and those that aren't published.",
            "example": 0,
            "minimum": 0
          },
          "entries": {
            "type": "array",
            "description": "The fields of the object, in recorded order.",
            "example": [
              {
                "name": "name",
                "is_changed": true,
                "value": "Website (EN)",
                "previous_value": "Website",
                "is_redacted": false
              }
            ],
            "items": {
              "$ref": "#/components/schemas/AuditChange"
            }
          }
        },
        "required": [
          "entity_id",
          "entity_type",
          "entries",
          "omitted_entries"
        ]
      },
      "AuditEntityType": {
        "type": "string",
        "description": "Kind of object a change affected. UNKNOWN marks an object that can't be read or isn't known; its fields are not listed.",
        "enum": [
          "API_KEY",
          "BACKUP",
          "BACKUP_RESTORE",
          "BILLING_INFO",
          "INVOICE",
          "SUBSCRIPTION",
          "GLOSSARY",
          "INVITATION",
          "LABEL",
          "LINA",
          "TRANSLATION_MEMORY",
          "PROJECT",
          "BRANCH",
          "PROJECT_INTEGRATION",
          "INTEGRATION_AUTHENTICATION",
          "PROJECT_LANGUAGE",
          "RESOURCE",
          "IMPORT",
          "STACK",
          "STACK_LANGUAGE",
          "STACK_MEMBER",
          "STYLE_GUIDE",
          "USER",
          "WEBHOOK",
          "WORKSPACE",
          "WORKSPACE_ROLE",
          "WORKSPACE_MEMBER",
          "PROJECT_SETTINGS",
          "UNKNOWN"
        ]
      },
      "AuditChange": {
        "type": "object",
        "description": "One field of a changed object, with its new and previous value.",
        "properties": {
          "name": {
            "type": "string",
            "description": "Name of the field.",
            "example": "name"
          },
          "is_changed": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether the change set the field to a new value; false for the fields a create or delete lists. Null when older entries didn't record it.",
            "example": true
          },
          "value": {
            "description": "Value of the field after the change, as JSON; null when it was null, wasn't recorded or is redacted. Ids are public ids.",
            "example": "Website (EN)",
            "oneOf": [
              {
                "$ref": "#/components/schemas/AuditJsonValue"
              },
              {
                "type": "null"
              }
            ]
          },
          "previous_value": {
            "description": "Value of the field before the change, as JSON; null when it was null, wasn't recorded or is redacted.",
            "example": "Website",
            "oneOf": [
              {
                "$ref": "#/components/schemas/AuditJsonValue"
              },
              {
                "type": "null"
              }
            ]
          },
          "is_redacted": {
            "type": "boolean",
            "description": "Whether the values are hidden because the field is a secret, a URL or otherwise sensitive.",
            "example": false
          }
        },
        "required": [
          "is_changed",
          "is_redacted",
          "name",
          "previous_value",
          "value"
        ]
      },
      "AuditJsonValue": {
        "description": "A recorded value as JSON, of the type the field has: a string, number, boolean, object or array. Ids are public ids, never database ids.",
        "oneOf": [
          {
            "type": "string",
            "maxLength": 65536
          },
          {
            "type": "number"
          },
          {
            "type": "boolean"
          },
          {
            "type": "array",
            "items": {},
            "maxItems": 1000
          },
          {
            "type": "object",
            "additionalProperties": true,
            "maxProperties": 1000
          }
        ]
      },
      "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"
      }
    }
  }
}
````
